emacs-devel
[Top][All Lists]
Advanced

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

Re: longlines-mode


From: Stefan Monnier
Subject: Re: longlines-mode
Date: Thu, 28 Feb 2008 11:47:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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'.

Could you show us the corresponding code?


        Stefan




reply via email to

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