GNU bug report logs - #18535
tramp alters `vc-handled-backends'

Previous Next

Package: emacs;

Reported by: Emilio Lopes <eclig <at> gmx.net>

Date: Tue, 23 Sep 2014 10:55:02 UTC

Severity: normal

Merged with 18647

Found in version 24.4.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Emilio Lopes <eclig <at> gmx.net>
Cc: 18535 <at> debbugs.gnu.org
Subject: bug#18535: tramp alters `vc-handled-backends'
Date: Tue, 23 Sep 2014 11:37:20 -0400
> `tramp-sh-handle-vc-registered' can permanently alter the value of
> `vc-handled-backends' causing Emacs to stop recognizing version
> controlled files as such.  This happened to me a couple of times after
> having pressed `C-g' while some `tramp' operation was apparently
> hanging.

The current code uses a `let' binding, which uses the same mechanism as
unwind-protect, so I don't think that's the source of a the problem.

The `delq' look dangerous on the other hand.  Shouldn't these be
`remq' instead?


        Stefan




This bug report was last modified 10 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.