From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Date: Mon, 13 Apr 2009 08:24:43 -0400 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> Reply-To: Stefan Monnier , 1741@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239626672 10822 80.91.229.12 (13 Apr 2009 12:44:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Apr 2009 12:44:32 +0000 (UTC) Cc: 1741@emacsbugs.donarmstrong.com, Dan Nicolaescu To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 13 14:45:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtLXk-0000pu-EX for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2009 14:45:45 +0200 Original-Received: from localhost ([127.0.0.1]:36113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtLWL-0005qO-TC for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2009 08:44:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtLW4-0005aq-7L for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 08:44:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtLVz-0005UX-Bl for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 08:43:59 -0400 Original-Received: from [199.232.76.173] (port=55256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtLVz-0005U5-4f for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 08:43:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59064) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtLVx-0005FE-T8 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2009 08:43:54 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3DCho1N012003; Mon, 13 Apr 2009 05:43:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3DCU3dF008289; Mon, 13 Apr 2009 05:30:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Mon, 13 Apr 2009 12:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1741 X-Emacs-PR-Package: emacs,vc X-Emacs-PR-Keywords: Original-Received: via spool by 1741-submit@emacsbugs.donarmstrong.com id=B1741.12396254926950 (code B ref 1741); Mon, 13 Apr 2009 12:30:03 +0000 Original-Received: (at 1741) by emacsbugs.donarmstrong.com; 13 Apr 2009 12:24:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3DCOnWG006943 for <1741@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 05:24:50 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFAE3L4klLd+7D/2dsb2JhbACBUshhg3wGhRY X-IronPort-AV: E=Sophos;i="4.40,179,1238990400"; d="scan'208";a="36943846" Original-Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 13 Apr 2009 08:24:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7E7CE7FE7; Mon, 13 Apr 2009 08:24:43 -0400 (EDT) In-Reply-To: <87prfgzys9.fsf@gmx.de> (Michael Albinus's message of "Mon, 13 Apr 2009 11:30:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 13 Apr 2009 08:43:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27128 Archived-At: >> AFAIK the main benefit of the cache is to bundle up all the redundant >> `file-attibutes' calls that take place during something like >> `find-file-noselect'. Such optimizations won't be affected by the >> cache-flush. So I expect that the cache-flush I suggest won't cause >> a performance problem. > Not only `file-attributes'; it is useful for other often-called > primitives like `file-exists-p' as well. Yes, of course. I'd expect `file-exists-p' to return data from the cache after a call to `file-attributes', tho. Have you actually tried such flushing? > Do you agree? And if yes, what shall be the values of such an option? > Simple "yes/no", or more granular, like the ttl proposal I have done? As explained, I'd just start with the simplest possible solution because I expect it will be sufficient. Stefan