GNU bug report logs - #10601
24.0.92; Visiting tgz files sets mode from File Local Variables

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Wed, 25 Jan 2012 17:47:03 UTC

Severity: normal

Merged with 10506

Found in version 24.0.92

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: 10601 <at> debbugs.gnu.org
Subject: bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variables
Date: Wed, 25 Jan 2012 19:29:45 +0200
When the last file in a tzg archive ends with the Local Variables section
where mode is specified (for the last file in the archive), then the whole
archive is visited in that mode instead of using `tar-mode'.

This is a regression caused by fixing bug#8586.

There are variables `inhibit-first-line-modes-regexps' and
`inhibit-first-line-modes-suffixes' that prevent getting mode from the
Local Variables section for tzg archives and other such file types.
But currently they are used to skip only scanning of the first -*- line.

To fix this regression, it is necessary to use these variables
to skip getting mode from the Local Variables section.




This bug report was last modified 13 years and 121 days ago.

Previous Next


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