From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: file-remote-p and its arguments Date: Thu, 31 Jan 2008 16:49:05 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201794510 15046 80.91.229.12 (31 Jan 2008 15:48:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2008 15:48:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 31 16:48:51 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKbeh-0003so-OK for ged-emacs-devel@m.gmane.org; Thu, 31 Jan 2008 16:48:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKbeG-0001nI-FY for ged-emacs-devel@m.gmane.org; Thu, 31 Jan 2008 10:48:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKbeC-0001mV-DC for emacs-devel@gnu.org; Thu, 31 Jan 2008 10:48:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKbeA-0001li-NW for emacs-devel@gnu.org; Thu, 31 Jan 2008 10:48:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKbeA-0001la-Hd for emacs-devel@gnu.org; Thu, 31 Jan 2008 10:48:14 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKbeA-00081k-9M for emacs-devel@gnu.org; Thu, 31 Jan 2008 10:48:14 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id m0VFmBa4028015; Thu, 31 Jan 2008 16:48:11 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 31 Jan 2008 09:49:09 -0500") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87870 Archived-At: Stefan Monnier writes: >> It's less than an "optimization", it is just a kludge to let grep >> work also on remote hosts. The decision might be to either complete >> the implementation, or to throw away this feature. > > This one I do not understand: using (file-remote-p file) for this > purpose would work just as well as (file-remote-p file 'host), > wouldn't it? Yes (IIRC, code not checked). > Stefan Best regards, Michael.