* vertical-motion fails on lines with a wrapped ellipsis
@ 2004-10-20 14:17 Stefan Monnier
2005-01-01 5:25 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2004-10-20 14:17 UTC (permalink / raw)
% 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: vertical-motion fails on lines with a wrapped ellipsis
2004-10-20 14:17 vertical-motion fails on lines with a wrapped ellipsis Stefan Monnier
@ 2005-01-01 5:25 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2005-01-01 5:25 UTC (permalink / raw)
Cc: emacs-devel
% 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
I think I have fixed both of these bugs. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-01 5:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-20 14:17 vertical-motion fails on lines with a wrapped ellipsis Stefan Monnier
2005-01-01 5:25 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).