GNU bug report logs - #19975
25.0.50; Add %s-like descriptor to `format' that treats nil like empty string

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 1 Mar 2015 15:34:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19975 <at> debbugs.gnu.org
Subject: bug#19975: 25.0.50; Add %s-like descriptor to `format' that treats nil like empty string
Date: Sun, 01 Mar 2015 17:44:46 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Enhancement request.  Add a new format descriptor to `format' that would
> behave just like %s except that a nil argument would be treated as if it
> were "".

It's easy enough to use (or foo "").

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 9 years and 25 days ago.

Previous Next


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