GNU bug report logs - #77229
[PATCH] Add 'project-customize-dirlocals'

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Mon, 24 Mar 2025 03:59:01 UTC

Severity: normal

Tags: patch

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77229 <at> debbugs.gnu.org, Mauro Aranda <maurooaranda <at> gmail.com>
Subject: bug#77229: [PATCH] Add 'project-customize-dirlocals'
Date: Mon, 24 Mar 2025 12:24:53 -0600
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Mon, 24 Mar 2025 06:45:27 -0300
>> From: Mauro Aranda <maurooaranda <at> gmail.com>

>>  > +(defun project-customize-dirlocals ()
>>  > +  "Run `customize-dirlocals' in current project's root."
>>  > +  (interactive)
>>  > +  (customize-dirlocals (concat (project-root (project-current t)) 
>> ".dir-locals.el")))
>>  > +

>> Would you change it to use file-name-concat or expand-file-name? From
>> past discussions, I think that using concat for file names is
>> discouraged.

> Yes, but file-name-concat is also not right here.  Please use
> expand-file-name.

Done.



[Message part 2 (text/html, inline)]
[0001-Add-project-customize-dirlocals.patch (text/x-patch, attachment)]
[Message part 4 (text/plain, inline)]
-- 
                                          - E.G via GNU Emacs and Org.

This bug report was last modified 106 days ago.

Previous Next


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