From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#28807: 25.2; dired-actual-switches` and .dir-locals.el Date: Sun, 04 Jul 2021 16:14:07 +0200 Message-ID: <878s2m2mkw.fsf@gnus.org> References: <2681E59F-31EA-45BF-A6CF-A9486B4FE12D@halloleo.hailmail.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2390"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 28807@debbugs.gnu.org To: leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 04 16:15:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m02tv-0000R3-8f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 16:15:15 +0200 Original-Received: from localhost ([::1]:51860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m02tu-0003Sw-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 10:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m02tj-0003Sc-3f for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 10:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m02ti-0005XK-Nw for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 10:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m02ti-0001UR-FH for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28807 X-GNU-PR-Package: emacs Original-Received: via spool by 28807-submit@debbugs.gnu.org id=B28807.16254080615635 (code B ref 28807); Sun, 04 Jul 2021 14:15:02 +0000 Original-Received: (at 28807) by debbugs.gnu.org; 4 Jul 2021 14:14:21 +0000 Original-Received: from localhost ([127.0.0.1]:42960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02t2-0001Sn-SI for submit@debbugs.gnu.org; Sun, 04 Jul 2021 10:14:21 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:47628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02t0-0001SS-Se for 28807@debbugs.gnu.org; Sun, 04 Jul 2021 10:14:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6tBslQHrl0osmlVWCQm1PH44rXqvkuQBJNsqxuSOyGc=; b=A2pWCZp+6AQrmZx9XBTU+N/sWT ue6neoaXC4ez2h4puUP7vWv/W1ld/N9EoE+fT8XMiZCnQQ8ZPqowrRjwebVYsIoBX2m969cDJoEp5 XqLQpgAb/YmaoQTJ2rodoOhWIKwjyxCUFL/q5vPiZ1PnJjwbEUiJLGW5UKs9vCzl7zZo=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m02sp-00017G-L5; Sun, 04 Jul 2021 16:14:12 +0200 X-Now-Playing: Kissing the Pink's _Naked_: "In Awe of Industry" In-Reply-To: <2681E59F-31EA-45BF-A6CF-A9486B4FE12D@halloleo.hailmail.net> (leo's message of "Fri, 13 Oct 2017 19:16:08 +1100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209404 Archived-At: leo 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no