From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13649: boobytrapped dired-do-async-shell-command question Date: Sun, 10 Feb 2013 12:10:56 +0200 Organization: JURTA Message-ID: <87zjzcmqkb.fsf@mail.jurta.org> References: <871ucsjdl1.fsf@jidanni.org> <87liazyzz6.fsf@mail.jurta.org> <87sj569u4m.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360491182 28906 80.91.229.3 (10 Feb 2013 10:13:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2013 10:13:02 +0000 (UTC) Cc: 13649@debbugs.gnu.org, jidanni@jidanni.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 10 11:13:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4TuU-0003vN-2t for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 11:13:22 +0100 Original-Received: from localhost ([::1]:57195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4TuA-0006Fc-J5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 05:13:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4Tu4-0006F9-6V for bug-gnu-emacs@gnu.org; Sun, 10 Feb 2013 05:13:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4Ttw-0001Wx-SA for bug-gnu-emacs@gnu.org; Sun, 10 Feb 2013 05:12:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4Ttw-0001Wt-OZ for bug-gnu-emacs@gnu.org; Sun, 10 Feb 2013 05:12:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U4TuA-0004Ov-5I for bug-gnu-emacs@gnu.org; Sun, 10 Feb 2013 05:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Feb 2013 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13649 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13649-submit@debbugs.gnu.org id=B13649.136049117516901 (code B ref 13649); Sun, 10 Feb 2013 10:13:02 +0000 Original-Received: (at 13649) by debbugs.gnu.org; 10 Feb 2013 10:12:55 +0000 Original-Received: from localhost ([127.0.0.1]:48095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4Tu3-0004OX-3Z for submit@debbugs.gnu.org; Sun, 10 Feb 2013 05:12:55 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:39681 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4Tu1-0004OP-Nc for 13649@debbugs.gnu.org; Sun, 10 Feb 2013 05:12:54 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id A39EA2019C3011; Sun, 10 Feb 2013 02:12:38 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Fri, 08 Feb 2013 20:47:36 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70992 Archived-At: >> A command is running in the default buffer. What to do? (k/c/r/h) Or rather to model the prompt after `save-some-buffers-action-alist' that asks "Save file? (y, n, !, ., q, C-r, d or C-h)" and ask: A command is running. Kill it? (y, n, c, r, or C-h) where the key `y' would mean to kill the running process, `c' - create a new buffer, `r' - rename the buffer with the running process, and `C-h' - help with the explanation of these options including `C-g': C-g to quit (cancel the whole command); > BTW, one more useful option would be "run it when the current command > finishes". IIUC, this will require adding a queue of postponed commands, and also UI to handle them (e.g. to remove a submitted command from the queue, etc.)