From: Paul Rankin <hello@paulwrankin.com>
To: 29597@debbugs.gnu.org
Subject: bug#29597: 26.0.90; line-number-display-width returns incorrect width
Date: Fri, 08 Dec 2017 11:44:06 +1000 [thread overview]
Message-ID: <1512697446.3649570.1197990904.2822A9C1@webmail.messagingengine.com> (raw)
In-Reply-To: <1512624891.1385920.1196858744.3908725A@webmail.messagingengine.com>
I had a look in the source of display-line-numbers.el in the repo but cannot find the definition of line-number-display-width.
But this is irrelevant, the line number width is clearly 4 characters, lining up with File in the menu bar.
(string-width "File")
4
It clearly fails to count to four. Adding a docstring that 2 really equals 4 is absurd.
Please don’t close bugs until they’re actually closed.
next prev parent reply other threads:[~2017-12-08 1:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 5:34 bug#29597: 26.0.90; line-number-display-width returns incorrect width Paul Rankin
2017-12-07 8:55 ` Eli Zaretskii
2017-12-08 1:44 ` Paul Rankin [this message]
2017-12-08 2:00 ` Noam Postavsky
2017-12-08 2:32 ` Paul Rankin
2017-12-08 15:01 ` Eli Zaretskii
2017-12-08 15:37 ` Noam Postavsky
2017-12-08 15:53 ` Eli Zaretskii
2017-12-08 15:55 ` Eli Zaretskii
2017-12-08 16:23 ` Noam Postavsky
2017-12-08 16:29 ` Eli Zaretskii
2017-12-08 22:39 ` Noam Postavsky
2017-12-08 14:22 ` Eli Zaretskii
2017-12-08 14:40 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512697446.3649570.1197990904.2822A9C1@webmail.messagingengine.com \
--to=hello@paulwrankin.com \
--cc=29597@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).