unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: comint-accumulate-marker
Date: Wed, 19 Apr 2006 11:24:27 +1200	[thread overview]
Message-ID: <17477.29995.58613.692001@farnswood.snap.net.nz> (raw)
In-Reply-To: <1145396335.27500.36.camel@turtle.as.arizona.edu>

 > >  > 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.

OK

 > > >                                              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. 

I don't see any harm, you're not forcing me to use it.

Incidentally your patch seems a bit mangled but I'm not sure why diff-mode
gets quite so confused e.g why it doesn't patch comint-restore-input and
comint-delete-input properly.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

  reply	other threads:[~2006-04-18 23:24 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 19:45 comint-accumulate-marker JD Smith
2006-04-16  0:19 ` comint-accumulate-marker Bob Portmann
2006-04-16  2:09 ` comint-accumulate-marker Richard Stallman
2006-04-17 18:06   ` comint-accumulate-marker JD Smith
2006-04-18  9:47     ` comint-accumulate-marker Nick Roberts
2006-04-18 11:25       ` comint-accumulate-marker Stefan Monnier
2006-04-18 20:50         ` comint-accumulate-marker Richard Stallman
2006-04-18 12:57     ` comint-accumulate-marker Richard Stallman
2006-04-18 19:10       ` comint-accumulate-marker JD Smith
2006-04-18 20:54         ` comint-accumulate-marker David Kastrup
2006-04-18 21:06           ` comint-accumulate-marker JD Smith
2006-04-18 23:25             ` comint-accumulate-marker Stuart D. Herring
2006-04-18 21:22         ` comint-accumulate-marker Nick Roberts
2006-04-18 21:38           ` comint-accumulate-marker JD Smith
2006-04-18 23:24             ` Nick Roberts [this message]
     [not found]               ` <1145403002.27500.42.camel@turtle.as.arizona.edu>
2006-04-19  0:01                 ` comint-accumulate-marker Nick Roberts
2006-04-19  0:01                 ` Bug in diff-mode? (was: Re: comint-accumulate-marker) Nick Roberts
2006-04-19 15:40                   ` Richard Stallman
2006-04-19 15:40             ` comint-accumulate-marker Richard Stallman
2006-04-20  7:25             ` comint-accumulate-marker David Kastrup
2006-04-20  7:45               ` comint-accumulate-marker Nick Roberts
2006-04-20 17:29               ` comint-accumulate-marker JD Smith
2006-04-18 22:21         ` comint-accumulate-marker Stuart D. Herring
2006-04-18 22:48           ` comint-accumulate-marker JD Smith
2006-04-18 23:39           ` comint-accumulate-marker Miles Bader
2006-04-19  0:02         ` comint-accumulate-marker JD Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17477.29995.58613.692001@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).