From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs 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 Message-ID: <48C8DCC8.9000809@gmx.at> References: Reply-To: martin rudalics , 926@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221124132 30036 80.91.229.12 (11 Sep 2008 09:08:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 09:08:52 +0000 (UTC) To: Ari Roponen , 926@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 11:09:48 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdiAt-0005d2-Nu for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 11:09:16 +0200 Original-Received: from localhost ([127.0.0.1]:50826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kdi9t-0006RH-HE for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 05:08:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kdi9U-0006FG-Gc for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 05:07:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kdi9Q-0006Az-RJ for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 05:07:46 -0400 Original-Received: from [199.232.76.173] (port=52713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kdi9Q-0006Aa-5x for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 05:07:44 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53945) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kdi9J-0004t9-P4 for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 05:07:38 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B97XHV017936; Thu, 11 Sep 2008 02:07:35 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8B9576n016598; Thu, 11 Sep 2008 02:05:07 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 11 Sep 2008 09:05:07 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 926 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 926-submit@emacsbugs.donarmstrong.com id=B926.122112351313759 (code B ref 926); Thu, 11 Sep 2008 09:05:07 +0000 Original-Received: (at 926) by emacsbugs.donarmstrong.com; 11 Sep 2008 08:58:33 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8B8wMqX013711 for <926@emacsbugs.donarmstrong.com>; Thu, 11 Sep 2008 01:58:23 -0700 Original-Received: (qmail invoked by alias); 11 Sep 2008 08:58:16 -0000 Original-Received: from 62-47-61-65.adsl.highway.telekom.at (EHLO [62.47.61.65]) [62.47.61.65] by mail.gmx.net (mp012) with SMTP; 11 Sep 2008 10:58:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/Ymv8Ppz/Y2sr8jnPcoWxk16GWajXqbmQWOy6J1z xQjZEaIY7bcp7H User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 11 Sep 2008 05:07:46 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20472 Archived-At: > 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