emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-move-visual never set to nil?


From: Lennart Borgman (gmail)
Subject: Re: line-move-visual never set to nil?
Date: Fri, 01 Aug 2008 03:01:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

David De La Harpe Golden wrote:
Lennart Borgman (gmail) wrote:

And if some lines wrap and others do not?

Well, that's why I find logical lines on up/down/C-p/C-n and
visual lines on other keys nicest - you can just choose the appropriate
movement (within keyboard macros or otherwise).

...

(global-set-key [C-p] 'previous-logical-line)
(global-set-key [C-n] 'next-logical-line)
(global-set-key [up] 'previous-logical-line)
(global-set-key [down] 'next-logical-line)
(global-set-key [M-up] 'previous-line)
(global-set-key [M-down] 'next-line)


Maybe that is a good idea, but it still does not help the user that is typing the visual move variants during macro recording.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]