emacs-devel
[Top][All Lists]
Advanced

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

Re: longlines-mode


From: Miles Bader
Subject: Re: longlines-mode
Date: Thu, 28 Feb 2008 17:01:24 +0900

David Reitter <address@hidden> writes:
>> In particular, there are many issues associated with _editing_
>> display-wrapped code -- common Emacs' commands will often do the wrong
>> thing (most obviously C-a, C-n, and other line-movement commands).
>
> We have been using different code for these that does the right
> thing. This was necessary primarily because of variable width
> fonts. <down>  is bound to `visual-line-down', which moves the point to
> the next  visual line and to the column that is closest on the screen
> (pixel  wise), minimizing horizontal offset (in pixels). Other functions
> provided are `beginning-of-visual-line', `end-of-visual-line', `kill- 
> visual-line', `kill-whole-visual-line'.

Of course the question is whether simple rebinding of common user
command is enough; obviously any _other_ function which attempts to do
line-oriented manipulation may act "weird" as a result.

-Miles

-- 
Bore, n. A person who talks when you wish him to listen.




reply via email to

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