From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Make call-process (and start-process?) filename handlers? Date: Fri, 10 Jan 2003 18:52:50 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301102352.h0ANqoK01404@rum.cs.yale.edu> References: <84isxdpyg5.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042242998 10015 80.91.224.249 (10 Jan 2003 23:56:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 23:56:38 +0000 (UTC) Cc: Kai =?iso-8859-1?q?Gro=DFjohann?= Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18X90u-0002bG-00 for ; Sat, 11 Jan 2003 00:56:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18X979-0005D5-00 for ; Sat, 11 Jan 2003 01:03:03 +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 18X8zZ-00032P-01 for emacs-devel@quimby.gnus.org; Fri, 10 Jan 2003 18:55:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18X8yP-0002KC-00 for emacs-devel@gnu.org; Fri, 10 Jan 2003 18:54:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18X8xy-0001FV-00 for emacs-devel@gnu.org; Fri, 10 Jan 2003 18:53:37 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18X8xH-0008U4-00; Fri, 10 Jan 2003 18:52:51 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id h0ANqoK01404; Fri, 10 Jan 2003 18:52:50 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Original-cc: emacs-devel@gnu.org 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:10639 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10639 > I think it would be good to change call-process to check for a > filename handler, based on the value of default-directory. > > It doesn't make sense to run any particular handler for call-process > generally. What you would want the handler to do, and whether it > makes sense to run one, is specific to a particular program. So this > change is the wrong way to solve the problem. We've gone through that already. The `shell-command' precedent as well as the `dired-call-process' precedent show that there is something to say for `call-process' (and by extension `start-process') to call a file-name-handler depending on default-directory. That will make M-x compile, VC, M-x gdb, and much more behave correctly on remote files. Stefan