From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: comint-accumulate-marker Date: Tue, 18 Apr 2006 14:38:55 -0700 Message-ID: <1145396335.27500.36.camel@turtle.as.arizona.edu> References: <17477.22692.214810.459362@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145396376 23102 80.91.229.2 (18 Apr 2006 21:39:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 21:39:36 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 18 23:39:34 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 1FVxuw-0004aV-Lf for ged-emacs-devel@m.gmane.org; Tue, 18 Apr 2006 23:39:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVxuw-0002ow-1v for ged-emacs-devel@m.gmane.org; Tue, 18 Apr 2006 17:39:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVxuk-0002o6-BA for emacs-devel@gnu.org; Tue, 18 Apr 2006 17:39:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVxui-0002ni-EW for emacs-devel@gnu.org; Tue, 18 Apr 2006 17:39:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVxui-0002nf-B9 for emacs-devel@gnu.org; Tue, 18 Apr 2006 17:39:12 -0400 Original-Received: from [128.196.210.37] (helo=nsa.as.arizona.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FVxve-0003fh-PC; Tue, 18 Apr 2006 17:40:11 -0400 Original-Received: from biff.as.arizona.edu (biff.as.arizona.edu [128.196.211.142]) by nsa.as.arizona.edu (8.13.6/8.13.6) with ESMTP id k3ILcpLB009142; Tue, 18 Apr 2006 14:38:52 -0700 Original-Received: from turtle.as.arizona.edu (turtle.as.arizona.edu [128.196.208.207]) by biff.as.arizona.edu (8.12.8/8.12.8) with ESMTP id k3ILcpov007623; Tue, 18 Apr 2006 14:38:51 -0700 Original-To: Nick Roberts In-Reply-To: <17477.22692.214810.459362@farnswood.snap.net.nz> X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) X-Scanned-By: MIMEDefang 2.42 X-so-MailScanner-Information: Please contact the ISP for more information X-so-MailScanner: Found to be clean X-so-MailScanner-SpamCheck: so1: not spam, SpamAssassin (score=-1.33, required 7.9, autolearn=disabled, ALL_TRUSTED -1.44, AWL 0.11) X-so-MailScanner-From: jdsmith@as.arizona.edu 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:53033 Archived-At: On Wed, 2006-04-19 at 09:22 +1200, Nick Roberts wrote: > > 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, > > The previous patch seems to do that already. Formerly only M-p, and M-n worked. M-r/M-s could *appear* to work if you had already used M-p to save some partial input, but it wasn't current. > > 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). > > I'm not sure that I would use/remember it. It can't be on "C-c C-g" > anyway because "C-g" is used to quit a command. If it is installed, I > guess it should be described in the node "Shell Ring". C-c C-j, then? Can you see any harm in having such a binding? In the terminal shell, since input is not a ring but a stack, you can just hold down the arrow and get all the way back to your stranded input in a hurry. This doesn't work for a ring of history like comint's. JD