From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Backtrace and message buffer tell me different things
Date: Sun, 19 Dec 2010 08:51:57 -0500 [thread overview]
Message-ID: <jwvbp4hswij.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTinMid-Gy1Oji9La1zx33Sv-6Y1KP9RhhU6yuBEF@mail.gmail.com> (Lennart Borgman's message of "Sat, 18 Dec 2010 23:00:47 +0100")
> - Fontification variables are let-bound by mumamo in the function it
> creates to do the fontification. It is done this way to override the
> buffer local variables as fast as possible.
Not sure why it let-binds these vars, but that's OK, it might indeed be
the best solution to your problem.
> - This particular variable is not buffer local by default so it is set
> with make-local-variable somewhere.
> (Maybe you want to avoid make-variable-buffer-local to catch conflicts
> like this?)
I think having it make-variable-buffer-local would not help (tho it
might happen to silence the warning because the check is not done well
enough).
What you want then is to explicitly (make-local-variable <var>) before
let-binding those vars.
Stefan
prev parent reply other threads:[~2010-12-19 13:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-18 0:48 Backtrace and message buffer tell me different things Lennart Borgman
2010-12-18 8:38 ` Andreas Schwab
2010-12-18 9:25 ` Lennart Borgman
2010-12-18 9:32 ` Andreas Schwab
2010-12-18 10:51 ` Lennart Borgman
2010-12-18 16:04 ` Stefan Monnier
2010-12-18 19:58 ` Lennart Borgman
2010-12-18 22:00 ` Lennart Borgman
2010-12-19 13:51 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvbp4hswij.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.