From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.devel Subject: Re: Make call-process (and start-process?) filename handlers? Date: Mon, 13 Jan 2003 13:41:53 +0200 Organization: Mivtach-Simon Insurance agencies Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301131141.h0DBfrPd021564@beta.mvs.co.il> References: <84isxdpyg5.fsf@lucy.cs.uni-dortmund.de> <200301102352.h0ANqoK01404@rum.cs.yale.edu> Reply-To: ehud@unix.mvs.co.il NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042459229 31560 80.91.224.249 (13 Jan 2003 12:00:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 12:00:29 +0000 (UTC) Cc: kai.grossjohann@uni-duisburg.de Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Y3GV-0008Cs-00 for ; Mon, 13 Jan 2003 13:00:27 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Y3Nx-0007Pv-00 for ; Mon, 13 Jan 2003 13:08:09 +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 18Y33J-0000KD-00 for emacs-devel@quimby.gnus.org; Mon, 13 Jan 2003 06:46:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Y303-0007gv-00 for emacs-devel@gnu.org; Mon, 13 Jan 2003 06:43:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Y2zg-0007CB-00 for emacs-devel@gnu.org; Mon, 13 Jan 2003 06:43:07 -0500 Original-Received: from unix.sw.co.il ([192.114.178.12] helo=unix.mvs.co.il) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Y2yt-00068x-00 for emacs-devel@gnu.org; Mon, 13 Jan 2003 06:42:16 -0500 Original-Received: from beta.mvs.co.il (beta [10.253.0.3]) by unix.mvs.co.il (8.11.6/8.11.6) with ESMTP id h0DBfuh03142; Mon, 13 Jan 2003 13:41:56 +0200 Original-Received: from beta.mvs.co.il (localhost [127.0.0.1]) by beta.mvs.co.il (8.12.5/8.12.5) with ESMTP id h0DBfsed021570; Mon, 13 Jan 2003 13:41:55 +0200 Original-Received: (from ehud@localhost) by beta.mvs.co.il (8.12.5/8.12.5/Submit) id h0DBfrPd021564; Mon, 13 Jan 2003 13:41:53 +0200 X-Authentication-Warning: beta.mvs.co.il: ehud set sender to ehud@unix.mvs.co.il using -f Original-To: schwab@suse.de In-reply-to: (message from Andreas Schwab on Mon, 13 Jan 2003 11:21:58 +0100) X-Mailer: Emacs 21.2.91.3 rmail (send-msg 1.107) 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:10706 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10706 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 13 Jan 2003 11:21:58 +0100, Andreas Schwab wrote: > > |> > I'm concerned about shell-command, because it looks like this will > |> > make all shell commands execute remotely when you are visiting a > |> > remote file. That is not natural, and not necessarily correct; it > |> > could cause a painful surprise. It might be ok as a special exception > |> > feature, if it were documented as one. Currently it isn't. > |> > |> Stefan and me have precisely the opposite opinion: we find it natural > |> to execute the program on the remote host, and unnatural to do it > |> locally. > > It depends, I'd say. If you just want to do a quick shell command, you > probably want to execute it locally. But if you run the shell command on > the file associated with the buffer it is surely natural to run it on the > same host where the file resides. IMHO in most cases you want to run it > locally, and running remotely should be a special case. I had this problem with my enhancement to compilations (calling `compile-internal'). I solved it by letting the user use the prefix argument (\C-u) to specify a remote compilation. Ehud. - -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud@unix.mvs.co.il Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQE+IqYBLFvTvpjqOY0RAvqRAJ9kBEfpdRwbtpWtRzlP7VldCGy4NwCeI9/u hHoquRhjVQZL25SBAO5Y+zE= =Hn61 -----END PGP SIGNATURE-----