GNU bug report logs - #30008
27.0.50; Subdirectory vs major mode in .dir-locals.el

Previous Next

Package: emacs;

Reported by: kevin.legouguec <at> gmail.com (Kévin Le Gouguec)

Date: Sat, 6 Jan 2018 17:48:02 UTC

Severity: normal

Tags: fixed, patch

Merged with 33400, 35522

Found in versions 26.0.90, 26.1, 27.0.50

Fixed in version 26.3

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Neil Roberts <bpeeluk <at> yahoo.co.uk>
Cc: 33400 <at> debbugs.gnu.org
Subject: Re: bug#33400: [PATCH v3] Let dir locals for more specific modes
 override those from less
Date: Sun, 12 May 2019 10:03:42 -0400
tags 33400 fixed
close 33400 26.3
quit

Pushed to emacs-26, with a couple of minor fixes:

> * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables,
> dir-locals-read-from-dir): Sort the dir locals so that more precise

We close the parens at end of line for ChangeLog entries:

* lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables)
(dir-locals-read-from-dir): Sort the dir locals so that more precise

> +@example
> +((nil . ((fill-column . 40)))
> + (c-mode . ((fill-column . 50)))
> + (prog-mode . ((fill-column . 60)))
> + ("narrow-files" . ((nil . (fill-column 20)))))
> +@end example

The last line in the example needs to be

+ ("narrow-files" . ((nil . ((fill-column . 20))))))

02bee7860f 2019-05-12T09:59:55-04:00 "Let dir locals for more specific modes override those from less"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=02bee7860f7e650ef13e00fe1a7f9a362e3eb001





This bug report was last modified 6 years and 9 days ago.

Previous Next


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