emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (vertical-motion -1) misbehaves in outline-minor-mode


From: Peter Heslin
Subject: Re: (vertical-motion -1) misbehaves in outline-minor-mode
Date: Mon, 25 Oct 2004 00:35:20 +0000 (UTC)
User-agent: slrn/0.9.8.0 (Linux)

On 2004-10-22, Peter Heslin <address@hidden> wrote:
>  On 2004-10-22, Peter Heslin <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]