all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Paul Rankin <hello@paulwrankin.com>, 29597@debbugs.gnu.org
Subject: bug#29597: 26.0.90; line-number-display-width returns incorrect width
Date: Fri, 8 Dec 2017 11:23:18 -0500	[thread overview]
Message-ID: <CAM-tV-8LGUgGt4ERA5pcLbT8ULaePptKK5KBEGGQRgs1+VDxKA@mail.gmail.com> (raw)
In-Reply-To: <831sk5w6xb.fsf@gnu.org>

On Fri, Dec 8, 2017 at 10:55 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Noam Postavsky <npostavs@users.sourceforge.net>
>> Date: Fri, 8 Dec 2017 10:37:09 -0500
>> Cc: Paul Rankin <hello@paulwrankin.com>, 29597@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?





  reply	other threads:[~2017-12-08 16:23 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
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM-tV-8LGUgGt4ERA5pcLbT8ULaePptKK5KBEGGQRgs1+VDxKA@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=29597@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=hello@paulwrankin.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.