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: process-file and Tramp's file cache Date: Tue, 18 Aug 2009 16:54:42 +0200 Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250607314 4261 80.91.229.12 (18 Aug 2009 14:55:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2009 14:55:14 +0000 (UTC) Cc: Julian Scheid , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 18 16:55:07 2009 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 1MdQ5X-0002B6-Vx for ged-emacs-devel@m.gmane.org; Tue, 18 Aug 2009 16:55:04 +0200 Original-Received: from localhost ([127.0.0.1]:41338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdQ5X-0007bV-4Y for ged-emacs-devel@m.gmane.org; Tue, 18 Aug 2009 10:55:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdQ5S-0007aq-2g for emacs-devel@gnu.org; Tue, 18 Aug 2009 10:54:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdQ5N-0007Zw-By for emacs-devel@gnu.org; Tue, 18 Aug 2009 10:54:57 -0400 Original-Received: from [199.232.76.173] (port=33750 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdQ5N-0007Zt-8E for emacs-devel@gnu.org; Tue, 18 Aug 2009 10:54:53 -0400 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:54465) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdQ5M-0006qa-NA for emacs-devel@gnu.org; Tue, 18 Aug 2009 10:54:53 -0400 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7IEsiPs027470; Tue, 18 Aug 2009 16:54:44 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7IEshY4001296; Tue, 18 Aug 2009 16:54:44 +0200 (MEST) In-Reply-To: (Stefan Monnier's message of "Tue, 18 Aug 2009 16:32:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Alcanet-virus-scanned: n7IEshY4001296 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) 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:114368 Archived-At: Stefan Monnier writes: > How 'bout changing Tramp's process-file to compare the command (and > args) against a list of "known pure commands"? This would keep it all > inside Tramp, which I think I like better (tho I also agree that this > information is not fundamentally specific to Tramp, although currently > Tramp is the only package able to make use of it). That is also Julian's proposal. I dislike it, because there might be many packages Tramp has never heard about. And even for the packages contained in core Emacs, it will be an endless story: think about all the vc-BACKEND calls of list whatever. The charme is also, that packages can precisely say, which file has been changed. Tramp could only guess `t' or `nil'. Parsing `args' of `process-file' might also not a good idea, I believe. You cannot not know for sure, what is a filename, and what is something else. > Stefan Best regards, Michael.