GNU bug report logs - #28807
25.2; dired-actual-switches` and .dir-locals.el

Previous Next

Package: emacs;

Reported by: leo <dev <at> halloleo.hailmail.net>

Date: Fri, 13 Oct 2017 08:29:02 UTC

Severity: minor

Found in version 25.2

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: leo <dev <at> halloleo.hailmail.net>
To: 28807 <at> debbugs.gnu.org
Subject: bug#28807: 25.2; dired-actual-switches` and .dir-locals.el
Date: Mon, 05 Jul 2021 11:28:54 +1000
On 5 Jul 2021, at 0:14, Lars Ingebrigtsen wrote:

> leo <dev <at> halloleo.hailmail.net> writes:
>
>> * Create a subirectory `subdir` inside `mydir`
>> * Create some files with different timestamp and different names in there.
>>
>> Bug 1: .dir-locals.el not applied the first time
>> ================================================
>>
>> * Launch `emacs -Q`
>> * Open `mydir` via `M-x find-file` as a dired buffer
>> * Observe that `mydir` is **not** in date order sorted
>> * Kill `mydir` buffer.
>> * Open again `mydir` via `M-x find-file` as a dired buffer
>> * Observe that `mydir` **is**  in date order sorted (as it should be)
>>
>> Bug 2: (subdirs . nil) rule not obeyed
>> ======================================
>>
>> * Stay in that `emacs -Q` session
>> * Kill `mydir` buffer.
>> * Open `mydir/subdir` via `M-x find-file` as a dired buffer
>> * Observe that `mydir` **is**  in date order sorted (as it **not** should be)
>
> I can reproduce some of this in various older Emacs versions, but this
> seems to work fine for me in Emacs 28 (and I remember doing some work in
> this area some months ago), so I'm going to go ahead and guess that this
> has been fixed, and I'm closing this bug report.  If you're still seeing
> this issue, please respond to the debbugs address and we'll reopen.

Thanks for looking into this.

I am still on Emacs 27. Is Emacs 28 out on “stable”?




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

Previous Next


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