unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#926: 23.0.60; move-end-of-line goes to previous line in outline-mode
@ 2008-09-08  5:55 ` Ari Roponen
  2008-09-11  8:54   ` martin rudalics
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ari Roponen @ 2008-09-08  5:55 UTC (permalink / raw)
  To: emacs-pretest-bug


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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#926: 23.0.60; move-end-of-line goes to previous line in outline-mode
  2008-09-08  5:55 ` bug#926: 23.0.60; move-end-of-line goes to previous line in outline-mode Ari Roponen
@ 2008-09-11  8:54   ` martin rudalics
       [not found]   ` <handler.926.B.12208536072630.ack@emacsbugs.donarmstrong.com>
  2008-09-18  6:15   ` bug#926: marked as done " Emacs bug Tracking System
  2 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2008-09-11  8:54 UTC (permalink / raw)
  To: Ari Roponen, 926

 > 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







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#926: Acknowledgement (23.0.60; move-end-of-line goes to  previous line in outline-mode)
       [not found]   ` <handler.926.B.12208536072630.ack@emacsbugs.donarmstrong.com>
@ 2008-09-18  5:03     ` Ari Roponen
  0 siblings, 0 replies; 4+ messages in thread
From: Ari Roponen @ 2008-09-18  5:03 UTC (permalink / raw)
  To: 926

Hi,

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

-- 
Ari Roponen






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#926: marked as done (23.0.60; move-end-of-line goes to  previous line in outline-mode)
  2008-09-08  5:55 ` bug#926: 23.0.60; move-end-of-line goes to previous line in outline-mode Ari Roponen
  2008-09-11  8:54   ` martin rudalics
       [not found]   ` <handler.926.B.12208536072630.ack@emacsbugs.donarmstrong.com>
@ 2008-09-18  6:15   ` Emacs bug Tracking System
  2 siblings, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2008-09-18  6:15 UTC (permalink / raw)
  To: martin rudalics

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]


Your message dated Thu, 18 Sep 2008 08:07:09 +0200
with message-id <48D1F00D.9000508@gmx.at>
and subject line Re: bug#926: Acknowledgement (23.0.60;	move-end-of-line goes to  previous line in outline-mode)
has caused the Emacs bug report #926,
regarding 23.0.60; move-end-of-line goes to previous line in outline-mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
926: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=926
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3346 bytes --]

From: Ari Roponen <ari.roponen@gmail.com>
To: emacs-pretest-bug@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
Message-ID: <m3bpyz18s2.fsf@gmail.com>


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



[-- Attachment #3: Type: message/rfc822, Size: 1815 bytes --]

From: martin rudalics <rudalics@gmx.at>
To: 926-done@emacsbugs.donarmstrong.com
Cc: Ari Roponen <ari.roponen@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
Message-ID: <48D1F00D.9000508@gmx.at>

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

Fixed by

2008-09-17  Chong Yidong  <cyd@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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-18  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48D1F00D.9000508@gmx.at>
2008-09-08  5:55 ` bug#926: 23.0.60; move-end-of-line goes to previous line in outline-mode Ari Roponen
2008-09-11  8:54   ` martin rudalics
     [not found]   ` <handler.926.B.12208536072630.ack@emacsbugs.donarmstrong.com>
2008-09-18  5:03     ` bug#926: Acknowledgement (23.0.60; move-end-of-line goes to previous line in outline-mode) Ari Roponen
2008-09-18  6:15   ` bug#926: marked as done " Emacs bug Tracking System

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).