From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 06 08:55:59 2014 Received: (at submit) by debbugs.gnu.org; 6 Apr 2014 12:55:59 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWmc8-0004nM-Li for submit@debbugs.gnu.org; Sun, 06 Apr 2014 08:55:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53433) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWmc4-0004n7-DD for submit@debbugs.gnu.org; Sun, 06 Apr 2014 08:55:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWmbw-0004lj-KC for submit@debbugs.gnu.org; Sun, 06 Apr 2014 08:55:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWmbw-0004lf-Gq for submit@debbugs.gnu.org; Sun, 06 Apr 2014 08:55:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWmbq-0001cB-7i for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 08:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWmbh-0004iR-0w for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 08:55:38 -0400 Received: from mout.web.de ([212.227.15.4]:49646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWmbg-0004iC-Nr for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 08:55:28 -0400 Received: from drachen.dragon ([90.186.47.182]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LxOHm-1X4RKp2G7O-016tDp for ; Sun, 06 Apr 2014 14:55:26 +0200 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 24.3.50; dired and directory variables Date: Sun, 06 Apr 2014 14:55:19 +0200 Message-ID: <877g72d3d4.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:CQC7Mkca1QJYbMASXP1J4AG2OkUxZtXlTt/qi5FLYflvX1w8pDo ouOROg8hCWkpM33JeV7mEAJgpgorXyE1a9Y3OYQE5HvmL5APvWSv9Pt1BugLlJPY4e5tWF2 de8hILdfU+5CodKJJIYBRQYz6Y1cI17XkUk/fKPUqxL6P8XQKFTmprYmuJNApJo2FdTOrKE dvdxJnXqujJRl8HsufqBg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, dired doesn't play well with directory local variables. The manual (info "(emacs) Directory Variables") seems to say that they would work with dired, but I found several problems with that (all this in emacs -Q): 1. In dired, they (sometimes?) take effect only in subdirectories, but not in the directory where they are specified. Example: In my ~, I create a .dir-locals.el with the content ((nil . ((a . "hallo")))) When I now open a dired buffer of ~, `a' is undefined. When I open any file below ~, `a' is bound as expected. 2. Being able to use use `dired-listing-switches' as a directory variable would obviously be very useful. But it has no effect, even not in subdirectories. OTOH, using `dired-actual-switches' has an effect, it leads to a sorting as expected, even (contrary to 1.) in the directory that contains the dir locals file. 3. `dir-locals-collect-variables' "destroys" any (subdirs . nil) specification: I change the .dir-locals.el in my ~ to the following content: ((nil . ((a . "hallo") (subdirs . nil)))) and restart Emacs. Now I dired ~. After that, I visit any file somewhere under ~ (this can be a regular file or a directory). `a' will be bound in that buffer. This doesn't happen if I don't dired ~ before. The cause seems to be this line in `dir-locals-collect-variables': (setq alist (delq subdirs alist)) which modifies the cached alist sturcture destructively (permanently!). The `delq' should be a `remq', I guess. Many thanks, Michael. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7) of 2014-03-28 on drachen Windowing system distributor `The X.Org Foundation', version 11.0.11500000 System Description: Debian GNU/Linux testing (jessie) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 23 17:12:58 2021 Received: (at 17205) by debbugs.gnu.org; 23 Jan 2021 22:12:59 +0000 Received: from localhost ([127.0.0.1]:35509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3R9O-00050j-Ld for submit@debbugs.gnu.org; Sat, 23 Jan 2021 17:12:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3R9K-00050Q-5k for 17205@debbugs.gnu.org; Sat, 23 Jan 2021 17:12:57 -0500 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=eQFYlLW82qLNre+VX5P1BHdrYUmJNr8rI0jLimyZ0jU=; b=R54G50v0e/RmX6zbmacYZxPY3o IYOhHKC8KX6J8eqhlIMbS8fOXIoUF7g/L/vlcbbJotjoNeJuseTokeY1WecrNs+3tIcwpxrDsBF8j ZAUtnbOW3HL1HmqZc2O4e5fGkuaIISsJOR+RFGSWYfbQ6AcPmduSup/zBqP4+7uSwY6A=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3R93-0005z7-LW; Sat, 23 Jan 2021 23:12:48 +0100 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#17205: 24.3.50; dired and directory variables References: <877g72d3d4.fsf@web.de> X-Now-Playing: Little Annie Anxiety & Hiro Kone's _Repossessed_: "Third Gear" Date: Sat, 23 Jan 2021 23:12:36 +0100 In-Reply-To: <877g72d3d4.fsf@web.de> (Michael Heerdegen's message of "Sun, 06 Apr 2014 14:55:19 +0200") Message-ID: <87o8hfs3or.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > dired doesn't play well with directory local variables. The manual > (info "(emacs) Directory Variables") seems to say that they would work > with dired, but I found several problems with that (all [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17205 Cc: 17205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: > dired doesn't play well with directory local variables. The manual > (info "(emacs) Directory Variables") seems to say that they would work > with dired, but I found several problems with that (all this in emacs > -Q): > > 1. In dired, they (sometimes?) take effect only in subdirectories, but > not in the directory where they are specified. > > Example: In my ~, I create a .dir-locals.el with the content > > ((nil . ((a . "hallo")))) > > When I now open a dired buffer of ~, `a' is undefined. When I open any > file below ~, `a' is bound as expected. (I'm going through old bug reports that unfortunately got no response at the time.) I'm unable to reproduce this in Emacs 28 -- if I put that into ~/.dir-locals.el, then the `a' variable is set (after some prompting about the safety). > 2. Being able to use use `dired-listing-switches' as a directory > variable would obviously be very useful. But it has no effect, even not > in subdirectories. OTOH, using `dired-actual-switches' has an effect, > it leads to a sorting as expected, even (contrary to 1.) in the > directory that contains the dir locals file. This also seems to work for me in Emacs 28 with a file of ((nil . ((a . "hallo") (dired-listing-switches "-l")))) > 3. `dir-locals-collect-variables' "destroys" any (subdirs . nil) > specification: > > I change the .dir-locals.el in my ~ to the following content: > > ((nil . ((a . "hallo") > (subdirs . nil)))) > > and restart Emacs. > > Now I dired ~. After that, I visit any file somewhere under ~ (this can > be a regular file or a directory). `a' will be bound in that buffer. > > This doesn't happen if I don't dired ~ before. The cause seems to be > this line in `dir-locals-collect-variables': > > (setq alist (delq subdirs alist)) > > which modifies the cached alist sturcture destructively (permanently!). > The `delq' should be a `remq', I guess. I am able to reproduce this bit, though, and indeed, changing the delq to remq fixes this problem. Do all these cases work for you, too, in Emacs 28? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 23 17:13:01 2021 Received: (at control) by debbugs.gnu.org; 23 Jan 2021 22:13:01 +0000 Received: from localhost ([127.0.0.1]:35512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3R9Q-00050x-Uk for submit@debbugs.gnu.org; Sat, 23 Jan 2021 17:13:01 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3R9P-00050Y-Al for control@debbugs.gnu.org; Sat, 23 Jan 2021 17:12:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=P5X0U9aQxeBX/OfIZf2oVeSBUn+Fm9EayL0i8lunsXk=; b=CGe1/iEvxZydknGDlm5c3swWVl Nfcw9kDDyg2ktFE0u4lMzP5Pnx3R9Xanpw8T0sjRmKCBoJKqdDSeOJxIx9KvzRhrFiU+xe5RBGNUs B0U1BV9JPj4v7dr7sy8p4dOXieyNNNXLNNcsYU5m9+nfJZCwzbABMviG8h64z9SuyhEs=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3R9H-0005zN-SJ for control@debbugs.gnu.org; Sat, 23 Jan 2021 23:12:53 +0100 Date: Sat, 23 Jan 2021 23:12:50 +0100 Message-Id: <87mtwzs3od.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17205 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17205 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17205 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 24 14:37:24 2021 Received: (at 17205) by debbugs.gnu.org; 24 Jan 2021 19:37:25 +0000 Received: from localhost ([127.0.0.1]:37336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3lCO-0002tj-Ll for submit@debbugs.gnu.org; Sun, 24 Jan 2021 14:37:24 -0500 Received: from mout.web.de ([212.227.17.12]:60945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3lCM-0002tW-Lw for 17205@debbugs.gnu.org; Sun, 24 Jan 2021 14:37:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1611517036; bh=TX1zyr4FT/xHK2hXfcSLKlMCNV+kmzES0ZNBfmKFh54=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=l6gebKbCn4XPD66rEuUgHqJe60v+1n/veIUenDhmQMnUxZosMi/PWAHV8TY6p9blz Iwe5AfpdtwabNmbaqTaGHUkGZt81LlONzXzbJUu0HlLIGy+ZyYqwjNF+6qUUg3zdzn 7bS0yUph2BoVhAjMMGaL8u6+OoTTObto8l1GEcHo= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.223.115]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Lh6UN-1lpFIB0KQR-00oU3S; Sun, 24 Jan 2021 20:37:16 +0100 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#17205: 24.3.50; dired and directory variables References: <877g72d3d4.fsf@web.de> <87o8hfs3or.fsf@gnus.org> Date: Sun, 24 Jan 2021 20:37:15 +0100 In-Reply-To: <87o8hfs3or.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Jan 2021 23:12:36 +0100") Message-ID: <87zh0yqg7o.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:dhBx0zTH9MjKwsZP68MYKfl518YVgELMAFojA1qONh9fbvtlQ32 5daYfLEuOv7CzcY5Wj/n21xMWtHoRJyqBO7wXLSiE4QlfEbNXBIxow2xhD2T8nVwZm4b11B NawYUzrZzpNT+qnkYliJ1dEuuNewKTn6rEoHCilCSIyrkwXdgnqdIQE5kePYYP0sW0F4ZMl fLl/AQYuedX8deBV73sUA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:dQfjL6V8LMg=:6DwMilrYUOMkhjk/IX1Rzt FXXyPFtbgsnzVe+DfeMvy8EL7/8KuHXG/IclmWBTNEg1jMjz/DWZefnnoIX3SLMY50FwVq+Mm Uy46sLyVxNt+xBDIqzZ2+Ak5qwCBsyPB26eTuZPgsBzonSmHRGozvZlqajTCQwgzsQr5RqA7j GT/0N7xBWzetf2gTNIaSEfd6KgUpJnMyGd2zaN3vX96F+5v8kIJyBY351urLeR4taVsTGZcZz q2W4fhotfXIHrbgZE22woFw2DCsCILOeFwhviP3Jprq7QReu3PH2Rdznb46Fe/QBZ2TPejpkn 44JhoBrCcF6DjrcktqbVtCOWsvzt0Bs4CNCWwuBeK7/oaPW0xDlSkDvBM9reERnXdW3uZaJc+ +shVWQCCx9MRN68Pt1qMA4/juDX8DBQa4v8VUsDE1/1mahrtx2ei1DNS5zYIwGEXSMuQrM7/0 bOYXv4XUeitFFJFRPflr+zDtnXVMXZ95qe3Arh6vTaSMhbUDSPRyleDD4Uoquj46UPhaLIprx OfRl7chKbtd328gvyOjl3tHP0N/8uQKHoQoUnjd+SjhH+r7fzV4rbztr8qYr5KWEgCo4cxaeC Gm7gyG/M276AMTzz82Eu6pQRDvHfvS63p0VYvcRw+WUXAwxd9wYqLC6eiTZfzHh9EbCWFrYnU yRbyLAJQhXsG8IhvJ5bPz1Ns4fYwnjF8vRZc3J5a6udGfC13lUif5kNVfrAZS4+ktUm8sfXnA gviYz6TI61h8Wf4fRX4yuywkhNV5KC2B3BK+FNNTHHjAJsgdiv8HfqaPrOrMWTUSL4OD/6vGO m+XtI9L5kAQvs17J8/0AO9oCYvA7fuAkBMru5qiR4PnSgm7UTeujSBZ8Y7VZ/7PNeAKVTbAMz Cfbom5hEP/8E+k9dvS5qqHTAMs2+bQbXdyq665MKg= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17205 Cc: 17205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Do all these cases work for you, too, in Emacs 28? All of my reported issues seem to be fixed indeed, thanks! But a tiny thing remains: in the ((nil . ((a . "hallo") (subdirs . nil)))) scenario, the variable `a' is not bound in the dired buffer for the directory the .dir-locals.el file lives in. I would expect it to be. TIA, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 07:50:30 2021 Received: (at 17205) by debbugs.gnu.org; 25 Jan 2021 12:50:30 +0000 Received: from localhost ([127.0.0.1]:38210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l41KA-0000Vk-Bn for submit@debbugs.gnu.org; Mon, 25 Jan 2021 07:50:30 -0500 Received: from mout.web.de ([212.227.15.4]:38297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l41K6-0000VR-TU for 17205@debbugs.gnu.org; Mon, 25 Jan 2021 07:50:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1611579020; bh=DNHMMRmpX5IO9UV/vboUQhTTnercZX8QezH/C+WlQ3M=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Nw1v0aTBiZPsWkwn60qRQcBZqcrKokS71GcBvfTYuOIT0YNw86raGt4OpcWv8zXMS xJjlVzgHmNRaQqdKumMMzZXRgej8aXlKd+EL4yGSlpF62pPZAnA90T2olFbRdczN8b kQpRZ3k8lQZS+Vlm7mg9veWSWwIDffU0SzYxWEKI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.223.115]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Ljxc1-1lb9DJ29lJ-00brgk; Mon, 25 Jan 2021 13:50:20 +0100 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#17205: 24.3.50; dired and directory variables References: <877g72d3d4.fsf@web.de> <87o8hfs3or.fsf@gnus.org> <87zh0yqg7o.fsf@web.de> Date: Mon, 25 Jan 2021 13:50:19 +0100 In-Reply-To: <87zh0yqg7o.fsf@web.de> (Michael Heerdegen's message of "Sun, 24 Jan 2021 20:37:15 +0100") Message-ID: <87zh0xp4dw.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:5UQ8R8evrCOFJC/qHyIQMEC4fADH/Fy0Kj4A0Gx4TM21VeJrWOM SSccJiKJ+O4kgsYbEzFaXKVB9zJx1ovJTuYGzvSNteQmy0ctDiGZJTq0Wjq04xXVelRuuaH 5KYMEBK16kTjYrXNSqtgjJWJsUomh98HoquRqSedhII/6Zogb6SwNUm30i0w3dRr5UvkkM6 kmyX45ZgrPltdBswpE9aw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:m/IRL87N6kk=:PkQajmmRobmxNuOj9/Gu3I LBAKjHz0rpn61p4J3/pxhQARR6okH7l6Sog/ifwGpzAz8O6d+HOwclRPdoxGS+VxHcl9QnRBU BmTBcuWB/LOD+H34PTA8OB6oo1nuNjGw5pTUf+nvYBOSu6PldqNS6zg2IqiHWKIaoePe098Kd BY3ea1VHOSaP4BLbSwcKHZugID3emR4SW53cXyL3/3vuKjWajbRGU1QXihroHnINOK+oz5ziq MxPMamMrLNXay8YWAwm/0LP/Ehp+NzJ+kBAvHFp+v0Su4ZVvtQytD116hdcduGZKOYVx2hjKB t0ErUR1Ko0G1OcDWhd1VoAnxlB+3tb51NqM2C85jaRBZvozDzTb5qdq4GyuIlEWy7vr1xi5JZ obQEX+lNEMpLUWQzl+itnq/cpyKy23w7yIlEebm2KWS3d8xzwpDxrKgbnnayd1/zwIx/I6OGo kjhMReoE1RG0WQ3WoDVfgqZ4HZZQGXpo41sqvqxcu2B74nO/i9fMHhPv7FqIkbh6YS3RKk2jv s9/Z0IdtmP+XIzAdOC+74b+3t7LwEjYXmHK4TdsYyuEvMhb4+Radlh2MUlwimn2cVR2iJJroU vtQ3MeXX+U6YVNAps5Taa/OI1vIR4H6kDe8FL40YgZaan9WxvIaLvtkT4f+0KmM5utAJragss LLMt7yJEQ/D7VNYX2wSl3MATwRgxuJwo8ahqTWsdLhQp8h8F52lZMqXgPhF7gBnSGMigd09yK hXYXI7TF7iX68nILN+xpgYV2rF7a5dfN8X8MrEHFXLhUm56hPCZnY0oHWLJvvIhTsgSDbNq1d HKJ7gF+h5ZQxveBSxAkghg+2DZNJTU0jOgNPzNuuvq+gYneawjIt5rQ6LbmYZN4hCnWRGum8C dV2k29O1nLLcgvXu1ZvjQsXrVIDq60ZultKQAuxFc= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17205 Cc: 17205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Michael Heerdegen writes: > Lars Ingebrigtsen writes: > > > Do all these cases work for you, too, in Emacs 28? > > All of my reported issues seem to be fixed indeed, thanks! But a tiny > thing remains: in the > > ((nil . ((a . "hallo") > (subdirs . nil)))) > > scenario, the variable `a' is not bound in the dired buffer for the > directory the .dir-locals.el file lives in. Seems that in this case this test (unexpectedly) fails: (equal root default-directory) where in my case root --> /home/micha/ and default-directory --> "~/". Regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 19:14:49 2021 Received: (at 17205) by debbugs.gnu.org; 26 Jan 2021 00:14:49 +0000 Received: from localhost ([127.0.0.1]:40403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4C0O-0005gu-Vd for submit@debbugs.gnu.org; Mon, 25 Jan 2021 19:14:49 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4C0M-0005ge-Re for 17205@debbugs.gnu.org; Mon, 25 Jan 2021 19:14:47 -0500 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=0sqTqfQ2fP4pH5AyoC8cKS1RxllQP3ptPN6ntqzvKKk=; b=VsR06rm/ZIGuDCw6E75m7/u8Lr 1wvmkI94TsNLwdMrs+jR9gwqNXJerrEMnx2hWHQ9w49zK2YQgMKbIbkhpMiZNwD7qUMu/0+4i6bQT SO+QSWqKsTDdt/HbTLlvvGfDtaR1YONsJcr9nNnrgtaMbhI843nLoSLoa+xjLcKWht74=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4C0E-0002zm-Bs; Tue, 26 Jan 2021 01:14:40 +0100 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#17205: 24.3.50; dired and directory variables References: <877g72d3d4.fsf@web.de> <87o8hfs3or.fsf@gnus.org> <87zh0yqg7o.fsf@web.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVXSixFOiaOeD1t ZFIsJh/////yrKqJAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UBGgAMOAwuSUgAAAGiSURBVDjLbZML koMwCIbBeADYcgCbXsCtPUCY5f5nWkiiRqfp2Ix8+XlGQAIkRLguZMjvnNP2ztsFMNeNIPmPgHwd CmSkX/Z3f9DfuNkZtutSBg5PHI//Y3NsZlV8gL4slhLfgVgjDUDPw9OaLUQqg8JTQnLFO39cUn2B DSFKzot2X6BDjL+cXxqZ3YOXvGz2BWCZnqXVgiMgsWnByMuLZJDjPNljDw63rKYtP7WXCHamZT8p P+0biDqsp3UFsC1dIWBHEDGFvJyuzuhmUx4VdfcyUKys0mPswO1TN97Bmn/DhH1WFfiOtEwOCl2B sV+GaY55d19iTQE+lp85DNyDNOBjR0rSLAPwLm8vqIBtABFgnVYII30GoPXyMESMGmgHQvGNaD1c jiLroCCtguUOfJAuMG7g6AqIYq1KeL4qmDWq0lkD0Ogq+u3dq4BPoFIbp6hct1NhtIbzuYF1BGmu CpEoVk6gKRqWoF5OG4A9YqhKafGB2eDKr0DtkCYu+zwaUGpzLBJh/CPcgZQGPDU+qm8m7N2e/a6L DmBfqO7IFX7uH3vLsHede+JSAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAxLTI2VDAwOjEyOjU1 KzAwOjAwlFhVdwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0yNlQwMDoxMjo1NSswMDowMOUF 7csAAAAASUVORK5CYII= X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (2): The Delta Sweete_: "Reunion" Date: Tue, 26 Jan 2021 01:14:37 +0100 In-Reply-To: <87zh0yqg7o.fsf@web.de> (Michael Heerdegen's message of "Sun, 24 Jan 2021 20:37:15 +0100") Message-ID: <87v9bkmu4y.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: >> Do all these cases work for you, too, in Emacs 28? > > All of my reported issues seem to be fixed indeed, thanks! But a tiny > thing remains: in the > > ((nil . ((a . "hallo") > (subdirs . nil)))) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17205 Cc: 17205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: >> Do all these cases work for you, too, in Emacs 28? > > All of my reported issues seem to be fixed indeed, thanks! But a tiny > thing remains: in the > > ((nil . ((a . "hallo") > (subdirs . nil)))) > > scenario, the variable `a' is not bound in the dired buffer for the > directory the .dir-locals.el file lives in. I would expect it to be. [...] > Seems that in this case this test (unexpectedly) fails: > > (equal root default-directory) > > where in my case root --> /home/micha/ and default-directory --> "~/". Yup; I was able to reproduce that, too, and slapping an expand-file-name on default-directory fixed this. So I think that's all in this bug report (it doesn't sound like subdirs in .dir-locals.el is used a lot, does it?), and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 19:15:01 2021 Received: (at control) by debbugs.gnu.org; 26 Jan 2021 00:15:01 +0000 Received: from localhost ([127.0.0.1]:40406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4C0b-0005hN-Ak for submit@debbugs.gnu.org; Mon, 25 Jan 2021 19:15:01 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4C0Z-0005hB-GZ for control@debbugs.gnu.org; Mon, 25 Jan 2021 19:15:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=M5AnBQPMDQb/lO3hoVGu+a1d1rWO/SijRwaq7b3bbSo=; b=PX7RUZyeRi5XgGMUbHyTfXQ3tD PVHX1qceytsSfLrfUxuzInqBSijFcnNL4dXfXO1NcR3UnPxFaE7b4kkjUTMausVfET5Bz1YrmRT3K jwPYA3sjYePdNZQ37izqaIE8LwJkdLKkR1PtQmJbZGthkg1JEVBN2USNjKN1cgq/IhPc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4C0R-0002zx-Vl for control@debbugs.gnu.org; Tue, 26 Jan 2021 01:14:54 +0100 Date: Tue, 26 Jan 2021 01:14:50 +0100 Message-Id: <87tur4mu4l.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17205 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17205 fixed close 17205 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17205 fixed close 17205 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 07:22:42 2021 Received: (at 17205) by debbugs.gnu.org; 26 Jan 2021 12:22:43 +0000 Received: from localhost ([127.0.0.1]:40956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4NMo-0006nx-Ln for submit@debbugs.gnu.org; Tue, 26 Jan 2021 07:22:42 -0500 Received: from mout.web.de ([212.227.15.3]:40543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4NMm-0006nh-AV for 17205@debbugs.gnu.org; Tue, 26 Jan 2021 07:22:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1611663754; bh=PXEqHbu4V689tWpZwuLZ8y803lsCIG1/6BIr5JE+QXU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HrNUulCRf9HqvQXr++UY/leavZgNgKsRxN6xREp1AJWeV1LOT5+ZHdixSuRn8OEaS vXQDIy3iz/Lo1xaBdsOuYfbkddC25ejgSGACorj4Q7g4NOZ4agWeRr9YDyx/E+mcin /Vdzhcmc1TCnv+TFIXPhivzyQgXMltWFPpPW6mMM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.223.115]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MLifk-1lM2m13QOW-00HekG; Tue, 26 Jan 2021 13:22:33 +0100 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#17205: 24.3.50; dired and directory variables References: <877g72d3d4.fsf@web.de> <87o8hfs3or.fsf@gnus.org> <87zh0yqg7o.fsf@web.de> <87v9bkmu4y.fsf@gnus.org> Date: Tue, 26 Jan 2021 13:22:32 +0100 In-Reply-To: <87v9bkmu4y.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 26 Jan 2021 01:14:37 +0100") Message-ID: <87pn1rj3av.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Hj3i/83vlfjqMmVh12ho+MhfPMOqnVYLlWEQKAdxO8pYSBaNmPo j2Gf2xMlmMaNyIoZ+p6ZhWAsRFbwYQP5FzBpVyhG28LDrjjDg1HeMXwipbdXDh+RaactMoz P75nfRoU2ka9tSkFbiHXcjA6XmEocSkFZSMTxDg3xILhHUPsqx0fzO4BAkR8ZP3Q99TbSLC 8FR8MoaxNj7yGxyo+PKKw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rpb0F3qXPpE=:tlmBG1KE4Jgu0BPTVdjHFy lek05b7QuF+kutIf+Jb0PmtmFbtdWur13v7iTYl+ynEQBe2WG9TmtzWojCbRQDCgBDtQF+J3d pwY9QmQq5yFXsWge1EmwKv9q/85Tcyczp+EzfRg9xF+P2drMzMgEoiCi1YY3SYt6npMzqc4JP HtY5Ky7jrX8HptaqaM/H03r47LJXvey/SLUlEZcyS3TQ2giYx6wFPtZUwMFqNkaeuReAooJTZ bkdqeKbCN90LHF3YmqpJ1Zl089TCelHW0jJQirb8MYp+9+P8l9Mpex9PjUl3kRCJzngCM1C1x iWysCEBZv0jtdC1gqGIKwRYbagENdzMliOr2MYOkCKApPcbyoE23BQ+OX487b+bSHNrN0U9qB h/bnfuuRdpHAN9zxWWsxbsZ8HUUfnD/HS7MW8kgXJIiidc6ODbIqh5ahLQwL+l116nfg9slPw 4XN602+I7t9aXep4JUd5gDAczazY+rEzFQ9Cfjdru64lc7e3Btrfe6Ift1ZTzOXRd+Xn67yxF k9ZZp4Fo9IxN5fL7CkeZkBFZL4kZydTpdVD/RDIiPaMozn9+EsxBGk5OrH5aNZB6veGHVPtkV GQo3mjc5P9GCT7zdvUqPevkMFTYwTHveKdTWdfvtW99kBaDCH8A4b3KRTbwkxdzLBFusVyuPD wRcyqezajckpgG1egHFK1FRwVb9tT/Yg+IQsXimIJ6eSUBGZaglR5BsJIuGCHZk0+gsr418mZ eRhKvHExpE42luH+t1USOoSf3mVJh95xrs9TQDaHQ8+rzIBE1vjwaMY+gdUMmyRaoh9VOGiDX RdvABw0YzYS6u6bOxl63e/5MO1m5Tj3jl3N2PWYjsMA+8MC6K86nXX0z1IRN0xkWSA8Kq4XqV 28z9dj5ebUNxv3hMtsoLh9ldQ9dqJsRfY6Rv9GMH4= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17205 Cc: 17205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Yup; I was able to reproduce that, too, and slapping an expand-file-name > on default-directory fixed this. So I think that's all in this bug > report (it doesn't sound like subdirs in .dir-locals.el is used a lot, > does it?), Yes, I think so, and also dir locals in dired. More generally, directory local variables have some more potential that isn't used so far, in my opinion. > and I'm closing this bug report. Thanks for your work, Lars! Regards, Michael. From unknown Tue Jun 24 13:56:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Feb 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator