From: "Roland Winkler" <winkler@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Richard Copley <rcopley@gmail.com>, 37957@debbugs.gnu.org
Subject: bug#37957: BibTeX dialect not set if local variables disabled
Date: Mon, 28 Oct 2019 20:52:27 -0500 [thread overview]
Message-ID: <39771.36515.154463.23991@gargle.gargle.HOWL> (raw)
In-Reply-To: <87ftjcaojz.fsf@gnus.org>
On Mon Oct 28 2019 Lars Ingebrigtsen wrote:
> Do you have an example .bib file that can be used to reproduce this bug?
I can, indeed, reproduce this with `emacs -Q', setting
enable-local-variables to nil and then loading any BibTeX file.
Yet it is not clear to me what is the proper solution for this.
Currently, bibtex-mode makes bibtex-set-dialect an element of
hack-local-variables-hook. This hook is called only if
enable-local-variables is non-nil. Of course, bibtex-mode could
call bibtex-set-dialect directly if enable-local-variables is nil.
Yet I guess that enable-local-variables being nil may break more
things if hack-local-variables-hook is not called.
If nothing else, we could mention in the docstring of
hack-local-variables-hook that this hook is not called if
enable-local-variables is nil.
Roland
next prev parent reply other threads:[~2019-10-29 1:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 9:44 bug#37957: BibTeX dialect not set if local variables disabled Richard Copley
2019-10-28 15:16 ` Lars Ingebrigtsen
[not found] ` <CAPM58og0EX6F9vpVfq4fnVK-QWevXYUccf5_W_QbTLZ=iGxDuQ@mail.gmail.com>
2019-10-28 16:21 ` Lars Ingebrigtsen
2019-10-28 16:33 ` Richard Copley
2019-10-28 16:42 ` Lars Ingebrigtsen
2019-10-28 17:55 ` Richard Copley
2019-10-29 11:24 ` Lars Ingebrigtsen
2019-10-28 18:54 ` Eli Zaretskii
2019-10-29 1:52 ` Roland Winkler [this message]
2019-10-30 16:32 ` Richard Copley
2019-10-30 18:21 ` Roland Winkler
2020-12-02 19:54 ` 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=39771.36515.154463.23991@gargle.gargle.HOWL \
--to=winkler@gnu.org \
--cc=37957@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=rcopley@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.