help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: line-move-visual?


From: Giorgos Keramidas
Subject: Re: line-move-visual?
Date: Thu, 23 Oct 2008 05:58:53 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

On Wed, 22 Oct 2008 14:12:34 -0700 (PDT), Xah <xahlee@gmail.com> wrote:
> On Oct 22, 1:24 pm, Leo <sdl....@gmail.com> wrote:
>> Hi there,
>>
>> It looks the change that C-n and C-p now move by screen lines are pretty
>> big. Any idea why this has been set as default? What's the user case for
>> this?
>
> Do you mean to say that in the dev version of emacs, now up/down arrow
> key moves the cursor by a screen line instead of moving by EOL char?

Yes.

The documentation of `next-line' function now says:

    If the variable `line-move-visual' is non-nil, this command moves
    by display lines.  Otherwise, it moves by buffer lines, without
    taking variable-width characters or continued lines into account.

> btw, what's the behavior of kill-line? Does it do screen line or EOL
> line?

It kills ``buffer lines''.  To kill a single display line one can move
the point to the start of that line with the arrows, select the display
line with `S-<down>' or `C-SPC S-C-n' and kill the display line with
`C-w' as usual.



reply via email to

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