From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: some dired hints should be background jobs Date: Sun, 2 Mar 2003 18:33:00 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303030033.SAA07827@eel.dms.auburn.edu> References: <200303010341.VAA06801@eel.dms.auburn.edu> <87smu52zeh.fsf@alice.dynodns.net><877kbh9v5q.fsf@alice.dynodns.net> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1046651795 28179 80.91.224.249 (3 Mar 2003 00:36:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2003 00:36:35 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18pdwX-0007KM-00 for ; Mon, 03 Mar 2003 01:36:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18peF9-0004su-00 for ; Mon, 03 Mar 2003 01:55:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18pdwh-0002pA-05 for emacs-devel@quimby.gnus.org; Sun, 02 Mar 2003 19:36:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18pdvn-0002Rz-00 for emacs-devel@gnu.org; Sun, 02 Mar 2003 19:35:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18pdvE-00022M-00 for emacs-devel@gnu.org; Sun, 02 Mar 2003 19:35:13 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18pdsF-0000t3-00; Sun, 02 Mar 2003 19:32:07 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id SAA29609; Sun, 2 Mar 2003 18:32:05 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id SAA07827; Sun, 2 Mar 2003 18:33:00 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: johnw@gnu.org In-reply-to: <877kbh9v5q.fsf@alice.dynodns.net> (message from John Wiegley on Sun, 02 Mar 2003 17:00:01 -0700) Original-cc: jidanni@dman.ddts.net X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12071 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12071 John Wiegley wrote: Yep, that's exactly what I mean. On some Windows shells you can use "start", but not all. In fact, I don't believe there is any common way of backgrounding a job that gets run via shell invocation. This could mean that "&" is just a UNIX(ish) thing. As long as MS Windows would understand the Elisp function `start-process' and would also understand Elisp's process filter and sentinel machinery, the command that I have privately bound to M-RETURN in dired should work on MS windows. (That is, launch an asynchronous process.) Again, I could rewrite that command to be suitable for inclusion in emacs, if there were interest in that. For GNU/Linux and UNIX users the only advantage over "xpdf * &" would be that you only get an Async buffer if there is actual output and that, if so, you can kill that buffer without killing the process. I personally wrote the command because I got fed up with these empty Async buffers popping up, but I do not know whether that necessarily annoys other people as much as it does me. Sincerely, Luc.