GNU bug report logs - #926
23.0.60; move-end-of-line goes to previous line in outline-mode

Previous Next

Package: emacs;

Reported by: Ari Roponen <ari.roponen <at> gmail.com>

Date: Mon, 8 Sep 2008 06:10:03 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 926 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Ari Roponen <ari.roponen <at> gmail.com>, 926 <at> debbugs.gnu.org
Subject: Re: bug#926: 23.0.60;	move-end-of-line goes to previous line in outline-mode
Date: Thu, 11 Sep 2008 10:54:32 +0200
> 1. emacs -Q
> 2. Evaluate the following code with C-x C-e:
>
>   (progn
>     (pop-to-buffer "*tmp*")
>     (outline-mode)
>     (insert "* 1. section\n"
>   	  "  body text\n"
>   	  "* 2. section\n"
>   	  "  more text\n")
>     (hide-subtree))
>
> 3. Press C-a (move-beginning-of-line) to put the cursor at the
>    beginning of line "* 2. section...".
>
> 4. Here comes the bug. Pressing C-e (move-end-of-line) moves the
>    cursor to the end of previous line ("body text") instead of current
>    line.

This seems related to a recent change in `vertical-motion': If you move
`point' to any place on the "* 2. section..." line but the ellipsis and
do (vertical-motion 1) `point' goes to the end of the buffer.  When
`point' is right on the ellipsis `point' moves to the beginning of the
line.

martin





This bug report was last modified 16 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.