emacs-devel
[Top][All Lists]
Advanced

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

Re: C-n and fields


From: Chong Yidong
Subject: Re: C-n and fields
Date: Mon, 18 Sep 2006 11:50:02 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

> How does line-end-position have an effect on C-n?
> I can't find any calls to it from the line-move code.
> If it does indeed get called, can you tell me how?
>
> I need to see how it gets called, and from where,
> in order to think about what is right to do there.

It's the call to end-of-line in simple.el:3597:

    (let (done)
      (while (and (> arg 0) (not done))
        ;; If the following character is currently invisible,
        ;; skip all characters with that same `invisible' property value.
        (while (and (not (eobp)) (line-move-invisible-p (point)))
          (goto-char (next-char-property-change (point))))
        ;; Now move a line.
        (end-of-line)
        ...




reply via email to

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