GNU bug report logs - #49143
28.0.50; find-file-literally doesn't ignore `mode:`

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 20 Jun 2021 17:55:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 49143 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 49143 <at> debbugs.gnu.org
Subject: Re: bug#49143: 28.0.50; find-file-literally doesn't ignore `mode:`
Date: Mon, 21 Jun 2021 14:54:27 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Contrary to its documentation, it seems that `find-file-literally`
> doesn't ignore file-local `mode:` settings any more, as evidenced by the
> following backtrace:
>
>     dismal-mode()
>     hack-one-local-variable(mode dismal)

Oops.

> I suspect the culprit is
>
>     commit 5bedbe6b1d5f4b801abf91b4d023d5c4e66418f0
>     Author: Lars Ingebrigtsen <larsi <at> gnus.org>
>     Date:   Mon May 10 12:40:11 2021 +0200

Yes, indeed.  I think I've now found the right fix -- I'm not totally
confident that it's the correct level to fix this on, though...

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




This bug report was last modified 3 years and 336 days ago.

Previous Next


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