[OS X Emacs] Re: Configure Hard Wrap Option

xahlee at gmail.com xahlee at gmail.com
Wed Mar 18 20:13:51 EDT 2009

Xah wrote:
>> somehow it missed this one. [soft wrap or display margin]

> On Mar 18, 2009 4:20pm, David Reitter <david.reitter at gmail.com> wrote:
>> Somehow, it didn't miss it.

> LOL. Good. (^_^)

wait, i replied too fast.

Aquamacs emacs actually does not support display margin, which i think is  
the original poster wanted.

In aquamacs emacs, if you have a long line say 3000 chars, and you turn on  
“Soft Word Wrap” under “Options”. Then, drag your window to wide, you'll  
see that the line keeps going from left window border to right window  
border. That is, there is no right margin.

longlines-mode, effectively introduces right margin. Buggy and the way its  
done is a hack. Possibly emacs will need to introduce the concept of  
margins in its display system.

I just looked at XCode. Apparently it doesn't have margin neither. I looked  
at Eclisp, apparently no. Nor TextWrangler/BBEdit. I wonder if TextMate  
support it, or MS Visual Studio. (note: all word processors support  
margins. TextEdit also does if you are in rich text mode.)

∑ http://xahlee.org/


On Mar 18, 2009 4:20pm, David Reitter <david.reitter at gmail.com> wrote:
> On Mar 18, 2009, at 5:39 PM, xah lee wrote:

> Try Meta+longlines-mode.

> That gives you soft wrapping. Note: as of now it's kinda buggy. My  
> experiences is that sometimes if you paste something long, it screws up,  
> or if you call some command that transform the selected region.

> Folks, I recommend against the use of longlines-mode for the very reason  
> that it is buggy and ill-designed.

> In a modern Emacs such as Aquamacs (or also in CVS builds of Emacs 23),  
> use the built-in soft-wrapping (available via the Options menu, right at  
> the top).

> I think no softwrap or visual margin is a major usability problem of  
> emacs. I think aquamacs emacs did a great emacs modenization job,

> somehow it missed this one.

> Somehow, it didn't miss it.

> --

> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X

> http://aquamacs.org/donate -- Could we help you? Return the favor and  
> support the Aquamacs Project!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090319/ffc23bf9/attachment.html>

More information about the MacOSX-Emacs mailing list