GNU bug report logs - #28258
26.0.50; [PATCH] Let file-name-base succeed when buffer-file-name is nil

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Mon, 28 Aug 2017 02:24:01 UTC

Severity: wishlist

Tags: patch

Found in version 26.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 28258 <at> debbugs.gnu.org, Mohammed Sadiq <sadiq <at> sadiqpk.org>
Subject: Re: bug#28258: 26.0.50; [PATCH] Let file-name-base succeed when
 buffer-file-name is nil
Date: Tue, 19 Sep 2017 08:46:30 +0000
[Message part 1 (text/plain, inline)]
Philipp Stephani <p.stephani2 <at> gmail.com> schrieb am Di., 19. Sep. 2017 um
10:31 Uhr:

> Glenn Morris <rgm <at> gnu.org> schrieb am Di., 19. Sep. 2017 um 02:41 Uhr:
>
>>
>> > I do agree that the calling convention of `file-name-base' is odd. How
>> > about making the argument mandatory (initially only by changing the
>> > advertised calling convention and the docstring)?
>>
>> Sounds good to me.
>>
>
> OK, here's a patch.
>

New version of the patch, with all callers and the manual fixed.
[Message part 2 (text/html, inline)]
[0001-Make-FILENAME-argument-of-file-name-base-mandatory.txt (text/plain, attachment)]

This bug report was last modified 7 years and 236 days ago.

Previous Next


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