all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@jidanni.org>
Subject: Re: dired-do-shell-command blocks C-z suspension, switching buffers
Date: Wed, 24 Dec 2003 02:46:48 +0800	[thread overview]
Message-ID: <87r7yvv0br.fsf@jidanni.org> (raw)
In-Reply-To: <E1AYHMN-0005KE-1e@fencepost.gnu.org> (Richard Stallman's message of "Sun, 21 Dec 2003 23:07:59 -0500")

RMS> This command is defined to wait for the shell command to finish.
RMS> You can interrupt it by typing C-g.

Well, we are sort of thrown back to the age of MSDOS single tasking
systems, when we cannot pop in and out of emacs with a ^Z (-nw or
not), without affecting subjobs... and I don't see what is gained this
way, other than code simplicity perhaps.

Hmm, plain old ESC ! (shell-command) acts that way too.

Anyway, let's examine what we might do when the user types
ESC ! sleep 111 RET C-z
1. nothing, not even a message. (current behavior)
2. suspension, just as if when the user had typed sleep 111&
3. suspension, even suspending the sleep job

Anyway, at least there could be some message printed for [1],
especially since you aren't saving our C-z intending to send it to the
stdin of our subjob.

  parent reply	other threads:[~2003-12-23 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 16:35 dired-do-shell-command blocks C-z suspension, switching buffers Dan Jacobson
     [not found] ` <E1AYHMN-0005KE-1e@fencepost.gnu.org>
2003-12-23 18:46   ` Dan Jacobson [this message]
     [not found]   ` <mailman.552.1072236993.868.bug-gnu-emacs@gnu.org>
2003-12-24 17:36     ` Kevin Rodgers
     [not found] <mailman.228.1071707727.868.bug-gnu-emacs@gnu.org>
2003-12-18 16:48 ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=87r7yvv0br.fsf@jidanni.org \
    --to=jidanni@jidanni.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.