emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: on helm substantial differences


From: Eli Zaretskii
Subject: Re: on helm substantial differences
Date: Wed, 25 Nov 2020 17:51:30 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: spacibba@aol.com,  bugs@gnu.support,  andreyk.mad@gmail.com,
>   emacs-devel@gnu.org,  contovob@tcd.ie,  rudalics@gmx.at,
>   monnier@iro.umontreal.ca,  ghe@sdf.org,  drew.adams@oracle.com
> Date: Wed, 25 Nov 2020 11:10:05 +0200
> 
> > Then I think we should just use 5.
> 
> tab-width=5 doesn't help to align characters in the second column
> when completions are displayed in two columns.
> 
> To align the second column, 'completion--insert-strings'
> inserts " \t" with `(display (space :align-to ,column)).
> 
> So when completions use \t to separate a character from its name,
> then the two-column layout schematically looks like this:
> 
> character1 \t name1   \t with :align-to   character2 \t name2
> 
> And tab-width doesn't align properly \t between character2 and name2.

I don't think I understand why.  Maybe the value of :align-to needs
tuning?  If not, what is the problem here?

> It seems font-get-glyphs can't be used because on wide characters it
> returns nil:
> 
> (font-get-glyphs (font-at (point)) 0 1 "𒐫")
> => [nil]

Is this with point on that wide character?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]