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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 926 in the body.
You can then email your comments to 926 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#926; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Ari Roponen <ari.roponen <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: Ari Roponen <ari.roponen <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; move-end-of-line goes to previous line in outline-mode
Date: Mon, 08 Sep 2008 08:55:25 +0300
Hi,

command `move-end-of-line' doesn't work correctly in outline-mode.
Steps to reproduce the bug:

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.

-- 
Ari Roponen




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#926; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#926; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Ari Roponen <ari.roponen <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

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

From: Ari Roponen <ari.roponen <at> gmail.com>
To: 926 <at> debbugs.gnu.org
Subject: Re: bug#926: Acknowledgement (23.0.60; move-end-of-line goes to  previous line in outline-mode)
Date: Thu, 18 Sep 2008 08:03:24 +0300
Hi,

this bug seems to be fixed in current CVS version. Thank you.

-- 
Ari Roponen




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Ari Roponen <ari.roponen <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: 926-done <at> debbugs.gnu.org
Cc: Ari Roponen <ari.roponen <at> gmail.com>
Subject: Re: bug#926: Acknowledgement (23.0.60;	move-end-of-line goes to 
 previous line in outline-mode)
Date: Thu, 18 Sep 2008 08:07:09 +0200
> this bug seems to be fixed in current CVS version. Thank you.

Fixed by

2008-09-17  Chong Yidong  <cyd <at> stupidchicken.com>

	* indent.c (Fvertical_motion): Use position reported by iterator
	instead of PT for determining screen motion (bug#943).

Thank you for the report, martin.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 16 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

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.