[OS X Emacs] Re: Aquamacs Cursor movement and word wrapping: C-e, C-a, C-n, C-p

Pete Siemsen siemsen at ucar.edu
Fri Apr 23 18:47:35 EDT 2010


David, the behavior you describe sounds great to me.

-- Pete


On Apr 23, 2010, at 3:30 PM, David Reitter wrote:

> On Apr 23, 2010, at 5:17 PM, Tom Van Vleck wrote:
>> If I now do a C-a, the cursor flies back to before the very first
>> character.  Hah, says I, just what I wanted.  Then I do a C-n.
>> Ack! it goes down one visual line.  C-p goes up one visual line.
>> C-e goes to the end of the whole text.  This is a mixture of
>> the behaviors, which will probably confuse everybody.
> 
> It confuses some: I've heard complaints on aquamacs-devel.
> Hence my question here.
> 
> I'd like for these to be coherent.
> 
> When visual-line-mode is on, they could all move according to visual lines, just like the arrow keys do.
> 
> When visual-line-mode is off, however, then arrow keys would move visually, and C-aenp move non-visually.  This could be configured via the `line-move-visual' variable, which gets a new value (`arrows'), which is default.  Configuring to t or nil does the Emacs-compatible thing.
> 
> Note that visual-line-mode is almost always off (by default) - unless you load a text file that is recognized to use long lines, or create a new text-mode buffer (and word wrapping is turned on there automatically).
> 
> 
> --
> 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!_____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx




More information about the MacOSX-Emacs mailing list