GNU bug report logs - #59756
[PATCH] Use file-name-nondirectory to determine project-name

Previous Next

Package: emacs;

Reported by: Randy Taylor <dev <at> rjt.dev>

Date: Fri, 2 Dec 2022 03:35:01 UTC

Severity: normal

Tags: patch

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Randy Taylor <dev <at> rjt.dev>
Subject: bug#59756: closed (Re: bug#59756: [PATCH] Use file-name-nondirectory
 to determine project-name)
Date: Fri, 02 Dec 2022 15:25:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59756: [PATCH] Use file-name-nondirectory to determine project-name

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59756 <at> debbugs.gnu.org.

-- 
59756: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59756
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Randy Taylor <dev <at> rjt.dev>, 59756-done <at> debbugs.gnu.org
Subject: Re: bug#59756: [PATCH] Use file-name-nondirectory to determine
 project-name
Date: Fri, 2 Dec 2022 17:24:11 +0200
On 02/12/2022 05:34, Randy Taylor wrote:
> X-Debbugs-CC: dgutov <at> yandex.ru <mailto:dgutov <at> yandex.ru>
> 
> If a project is named something like ".emacs.d", file-name-base will 
> return ".emacs" instead of ".emacs.d" as expected (or at least as I 
> expect it).
> 
> Therefore, we use file-name-nondirectory instead.

Applied, thanks!

[Message part 3 (message/rfc822, inline)]
From: Randy Taylor <dev <at> rjt.dev>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Use file-name-nondirectory to determine project-name
Date: Fri, 02 Dec 2022 03:34:30 +0000
[Message part 4 (text/plain, inline)]
X-Debbugs-CC: dgutov <at> yandex.ru

If a project is named something like ".emacs.d", file-name-base will return ".emacs" instead of ".emacs.d" as expected (or at least as I expect it).

Therefore, we use file-name-nondirectory instead.
[Message part 5 (text/html, inline)]
[0001-Use-file-name-nondirectory-to-determine-project-name.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 166 days ago.

Previous Next


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