From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: comint-accumulate-marker Date: Tue, 18 Apr 2006 15:21:15 -0700 (PDT) Message-ID: <15803.128.165.0.81.1145398875.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1145398905 31401 80.91.229.2 (18 Apr 2006 22:21:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 22:21:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 19 00:21:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FVyZk-0003HX-5O for ged-emacs-devel@m.gmane.org; Wed, 19 Apr 2006 00:21:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVyZj-0003IP-IM for ged-emacs-devel@m.gmane.org; Tue, 18 Apr 2006 18:21:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVyZY-0003I9-6u for emacs-devel@gnu.org; Tue, 18 Apr 2006 18:21:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVyZV-0003Hx-N1 for emacs-devel@gnu.org; Tue, 18 Apr 2006 18:21:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVyZV-0003Hu-Ic for emacs-devel@gnu.org; Tue, 18 Apr 2006 18:21:21 -0400 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FVyaT-0006bW-J6 for emacs-devel@gnu.org; Tue, 18 Apr 2006 18:22:21 -0400 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.12.11.20060308/8.12.11/(ccn-5)) with ESMTP id k3IMLH4P024595 for ; Tue, 18 Apr 2006 16:21:18 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.12.11.20060308/8.12.11/(ccn-5)) with ESMTP id k3IMLFgh001381; Tue, 18 Apr 2006 16:21:15 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id k3IMLF27003955; Tue, 18 Apr 2006 16:21:15 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id k3IMLF15003953; Tue, 18 Apr 2006 15:21:15 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.0.81 (SquirrelMail authenticated user 196434); by webmail.lanl.gov with HTTP; Tue, 18 Apr 2006 15:21:15 -0700 (PDT) In-Reply-To: Original-To: "JD Smith" User-Agent: SquirrelMail/1.4.3a-11.EL3 X-Mailer: SquirrelMail/1.4.3a-11.EL3 X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:53036 Archived-At: > I will install it shortly, but wanted to run one more variant of the > patch by everyone first. This version is permanently enabled. It > also saves input even when you use M-r/M-s, and it binds "C-c C-g" to > a new function `comint-restore-input', so no matter where you are on > the history ring, you can zap back to your stranded partial input > with C-c C-g. Let me know if that's a good binding (and where it > should be documented). This might make this into a "don't install now" new feature, but would it be preferable to treat all lines of the history like the current input? Readline does this, I believe, at least until you finally submit a line (at which point any changes to other lines might be forgotten -- I forget on this part). In other words, typing foo bar red sends `rebar' as a command, and (possibly) replaces `foo' with `food' in the history. This is of course technically orthogonal to the current question, since it's about preserving editing done to history elements rather than to the current input (which is not a history element), but it's much the same to the user. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.