unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: Glenn Morris <rgm@gnu.org>
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, 10 Jan 2012 12:33:25 -0600	[thread overview]
Message-ID: <20236.33909.640904.783097@gargle.gargle.HOWL> (raw)
In-Reply-To: <2rfwfoz6w2.fsf@fencepost.gnu.org>

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	other threads:[~2012-01-10 18:33 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 [this message]
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
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

  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=20236.33909.640904.783097@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=10254@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --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 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).