GNU bug report logs - #43439
[PATCH] doprnt improvements

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 16 Sep 2020 01:52:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 43439 <at> debbugs.gnu.org
Subject: bug#43439: [PATCH] doprnt improvements
Date: Thu, 15 Oct 2020 21:12:05 +0300
> Cc: 43439 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Thu, 15 Oct 2020 10:58:49 -0700
> 
> On 9/18/20 12:30 AM, Eli Zaretskii wrote:
> 
> > How about ... we modify doprint to exit when either it finds
> > NUL or reaches the character specified by FORMAT_END?  This will allow
> > us to keep some of the feature, and I think the amount of changes will
> > be smaller.  It should also not be much slower than what you propose.
> 
> Better yet, let's leave doprnt's API unchanged, and add a function evsnprintf 
> (named by analogy from esprintf) whose API is like C vsnprintf but which does 
> formatting the Emacs way.

No, let's not, please.  I didn't agree to modifying doprnt in
significant ways, so you are now suggesting to do an even more radical
modification, just under another name?  This is moving away of a
potential compromise point, not towards it.




This bug report was last modified 4 years and 238 days ago.

Previous Next


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