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: `kill-line' confused by fields in Shell mode. Date: Sun, 25 Mar 2007 23:52:56 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1174881411 12420 80.91.229.12 (26 Mar 2007 03:56:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 03:56:51 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: "Chris Moore" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 05:56:45 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 1HVgK3-0002Sb-7a for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 05:56:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVgMF-0008Rg-AN for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 22:58:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVgKf-00074N-LO for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:57:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVgKf-00073f-01 for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:57:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVgKe-000735-Pj for emacs-devel@gnu.org; Sun, 25 Mar 2007 22:57:20 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVgIR-0007wm-Sx for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:55:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HVgGO-00073X-NV; Sun, 25 Mar 2007 23:52:56 -0400 In-reply-to: (dooglus@gmail.com) 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:68567 Archived-At: The direct cause of this problem is that yank-excluded-properties includes `field'. But I am not sure what the solution should be. I don't think we should change this now, but it seems clear we need a different mechanism here. What should it be? Date: Thu, 22 Mar 2007 08:49:14 +0100 From: "Chris Moore" To: "Miles Bader" Cc: emacs-pretest-bug@gnu.org Subject: Re: `move-beginning-of-line' doesn't move to beginning of line A similar problem exists with the command kill-line. The documentation tells me: "Kill the rest of the current line" However, in a *shell* buffer, if I: $ echo aa RET $ echo bb RET C-p C-a C-k (go to the line with the 'bb' on it and kill it) C-p C-p C-y (go to the line with the 'aa' on it and yank the 'bb') C-a (go to the start of the line with 'bbaa' on it) C-k (kill the rest of the line with 'bbaa' on it) then only the 'bb' is killed. the 'aa' is on the same line, after the cursor, but it isn't killed. The line looks like a regular 4-character line, the cursor is at the beginning of it, yet C-k only kills half of the line. Maybe it's useful to have an invisible field in the bottom line of a *shell* buffer to allow the prompt to behave differently that the editable command, but once a command has been run these invisible fields don't seem to server any purpose other than to stop regular editing commands from working as documented. Am I missing something? _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug