unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
@ 2021-08-30 13:13 積丹尼 Dan Jacobson
  2021-08-30 16:06 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-08-30 13:13 UTC (permalink / raw)
  To: 50272


describe-char and C-u C-x = neglect mentioning anything about width. Try
them on
$ unicode --max 0 --brief -r BOX.*X
☒ U+2612 BALLOT BOX WITH X
⮽ U+2BBD BALLOT BOX WITH LIGHT X
🗵 U+1F5F5 BALLOT BOX WITH SCRIPT X
🗷 U+1F5F7 BALLOT BOX WITH BOLD SCRIPT X
They go into great detail, but miss mentioning width.
Some occupy one column, some two, we can see that. But the commands
don't mention it. emacs-version "27.1".





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
  2021-08-30 13:13 bug#50272: describe-char and C-u C-x = neglect mentioning anything about width 積丹尼 Dan Jacobson
@ 2021-08-30 16:06 ` Eli Zaretskii
  2021-08-31  1:20   ` Lars Ingebrigtsen
  2022-08-22 16:52   ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2021-08-30 16:06 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 50272

> From: 積丹尼 Dan Jacobson
>  <jidanni@jidanni.org>
> Date: Mon, 30 Aug 2021 21:13:45 +0800
> 
> describe-char and C-u C-x = neglect mentioning anything about width. Try
> them on
> $ unicode --max 0 --brief -r BOX.*X
> ☒ U+2612 BALLOT BOX WITH X
> ⮽ U+2BBD BALLOT BOX WITH LIGHT X
> 🗵 U+1F5F5 BALLOT BOX WITH SCRIPT X
> 🗷 U+1F5F7 BALLOT BOX WITH BOLD SCRIPT X
> They go into great detail, but miss mentioning width.

You mean, you'd like to see which characters are "double-width"?  We
could add that, but on GUI frames that would just confuse, because
those "double-width" characters more often than not take less than two
full columns, especially if you happen to use variable-pitch font for
such exotic characters (something that happens quite a lot).

The width information is only more-or-less accurate on text-mode
terminals.  I wonder how to avoid confusing users with this.

Does anyone have ideas?






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
  2021-08-30 16:06 ` Eli Zaretskii
@ 2021-08-31  1:20   ` Lars Ingebrigtsen
  2021-08-31 12:34     ` Eli Zaretskii
  2022-08-22 16:52   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-31  1:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50272, 積丹尼 Dan Jacobson

Eli Zaretskii <eliz@gnu.org> writes:

> You mean, you'd like to see which characters are "double-width"?  We
> could add that, but on GUI frames that would just confuse, because
> those "double-width" characters more often than not take less than two
> full columns, especially if you happen to use variable-pitch font for
> such exotic characters (something that happens quite a lot).
>
> The width information is only more-or-less accurate on text-mode
> terminals.  I wonder how to avoid confusing users with this.
>
> Does anyone have ideas?

We could have the command only mention the double-width-ness on
terminals?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
  2021-08-31  1:20   ` Lars Ingebrigtsen
@ 2021-08-31 12:34     ` Eli Zaretskii
  2021-08-31 13:58       ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2021-08-31 12:34 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50272, jidanni

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 積丹尼 Dan Jacobson <jidanni@jidanni.org>,
>   50272@debbugs.gnu.org
> Date: Tue, 31 Aug 2021 03:20:08 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > You mean, you'd like to see which characters are "double-width"?  We
> > could add that, but on GUI frames that would just confuse, because
> > those "double-width" characters more often than not take less than two
> > full columns, especially if you happen to use variable-pitch font for
> > such exotic characters (something that happens quite a lot).
> >
> > The width information is only more-or-less accurate on text-mode
> > terminals.  I wonder how to avoid confusing users with this.
> >
> > Does anyone have ideas?
> 
> We could have the command only mention the double-width-ness on
> terminals?

I don't think this is what the OP wants.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
  2021-08-31 12:34     ` Eli Zaretskii
@ 2021-08-31 13:58       ` 積丹尼 Dan Jacobson
  0 siblings, 0 replies; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-08-31 13:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Lars Ingebrigtsen, 50272

>> We could have the command only mention the double-width-ness on
>> terminals?

EZ> I don't think this is what the OP wants.

All I know is in my world, everything is only one or two columns wide.

And even if in some worlds it isn't, it would always be good to know
how wide it is in other worlds. Therefore always show it. Please.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#50272: describe-char and C-u C-x = neglect mentioning anything about width
  2021-08-30 16:06 ` Eli Zaretskii
  2021-08-31  1:20   ` Lars Ingebrigtsen
@ 2022-08-22 16:52   ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-22 16:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50272, 積丹尼 Dan Jacobson

Eli Zaretskii <eliz@gnu.org> writes:

>> describe-char and C-u C-x = neglect mentioning anything about width. Try
>> them on
>> $ unicode --max 0 --brief -r BOX.*X
>> ☒ U+2612 BALLOT BOX WITH X
>> ⮽ U+2BBD BALLOT BOX WITH LIGHT X
>> 🗵 U+1F5F5 BALLOT BOX WITH SCRIPT X
>> 🗷 U+1F5F7 BALLOT BOX WITH BOLD SCRIPT X
>> They go into great detail, but miss mentioning width.
>
> You mean, you'd like to see which characters are "double-width"?

All of these are "single-width", as far as I can tell?

(elt char-width-table ?⮽)
=> 1

We mostly have the double-widthness for East Asian characters:

(elt char-width-table ?㊟)
=> 2

> We could add that, but on GUI frames that would just confuse, because
> those "double-width" characters more often than not take less than two
> full columns, especially if you happen to use variable-pitch font for
> such exotic characters (something that happens quite a lot).

That, in conjunction with all so many characters being wider visually
than the "double-width" characters makes me thing that displaying this
information would just be confusing all around.  So I'm closing this as
a "wontfix".






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-22 16:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 13:13 bug#50272: describe-char and C-u C-x = neglect mentioning anything about width 積丹尼 Dan Jacobson
2021-08-30 16:06 ` Eli Zaretskii
2021-08-31  1:20   ` Lars Ingebrigtsen
2021-08-31 12:34     ` Eli Zaretskii
2021-08-31 13:58       ` 積丹尼 Dan Jacobson
2022-08-22 16:52   ` Lars Ingebrigtsen

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).