unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Heslin <usenet@heslin.eclipse.co.uk>
Subject: Re: (vertical-motion -1) misbehaves in outline-minor-mode
Date: Mon, 25 Oct 2004 00:35:20 +0000 (UTC)	[thread overview]
Message-ID: <clhho8$910$1@sea.gmane.org> (raw)
In-Reply-To: clc5e4$s1k$1@sea.gmane.org

On 2004-10-22, Peter Heslin <usenet@heslin.eclipse.co.uk> wrote:
>  On 2004-10-22, Peter Heslin <usenet@heslin.eclipse.co.uk> wrote:
> > ... when viewing the headings of a file in outline-minor-mode after
> >  running hide-body, (vertical-motion -1) puts point at the *end* of
> >  the previous screen line.

I was asked to provide an exact recipe for reproducing the bug, so
here it is:

In a freshly checked out CVS emacs -q, do M-x load-library RET simple
RET.  After you see simple.el, do M-x outline-minor-mode RET and then
M-x hide-body RET.  Now do M-: (vertical-motion 1) RET a few times,
and observe how the cursor moves down one line each time, and point is
positioned at the start of the next line each time.  Now try M-:
(vertical-motion -1) RET a few times, and see how the cursor moves
back up one line, and each time, contrary to the documentation, the
cursor is put at the end of the previous line.

Point is normally put at the start of the line by vertical-motion,
both moving up and moving down.

Peter

      reply	other threads:[~2004-10-25  0:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 22:44 (vertical-motion -1) misbehaves in outline-minor-mode Peter Heslin
2004-10-22 23:34 ` Peter Heslin
2004-10-25  0:35   ` Peter Heslin [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='clhho8$910$1@sea.gmane.org' \
    --to=usenet@heslin.eclipse.co.uk \
    /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 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).