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: Make call-process (and start-process?) filename handlers? Date: Tue, 14 Jan 2003 16:42:57 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301142242.QAA06832@eel.dms.auburn.edu> References: <84isxdpyg5.fsf@lucy.cs.uni-dortmund.de> <200301102352.h0ANqoK01404@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042585162 15237 80.91.224.249 (14 Jan 2003 22:59:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2003 22:59:22 +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 18Ya1b-0003x0-00 for ; Tue, 14 Jan 2003 23:59:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Ya9e-0002sy-00 for ; Wed, 15 Jan 2003 00:07:42 +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 18Ya18-0005Xu-00 for emacs-devel@quimby.gnus.org; Tue, 14 Jan 2003 17:58:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18YZwp-0003fL-00 for emacs-devel@gnu.org; Tue, 14 Jan 2003 17:54:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18YZso-00021I-00 for emacs-devel@gnu.org; Tue, 14 Jan 2003 17:50:15 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YZlW-0007pP-00; Tue, 14 Jan 2003 17:42:39 -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 QAA12621; Tue, 14 Jan 2003 16:42:22 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id QAA06832; Tue, 14 Jan 2003 16:42:57 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 14 Jan 2003 13:54:15 -0500) Original-cc: kai.grossjohann@uni-duisburg.de Original-cc: ehud@unix.mvs.co.il Original-cc: schwab@suse.de 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:10734 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10734 Richard Stallman wrote: That could be a good approach, since both options are useful. Unfortunately, shell-command already takes a prefix argument. If I understand the problem correctly, that makes four possibilities: output at point or in a separate buffer, local or remote. That is not a new situation: C-x C-s has a similar four way problem. It would seem consistent to solve the present problem in a way similar to the way the C-x C-s problem was solved: No argument: local, output treated as usual. Prefix argument: local, output at point, just like now, except: 2 C-u's : remote, output as usual 3 C-u's: remote, output at point. This would actually be less complicated than the C-x C-s situation, because C-x C-s also treats an argument of 0 specially. It also has the advantage over, say, treating C-u specially, of not forcing anybody who only uses the local version to change their current habits. Sincerely, Luc.