bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10254: 24.0.92; Local variable bibtex-dialect has no effect


From: Roland Winkler
Subject: bug#10254: 24.0.92; Local variable bibtex-dialect has no effect
Date: Tue, 10 Jan 2012 12:33:25 -0600

On Mon Jan 9 2012 Glenn Morris wrote:
> 
> A better solution would be something like the following. However, it
> seems that at present bibtex.el is simply not set up to handle a
> buffer-local dialect. Eg none of the variables set by bibtex-set-dialect
> (bibtex-entry-type etc) are buffer-local. So it won't work right if you
> open multiple buffers with different dialects.

To clarify the circumstances of the original bug report:

Do you want to use buffer-local values of bibtex-dialect because you
do have multiple BibTeX files, some of which use one BibTeX dialect,
others use another dialect? -- Such a scenario is somewhat
orthogonal to the general notion of BibTeX that should provide one
database that is used for all LaTeX documents. That's why the
current code was not set up to support such a scenario. Yet when I
think about it now, I can imagine more rare cases that would benefit
from buffer-local values of bibtex-dialect.

In any case, buffer-local calls of bibtex-set-dialect are not enough
to solve this problem but one also needs buffer-local values of the
variables set by bibtex-set-dialect.

Also, I do not consider this a bug. In my opinion, it's more a
missing feature. So with Emacs 24 being already in pretest I am
tempted to say it would be more appropriate to provide a proper fix
in the next release of Emacs. I'll look into this.

Roland





reply via email to

[Prev in Thread] Current Thread [Next in Thread]