From: martin rudalics <rudalics@gmx.at>
To: Ari Roponen <ari.roponen@gmail.com>, 926@emacsbugs.donarmstrong.com
Subject: 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 [thread overview]
Message-ID: <48C8DCC8.9000809@gmx.at> (raw)
In-Reply-To: <m3bpyz18s2.fsf@gmail.com>
> 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
next prev parent reply other threads:[~2008-09-11 8:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C8DCC8.9000809@gmx.at \
--to=rudalics@gmx.at \
--cc=926@emacsbugs.donarmstrong.com \
--cc=ari.roponen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.