From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: move-end-of-line in comint buffers Date: Tue, 27 Feb 2007 11:43:12 -0500 Message-ID: <87bqjfzh3z.fsf@stupidchicken.com> References: <87ejol4c57.fsf@cs.cmu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172594637 31685 80.91.229.12 (27 Feb 2007 16:43:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 16:43:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 27 17:43:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HM5Qc-0007RF-1J for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 17:43:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM5QW-0004aN-GY for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 11:43:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HM5QK-0004a8-N5 for emacs-devel@gnu.org; Tue, 27 Feb 2007 11:43:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HM5QI-0004Zt-C2 for emacs-devel@gnu.org; Tue, 27 Feb 2007 11:43:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM5QI-0004Zq-4z for emacs-devel@gnu.org; Tue, 27 Feb 2007 11:43:30 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HM5QH-0000LB-Ks for emacs-devel@gnu.org; Tue, 27 Feb 2007 11:43:29 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HM5QD-0001qm-H1 for emacs-devel@gnu.org; Tue, 27 Feb 2007 17:43:25 +0100 Original-Received: from 18.19.7.246 ([18.19.7.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Feb 2007 17:43:25 +0100 Original-Received: from cyd by 18.19.7.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Feb 2007 17:43:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 18.19.7.246 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) Cancel-Lock: sha1:1TIEvRRTnsX7RVQrcLvmgFBzmOE= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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 Xref: news.gmane.org gmane.emacs.devel:66929 Archived-At: Richard Stallman writes: > 1) Type `M-x shell RET' > > 2) Type in a command (or any random junk) that wraps to the next > visible line > > 3) Type `C-p'. The point should now be at the beginning of the > prompt. > > 4) Type `C-e'. The point is now at the end of the prompt / beginning > of the command. > > 5) Type `C-e'. The point is now at the end of the visible line. > > 6) Type `C-e'. The point is now at the end of the actual line. > > > Behavior (5) above is unexpected. > > It seems like a bug to me. C-e is not supposed to stop at the end > of the screen line. > > Would someone please fix this, then ack? This is a result of the fact that point started out from inside a different field. The current behavior is prevents point from getting stuck in some fairly complicated circumstances, and it will be difficult to fix it for this case without causing subtle bugs. I think we should leave it till after the release.