GNU bug report logs - #37957
BibTeX dialect not set if local variables disabled

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Mon, 28 Oct 2019 09:47:01 UTC

Severity: normal

Done: "Roland Winkler" <winkler <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 37957 <at> debbugs.gnu.org, winkler <at> gnu.org
Subject: bug#37957: BibTeX dialect not set if local variables disabled
Date: Mon, 28 Oct 2019 16:16:00 +0100
Richard Copley <rcopley <at> gmail.com> writes:

> From "emacs -Q",
> * Set the variable 'enable-local-variables' to nil.
> * Visit a BibTeX (*.bib) file.
> * Wait one minute or eval (bibtex-parse-buffers-stealthily).
>
> Lisp error: (wrong-type-argument number-or-marker-p nil)
> Backtrace:
>   1+(nil)
>   (buffer-substring-no-properties (1+ (match-beginning bibtex-type-in-head))
> (match-end bibtex-type-in-head))
>   bibtex-type-in-head()

Do you have an example .bib file that can be used to reproduce this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.