unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Emilio Lopes <eclig@gmx.net>
Cc: 18535-done@debbugs.gnu.org
Subject: bug#18535: tramp alters `vc-handled-backends'
Date: Thu, 25 Sep 2014 09:07:40 -0400	[thread overview]
Message-ID: <jwvfvffuacg.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CANiPZaBWi7PtVFMOmx9rGJbWG3Gj3mpYgKZ-Bma-=UxQHkXCZg@mail.gmail.com> (Emilio Lopes's message of "Thu, 25 Sep 2014 09:10:04 +0200")

>> 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.
> Is this common behavior in Lisps?  I could not find any reference to
> this in the Elisp manual.

The Elisp manual's description is not in terms of implementation, so it
doesn't say that, but it does document that behavior.  E.g.:

   When that local binding is no longer in effect, the
   previously shadowed value (or lack of one) comes back.

>> The `delq' look dangerous on the other hand.  Shouldn't these be
>> `remq' instead?
> yes, this seems to solve the problem.

Thanks, installed,


        Stefan





      reply	other threads:[~2014-09-25 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23 10:53 bug#18535: tramp alters `vc-handled-backends' Emilio Lopes
2014-09-23 15:37 ` Stefan Monnier
2014-09-25  7:10   ` Emilio Lopes
2014-09-25 13:07     ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfvffuacg.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18535-done@debbugs.gnu.org \
    --cc=eclig@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).