emacs-devel
[Top][All Lists]
Advanced

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

vertical-motion fails on lines with a wrapped ellipsis


From: Stefan Monnier
Subject: vertical-motion fails on lines with a wrapped ellipsis
Date: Wed, 20 Oct 2004 10:17:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

       % emacs -Q lisp/subr.el
       M-x outline-minor-mode RET
       C-s macro-declaration-function RET
       M-x hide-subtree RET
       Narrow the frame such that the first 2 . of the ellipsis are one line
       and last . is wrapped onto another line
       C-n
       C-n
       C-n

After the first C-n point is at the end of the hidden area.

2 bugs:

1 - cursor is not drawn.
2 - the second (and subsequent) C-n does not move point

The problem number 2 is due to the fact that when line-move calls
(vertical-motion 1), point is not moved.


        Stefan


PS: Funnily enough, if only the first . of the ellipsis is on one line and
the last two . are on the next, the second bug doesn't show up.  The first
still appears (tho you have to move into the ellipsis with C-f rather than
with C-n, of course).


        Stefan




reply via email to

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