GNU bug report logs -
#29597
26.0.90; line-number-display-width returns incorrect width
Previous Next
Reported by: Paul Rankin <hello <at> paulwrankin.com>
Date: Thu, 7 Dec 2017 05:36:02 UTC
Severity: normal
Tags: notabug
Found in version 26.0.90
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Fri, Dec 8, 2017 at 10:55 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
>> Date: Fri, 8 Dec 2017 10:37:09 -0500
>> Cc: Paul Rankin <hello <at> paulwrankin.com>, 29597 <at> debbugs.gnu.org
>>
>> (line-number-display-width) => 2
>> (line-number-display-width t) => the equivalent in pixels
>
> Actually, equivalent to what? If to 2 (not 4), then this value would
> be useless, I think. And if it's equivalent to 4, then it should be
> (line-number-display-columns t), right?
Oh, yes, I was confused. Because packing so many conditions into the
function interface is confusing (I seem to recall Dmitry raised the
same point when you were introducing the function).
> I don't object to such trivial wrappers, although I'd raise a brow if
> I saw something like this in Emacs. It sounds too trivial to have 2
> more symbols in the name-space. But that's me.
Is the symbol space really a scarce resource?
This bug report was last modified 7 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.