From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Make call-process (and start-process?) filename handlers? Date: Sat, 11 Jan 2003 22:33:56 +0100 Organization: University of Dortmund, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <844r8fmkvv.fsf@lucy.cs.uni-dortmund.de> References: <84isxdpyg5.fsf@lucy.cs.uni-dortmund.de> <200301102352.h0ANqoK01404@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042320907 24596 80.91.224.249 (11 Jan 2003 21:35:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2003 21:35:07 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18XTHV-0006OF-00 for ; Sat, 11 Jan 2003 22:35:05 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18XTOB-0000XW-00 for ; Sat, 11 Jan 2003 22:41:59 +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 18XTI4-0002nw-03 for emacs-devel@quimby.gnus.org; Sat, 11 Jan 2003 16:35:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18XTHQ-0002hy-00 for emacs-devel@gnu.org; Sat, 11 Jan 2003 16:35:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18XTHG-0002Ou-00 for emacs-devel@gnu.org; Sat, 11 Jan 2003 16:34:51 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18XTGt-0001xt-00 for emacs-devel@gnu.org; Sat, 11 Jan 2003 16:34:27 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18XTFi-0006J3-00 for ; Sat, 11 Jan 2003 22:33:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18XTFg-0006Iu-00 for ; Sat, 11 Jan 2003 22:33:12 +0100 Original-Path: not-for-mail Original-Lines: 20 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:6hb8rw0A3Hm9wlumKfsD4+X3Cs0= 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:10668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10668 "Stefan Monnier" writes: > That will make M-x compile, VC, M-x gdb, and much more behave correctly > on remote files. Richard, do you think it would be useful for me to go through the Emacs sources to see where call-process is called and to figure out whether that call breaks if done remotely? I'm not as sure as Stefan that just changing call-process *will* make all these commands grok remote files. But there is a pretty good chance that they do, and I guess it would be easy enough to fix them. But in the end, it's not a big problem: just implement another function that's just like call-process, except that it invokes a filename handler based on default-directory. And then, various pieces of Lisp can be converted from the existing call-process to the new function ;-) -- Ambibibentists unite!