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

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

bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variabl


From: Juri Linkov
Subject: bug#10601: 24.0.92; Visiting tgz files sets mode from File Local Variables
Date: Wed, 25 Jan 2012 19:29:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu)

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.





reply via email to

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