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 10:38:13 -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 1239289612 24915 80.91.229.12 (9 Apr 2009 15:06:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 15:06:52 +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 17:08:10 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 1Lrvqt-00025M-UZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 17:07:40 +0200 Original-Received: from localhost ([127.0.0.1]:52477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrvpV-0001NV-MO for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 11:06:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrvnJ-0007Ht-5P for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 11:03:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrvnE-0007B4-2U for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 11:03:56 -0400 Original-Received: from [199.232.76.173] (port=36958 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrvnD-0007As-U4 for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 11:03:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51404) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrvnD-0005Mn-Ad for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2009 11:03:51 -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 n39F3n45007219; Thu, 9 Apr 2009 08:03:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n39Ej4Lw001087; Thu, 9 Apr 2009 07:45:04 -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 14:45: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.123928790231629 (code B ref 1741); Thu, 09 Apr 2009 14:45:03 +0000 Original-Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 14:38:22 +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 n39EcJnI031614 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 07:38:20 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4FAOuk3UlMCqib/2dsb2JhbACBUs0bg3sGhRE X-IronPort-AV: E=Sophos;i="4.40,160,1238990400"; d="scan'208";a="36825920" 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 10:38:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B5BC37FB6; Thu, 9 Apr 2009 10:38:13 -0400 (EDT) In-Reply-To: (Michael Albinus's message of "Thu, 09 Apr 2009 15:51:21 +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 11:03:56 -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:27026 Archived-At: >>> If I create a new file: "/su:root@localhost:/tmp/blah" >>> then to C-x v v to register it, it fails. But I can see that the >>> /tmp/RCS/blah,v is created. If after that I do: >> >>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>> the result is nil. >> >>> If I start a new emacs and do: >>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>> the result is t. >> >> Hmm... looks like a stale cache. >> Michael? > Yes, a stale cache. I've committed a patch, which adds a file name > handler for `vc-registered'. There the cache is disabled temporarily. > Works for me. Could you guys, please, check? I'd rather find a more generic fix. E.g. can't you flush the cache when handling process-file? Stefan