unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: jidanni@ms46.hinet.net, emacs-devel@gnu.org
Subject: Re: comint-interrupt-subjob also kills pending input
Date: 17 Jun 2002 11:21:03 +0900	[thread overview]
Message-ID: <buoptyqk5m8.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <200206141547.g5EFlZf08916@aztec.santafe.edu>

Richard Stallman <rms@gnu.org> writes:
> However, perhaps it would be better to treat that text as a previous
> input.  It has never been sent to the shell, and should not be, but it
> could be treated as if it had been.
> 
> Please try these two replacement functions.

I find that it's almost _always_ the case that when I interrupt a
process in shell-mode, and have pending input, that I want the input to
remain pending (so with the previous comint behavior, I'd almost always
immediately hit C-y).

With your change it becomes much more difficult to do that.

Instead of replacing `comint-kill-input' with `comint-skip-input', why
not just have nothing?  Then the input will remain pending; sometimes
people won't want that, but it's easy to remove with C-k or something
(and that would be a lot more obvious that the previous situation where
the input ended up in the kill-ring).

-Miles

-- 
`Cars give people wonderful freedom and increase their opportunities.
 But they also destroy the environment, to an extent so drastic that
 they kill all social life' (from _A Pattern Language_)

  reply	other threads:[~2002-06-17  2:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2sn3qnaa2.fsf@jidanni.org>
2002-06-14 15:47 ` comint-interrupt-subjob also kills pending input Richard Stallman
2002-06-17  2:21   ` Miles Bader [this message]
2002-06-18  8:10     ` Richard Stallman
2002-06-18 14:55       ` Stefan Monnier
2002-06-19  1:32       ` Miles Bader
2002-06-20 14:34         ` Richard Stallman
2002-06-20 20:02           ` Miles Bader
2002-06-22 22:52             ` Richard Stallman
2002-06-23  0:12               ` Miles Bader
2002-06-24  9:33                 ` Richard Stallman

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=buoptyqk5m8.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=jidanni@ms46.hinet.net \
    --cc=miles@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).