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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (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 167 days ago.

Previous Next


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