From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Short explanation for & in key ! of dired Date: Sat, 28 Jun 2008 22:47:45 +0300 Organization: JURTA Message-ID: <873amx8psp.fsf@jurta.org> References: <87hcbkpo0e.fsf@gmail.com> <86y74wzeq1.fsf@lola.quinscape.zz> <874p7ifonh.fsf@jurta.org> <853an2oupp.fsf@lola.goethe.zz> <86skv0s8go.fsf@lola.quinscape.zz> <878wwqwj5v.fsf@jurta.org> <87k5gaz7wm.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214683245 31347 80.91.229.12 (28 Jun 2008 20:00:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2008 20:00:45 +0000 (UTC) Cc: Lynbech Christian , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 28 22:01:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KCgbw-0005E6-5e for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2008 22:01:28 +0200 Original-Received: from localhost ([127.0.0.1]:38693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCgb5-0005Bc-U2 for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2008 16:00:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCgaI-0004l3-Eq for emacs-devel@gnu.org; Sat, 28 Jun 2008 15:59:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCgaG-0004jS-R6 for emacs-devel@gnu.org; Sat, 28 Jun 2008 15:59:45 -0400 Original-Received: from [199.232.76.173] (port=35368 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCgaG-0004jH-Ff for emacs-devel@gnu.org; Sat, 28 Jun 2008 15:59:44 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:61435) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KCga5-0006q8-NL; Sat, 28 Jun 2008 15:59:34 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KCga3-000JCI-1o; Sat, 28 Jun 2008 22:59:31 +0300 In-Reply-To: <87k5gaz7wm.fsf@catnip.gol.com> (Miles Bader's message of "Sat, 28 Jun 2008 10:04:57 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 3140350ce96b4815fe22a3a842dc7b15 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4110 [June 26 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:100098 Archived-At: > Ther could be a variable (e.g. "command-name-default-discard-output") > which controls that behavior, and C-u could invert the sense of that > default. > > When _not_ discarding output, I think in general it should (1) always > make a new buffer (to allow convenient use of multiple simultaneous > background commands), Making a new buffer on every run will quickly overpopulate the buffer list with a lot of buffers with exited processes. Maybe it should check the running process status of the default buffer before creating a new one. So instead of asking a question "A command is running. Kill it? " just silently run the command it a new buffer. And reuse the default buffer when it doesn't run a process. > and (2) maybe bury the buffer at first. > > That might satisfy all the viewpoints expressed thus far > (you: default nil, C-u for occasional gui app, me: default t, C-u for debugging). I agree with the need for a new option and the C-u argument, but with a slightly different meaning. Sometimes I need to inspect the output of misbehaving GUI app and would like to do this without restarting it with C-u. I'd prefer if a new option and C-u defined whether to show or hide the associated process buffer. So when running GUI app with C-u, it could bury the buffer, but when running a command line tool, then show its output like it does now. -- Juri Linkov http://www.jurta.org/emacs/