GNU bug report logs - #44647
27.1.50; `bibtex-contline-indentation' doesn't work as file local variable

Previous Next

Package: emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Sat, 14 Nov 2020 21:19:02 UTC

Severity: minor

Merged with 44618

Found in versions 26.3, 27.1.50

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: Teemu Likonen <tlikonen <at> iki.fi>
To: winkler <at> gnu.org
Cc: 44647 <at> debbugs.gnu.org
Subject: bug#44647: 27.1.50; `bibtex-contline-indentation' doesn't work as file local variable
Date: Sat, 14 Nov 2020 23:27:41 +0200
[Message part 1 (text/plain, inline)]
Hello Roland!

I found and fixed a bug in Emacs bibtex.el file. Here's my description:

* 2020-11-14 23:18:16+02, Teemu Likonen wrote:
> Variable bibtex-contline-indentation does not work as file local
> variable. The reason is that bibtex-mode command initializes variable
> fill-prefix before the possible file local variable is available. It
> gets always the global value of bibtex-contline-indentation.
>
> This can be fixed by locally let-binding fill-prefix every time in the
> relevant filling function. Patch for that is attached.

See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44647

What do you think of the patch which I attached to the bug report?

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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