Subject: bug#926 closed by martin rudalics <[email-masked]> (Re: bug#926: Acknowledgement (23.0.60; move-end-of-line goes to previous line in outline-mode))

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#926: 23.0.60; move-end-of-line goes to previous line in outline-mode

It has been closed by martin rudalics <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact martin rudalics <[email-masked]> by
replying to this email.

-- 
926: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=926
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Wed Sep 17 23:09:57 2008
Date: Thu, 18 Sep 2008 08:07:09 +0200
From: martin rudalics <[email-masked]>
To: [email-masked]
CC: Ari Roponen <[email-masked]>
Subject: Re: bug#926: Acknowledgement (23.0.60;	move-end-of-line goes to 
 previous line in outline-mode)

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

Fixed by

2008-09-17  Chong Yidong  <[email-masked]>

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

Thank you for the report, martin.

>From [email-masked] Sun Sep  7 23:00:07 2008
Date: Mon, 08 Sep 2008 08:55:25 +0300
From: Ari Roponen <[email-masked]>
To: [email-masked]
Subject: 23.0.60; move-end-of-line goes to previous line in outline-mode

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