From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: leo Newsgroups: gmane.emacs.bugs Subject: bug#28807: 25.2; dired-actual-switches` and .dir-locals.el Date: Mon, 05 Jul 2021 11:28:54 +1000 Message-ID: <31C9E48B-5A23-4BAD-A9E3-DF75A2E74BA1@halloleo.hailmail.net> References: <2681E59F-31EA-45BF-A6CF-A9486B4FE12D@halloleo.hailmail.net> <878s2m2mkw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28234"; mail-complaints-to="usenet@ciao.gmane.io" To: 28807@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 05 03:30:20 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 1m0DRD-000790-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 03:30:20 +0200 Original-Received: from localhost ([::1]:52356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0DRA-0001Ib-SS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 21:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0DQx-0001IP-Ab for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 21:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0DQw-0007QM-VA for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 21:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0DQw-0003ah-Ll for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 21:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: leo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jul 2021 01:30: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.162544854613720 (code B ref 28807); Mon, 05 Jul 2021 01:30:02 +0000 Original-Received: (at 28807) by debbugs.gnu.org; 5 Jul 2021 01:29:06 +0000 Original-Received: from localhost ([127.0.0.1]:43464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0DQ2-0003ZE-4f for submit@debbugs.gnu.org; Sun, 04 Jul 2021 21:29:06 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0DPw-0003Yf-PW for 28807@debbugs.gnu.org; Sun, 04 Jul 2021 21:29:04 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 722C75C00B8 for <28807@debbugs.gnu.org>; Sun, 4 Jul 2021 21:28:55 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 04 Jul 2021 21:28:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hailmail.net; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm3; bh= vOPyNyNohMeiDLY5yz5ZR3VuF1BJjfOqxoZ6qeiWgfo=; b=h1eoB6KV4xoxhhpr M9Ok1V/oZc5yc9HmrSrvc47rVNrJonWLTt1REXWT5U+7VfPGl4Zwt5cqBzAjhg7k mZYqP0y/r91mRilTy73ffaXCZZTDTafQQqlCMDA9ge5Rc4+d1/iyc8SKurro0mUa xrlt/Avhmrvf4WHb9Cn9hWbDcarfSu3bTML31UB+aI1v+VzLVF9k1sm8JUb9PUhT 8sotxC6kcY3c+9cXIbfQtxmAOLoEg2EpnW71E3W40SFe36wRKRxMPtjtIuO+HieH oQrxrqZbmjK/fFZLjWTCTJwUu0MsiKJ6j5GMLE6k/Ysx5XQMrvIF8ig6nED9JJHw YRFp4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=vOPyNyNohMeiDLY5yz5ZR3VuF1BJjfOqxoZ6qeiWg fo=; b=ly//JXYGfP4DmcrLg9/5t7v0URR+MV0cjUEOS9wByvrnan29dEK590HtC 6/5ucJqkuqruglOfwpA/u1mEErjUyahm6GdL09UziSY3uncU+zyKgH/wroiZyZ8M vtCEtMXdHtEeaDDhhybTtEtZABFH/XyPkwgEIAqZvoWLGbRIyyyYUQBB27yfLmyp ZCTmH2Ruo89W+taHySadBD+6LErDDkW6hXWxNnuYuA2D42TTthPTZd7SWmDhwLfB Yy3K/Me4HwfLcvDApFVvLVVLNH7MkCpYM53R6D55EZ5NPaKphjGFrZJXLdhvOELJ IdyWDbEFJCUWCcgjwphQ7Pmx3xkEg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeejfedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfgjfhggtgfgsehtke hmtdertdejnecuhfhrohhmpehlvghouceouggvvheshhgrlhhlohhlvghordhhrghilhhm rghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepheegkeejfeffkeetjefgvedvjeegle ejteekveeitdetudeitefhieeuhfdthfetnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepuggvvheshhgrlhhlohhlvghordhhrghilhhmrghilh drnhgvth X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for <28807@debbugs.gnu.org>; Sun, 4 Jul 2021 21:28:54 -0400 (EDT) X-Mailer: MailMate (1.14r5816) In-Reply-To: <878s2m2mkw.fsf@gnus.org> 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:209435 Archived-At: On 5 Jul 2021, at 0:14, Lars Ingebrigtsen wrote: > 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. Thanks for looking into this. I am still on Emacs 27. Is Emacs 28 out on “stable”?