From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Heslin Newsgroups: gmane.emacs.devel Subject: Re: (vertical-motion -1) misbehaves in outline-minor-mode Date: Mon, 25 Oct 2004 00:35:20 +0000 (UTC) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098664544 10203 80.91.229.6 (25 Oct 2004 00:35:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 00:35:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 02:35:39 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLspm-0006Bq-00 for ; Mon, 25 Oct 2004 02:35:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLsxO-00062Q-LO for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 20:43:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLsxG-00062L-DH for emacs-devel@gnu.org; Sun, 24 Oct 2004 20:43:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLsxF-000629-VR for emacs-devel@gnu.org; Sun, 24 Oct 2004 20:43:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLsxF-000626-RU for emacs-devel@gnu.org; Sun, 24 Oct 2004 20:43:21 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLspY-0000i9-CP for emacs-devel@gnu.org; Sun, 24 Oct 2004 20:35:24 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CLspX-00079q-00 for ; Mon, 25 Oct 2004 02:35:23 +0200 Original-Received: from 213-152-32-235.dsl.eclipse.net.uk ([213.152.32.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2004 02:35:23 +0200 Original-Received: from usenet by 213-152-32-235.dsl.eclipse.net.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2004 02:35:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-152-32-235.dsl.eclipse.net.uk User-Agent: slrn/0.9.8.0 (Linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28871 On 2004-10-22, Peter Heslin wrote: > On 2004-10-22, Peter Heslin 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