[ESS] Best way to wrap lines in polymode

Vitalie Spinu spinuvit at gmail.com
Fri Apr 4 20:19:25 CEST 2014


What Chris said is precisely correct. Visual wrapping is buffer's low
level state and it's not a polymode specific limitation. What you want
won't be possible unless visual line mode is modified to work on per
region basis.

   Vitalie

 >>> chris warth on Fri, 4 Apr 2014 09:15:01 -0700 wrote:

 > I'm sure I'll be corrected if wrong, but I don't think that's going to be
 > possible.   There was an earlier thread discussing the fact that Polymode
 > uses indirect buffers to maintain the effect of multiple simultaneous modes
 > in one file.   If one of those modes wraps and another does not you get a
 > chaotic display.  As you've probably seen, moving the insertion point from
 > the keyboard results in a tremendous amount of jumping as lines wrap and
 > unwrap as the insertion point moves one region to the next.   In order to
 > not have an annoying display I had to make sure that font faces and that
 > line wrapping was identical in all modes.

 > On Fri, Apr 4, 2014 at 8:43 AM, Franois Michonneau <
 > francois.michonneau at gmail.com> wrote:

 >> Hello all,
 >> 
 >> What is the preferred way of having only the text portions of, let's say
 >> a Rmd file, wrap at 80 characters?
 >> 
 >> Thanks,
 >> -- Franois
 >> 
 >> [[alternative HTML version deleted]]
 >> 
 >> 
 >> ______________________________________________
 >> ESS-help at r-project.org mailing list
 >> https://stat.ethz.ch/mailman/listinfo/ess-help>
 >> 

 > 	[[alternative HTML version deleted]]


 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list