From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: move-beginning-of-line Date: Tue, 15 Mar 2005 13:38:48 -0500 Message-ID: References: <200503140258.j2E2wbI11194@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110912253 21641 80.91.229.2 (15 Mar 2005 18:44:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2005 18:44:13 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 15 19:44:12 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBGzl-0003Zf-U7 for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 19:42:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBHFh-0004lT-Jf for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 13:58:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DBHCH-0003p3-B6 for emacs-devel@gnu.org; Tue, 15 Mar 2005 13:55:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DBHC5-0003jz-VP for emacs-devel@gnu.org; Tue, 15 Mar 2005 13:55:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBHC5-0003jq-0F for emacs-devel@gnu.org; Tue, 15 Mar 2005 13:55:05 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DBGwM-0007Zg-7P for emacs-devel@gnu.org; Tue, 15 Mar 2005 13:38:50 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DBGwK-0002NV-Fs; Tue, 15 Mar 2005 13:38:48 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Mon, 14 Mar 2005 13:48:13 -0500) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34613 In the M-: and M-x cases, doing the right thing is not nearly as obvious as you'd think because the "command" that does the work is actually the RET which exits from the minibuffer and then runs the actual code, so the "start point" and "end point" of the command are not even in the same buffer, so inferring the direction of the movement is not done correctly. Maybe this can be improved if entering the minibuffer saves the "old position" information and exiting it restores that information. Want to try that?