emacs-devel
[Top][All Lists]
Advanced

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

Re: vertical-motion bug


From: Richard Stallman
Subject: Re: vertical-motion bug
Date: Sun, 16 Jul 2006 02:25:29 -0400

      M-<
      M-: (insert (propertize "a" 'display "a\nb\nc\n")) RET
      M-<
      C-n (or M-: (vertical-motion 1))

    Result: point moves down three lines.  The expected behavior, based on
    the `vertical-motion' docstring, is to move just one line.

There is no way to move down just one line, since no buffer
position corresponds to that screen position.  Emacs can either
move three lines or not move.  So I think its actual behavior
is the best possible thing it could do.




reply via email to

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