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: Thu, 09 Apr 2009 14:23:37 -0400 Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> 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 1239302653 4932 80.91.229.12 (9 Apr 2009 18:44:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 18:44:13 +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 Thu Apr 09 20:45:31 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 1LrzFh-0007e7-Qb for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 20:45:30 +0200 Original-Received: from localhost ([127.0.0.1]:49798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrzEJ-0004se-5m for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 14:44:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrzEE-0004sJ-FK for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 14:43:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrzE9-0004rm-Mv for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 14:43:57 -0400 Original-Received: from [199.232.76.173] (port=39684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrzE9-0004rb-BD for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 14:43:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52220) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrzE8-0005uy-Ja for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 14:43:52 -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 n39IhnuX017425; Thu, 9 Apr 2009 11:43:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n39IZ6Ii014293; Thu, 9 Apr 2009 11:35:06 -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: Thu, 09 Apr 2009 18:35:05 +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.123930196413801 (code B ref 1741); Thu, 09 Apr 2009 18:35:05 +0000 Original-Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 18:32:44 +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 n39IWewj013775 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 11:32:42 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcEAP/b3UlMCqib/2dsb2JhbACBUs0og3sGhRI X-IronPort-AV: E=Sophos;i="4.40,161,1238990400"; d="scan'208";a="36839887" Original-Received: from 76-10-168-155.dsl.teksavvy.com (HELO pastel.home) ([76.10.168.155]) by ironport2-out.teksavvy.com with ESMTP; 09 Apr 2009 14:32:34 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4AB2C7FB6; Thu, 9 Apr 2009 14:23:37 -0400 (EDT) In-Reply-To: (Michael Albinus's message of "Thu, 09 Apr 2009 17:06:00 +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: Thu, 09 Apr 2009 14:43:57 -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:27035 Archived-At: >> I'd rather find a more generic fix. E.g. can't you flush the cache when >> handling process-file? > That would be too invasive, I believe. The whole cache would be flushed, > even all data which are not related too. It should be safe to only flush data related to the relevant host. > And there might be the case, that a file is registered in RCS (or > whatever backend is used) outside Emacs. Tramp would still have stale > cache data for "/su:root@localhost:/tmp/RCS/blah,v" then. This is unrelated to RCS, and is indeed a real problem. For that reason I'd expect the cache to be flushed very often, yes. E.g. in post-command-hook. When do you flush it currently? Stefan