From: "Roland Winkler" <winkler@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Uwe Siart <uwe.siart@tum.de>, 10254@debbugs.gnu.org
Subject: bug#10254: 24.0.92; Local variable bibtex-dialect has no effect
Date: Tue, 17 Jan 2012 14:45:15 -0600 [thread overview]
Message-ID: <20245.56795.932415.683301@gargle.gargle.HOWL> (raw)
In-Reply-To: <jwv39bev36c.fsf-monnier+emacs@gnu.org>
On Tue Jan 17 2012 Stefan Monnier wrote:
> I'd expect one "typical" usage is to have (setq bibtex-dialect 'biblatex)
> in the .emacs file somewhere. With your new code, the effect of this
> setq will depend on whether bibtex.el is loaded before or after
> executing the setq.
> That's my main source of worry.
I don't see a "normal" usage of bibtex.el where something in the
init file could result in an early loading of this file such that it
could matter where in the init file this variable is set. (The code
has only three autoload cookies.) In other words: under "normal"
circumstances the init file should be fully processed before
bibtex.el is loaded. Also, like other packages the existing code of
bibtex.el has more internal variables that would aquire wrong values
if user variables are somehow set too late after loading. That's
hard to avoid.
Kind of (un)related: just a few days ago I rearranged my init file
because it called appt-activate too early giving me rather strange
side effects. (I have not debugged details.)
> > value of this variable in their init file. Yet when they want to set
> > this variable interactively (via the menu bar or the command
>
> I have no opinion on whether the interactive commands set it globally or
> buffer-locally, but that choice is orthogonal to the use of
> make-variable-buffer-local (just call make-local-variable in those
> commands if that's the behavior you're after).
I'll modify the patch such that one can choose whether one gets
local bindings or not.
In any case, I want to provide a command that *can* bind
bibtex-dialect buffer-locally because it's not completely trivial
that the global / local value of this user variable matches the
global / local values of various derived internal variables.
Roland
next prev parent reply other threads:[~2012-01-17 20:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-09 7:29 bug#10254: 24.0.92; Local variable bibtex-dialect has no effect Uwe Siart
2011-12-10 7:43 ` Glenn Morris
2011-12-10 9:12 ` Uwe Siart
2012-01-10 1:24 ` Glenn Morris
2012-01-10 18:33 ` Roland Winkler
2012-01-11 6:41 ` Uwe Siart
2012-01-11 10:46 ` Roland Winkler
2012-01-11 14:57 ` Uwe Siart
2012-01-15 9:04 ` Roland Winkler
2012-01-16 14:14 ` Stefan Monnier
2012-01-16 22:21 ` Roland Winkler
2012-01-17 5:44 ` Uwe Siart
2012-01-17 14:04 ` Stefan Monnier
2012-01-17 20:45 ` Roland Winkler [this message]
2012-01-17 21:21 ` Stefan Monnier
2012-01-28 8:17 ` Roland Winkler
2012-01-28 14:05 ` Chong Yidong
2012-01-28 18:13 ` Roland Winkler
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=20245.56795.932415.683301@gargle.gargle.HOWL \
--to=winkler@gnu.org \
--cc=10254@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=uwe.siart@tum.de \
/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.