GNU bug report logs - #64415
[PATCH] Use first match in dir-local `auto-mode-alist'

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Sun, 2 Jul 2023 10:35:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Shynur Xie <one.last.kiss <at> outlook.com>
To: 64415 <at> debbugs.gnu.org
Subject: bug#64415: [PATCH] Use first match in dir-local `auto-mode-alist'
Date: Sun, 2 Jul 2023 10:29:13 +0000
[Message part 1 (text/plain, inline)]
lispref says var `auto-mode-alist' uses first match, so pseudo
var `auto-mode-alist' in _dir-locals.el should also do that, for
consistency.

Here is a problem caused by the original behavior when Emacs handles
_dir-locals file: <https://emacs.stackexchange.com/questions/77841>.

--
shynur
[0001-Use-first-match-in-dir-local-auto-mode-alist.patch (application/octet-stream, attachment)]

This bug report was last modified 1 year and 6 days ago.

Previous Next


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