GNU bug report logs - #18188
Please make it possible to have a directory-local setting for auto-mode-alist

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Mon, 4 Aug 2014 10:29:02 UTC

Severity: wishlist

Tags: patch

Merged with 18721

Found in version 25.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 #18 received at 18188 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tom Tromey <tom <at> tromey.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 18721 <at> debbugs.gnu.org, 18188 <at> debbugs.gnu.org
Subject: Re: bug#18721: 25.0.50; choose major mode from .dir-locals.el
Date: Fri, 23 Jul 2021 16:00:11 +0200
Tom Tromey <tom <at> tromey.com> writes:

> Lars> I think everybody agreed that this was a good feature to add (with Eli's
> Lars> tweaks), but as far as I can tell, it was never added.  Tom, would it be
> Lars> possible for you to re-spin this patch for Emacs 28?
>
> Doubtful, but it's fine by me if someone takes it over.  I don't recall
> who objected or why, but someone didn't like the approach I took and
> requested changes, so whoever does it would have to navigate this.

I've now respun the patch for Emacs 28, and it seems to work fine, and I
think everybody agreed that this was useful functionality.

There was some discussion about whether to introduce a new dir-locals
element for this, or just use the normal variable-setting thing.  As Tom
said, the normal thing is awkward to use here (because of the
buffer-local thing), so I think Tom's approach here is the best,
overall.

So I've now pushed this to Emacs 28.

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




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

Previous Next


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