GNU bug report logs - #69822
[PATCH] format-spec pads when it should only truncate

Previous Next

Package: emacs;

Reported by: Adam Porter <adam <at> alphapapa.net>

Date: Sat, 16 Mar 2024 02:30:02 UTC

Severity: normal

Tags: patch

Done: Adam Porter <adam <at> alphapapa.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Adam Porter <adam <at> alphapapa.net>
Cc: basil <at> contovou.net, 69822 <at> debbugs.gnu.org
Subject: bug#69822: [PATCH] format-spec pads when it should only truncate
Date: Sun, 17 Mar 2024 08:23:26 +0200
> Date: Sat, 16 Mar 2024 23:12:16 -0500
> Cc: 69822 <at> debbugs.gnu.org, "Basil L. Contovounesios" <basil <at> contovou.net>
> From: Adam Porter <adam <at> alphapapa.net>
> 
> Hi Eli, Basil,
> 
> On 3/16/24 05:22, Eli Zaretskii wrote:
> 
> > I don't understand why you consider it a bug.  According to the doc 
> > string (see below)...
> > 
> > So I don't think I agree that there's a bug here to begin with.  The 
> > doc string of format-spec says:
> > 
> > The width and truncation modifiers behave like the corresponding ones
> > in ‘format’ when applied to %s.
> 
> Thanks, now I understand.
> 
> Should I close the bug, or do you think the docstring should be changed 
> to help clarify this?

If there's something in the doc string that is unclear, please tell
what that is, and let's by all means try to find ways to clarify that.




This bug report was last modified 1 year and 55 days ago.

Previous Next


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