GNU bug report logs - #67161
30.0.50; [PATCH] Add option `dired-filename-display-length'

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Tue, 14 Nov 2023 09:55:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #97 received at 67161 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: liuhui1610 <at> gmail.com, 67161 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#67161: 30.0.50; [PATCH] Add option
 `dired-filename-display-length'
Date: Sun, 26 Nov 2023 16:53:42 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Liu Hui <liuhui1610 <at> gmail.com>,  juri <at> linkov.net,  67161 <at> debbugs.gnu.org
> Date: Sun, 26 Nov 2023 09:03:39 -0500
> 
> > However, I'm beginning to think that this is a subtle misfeature in
> > 'concat': it should support vector of glyphs with faces, and should
> > preserve the face information (my patch simply discards faces, which
> > could perhaps affect string-width result).
> 
> Hmm...  It's hard for me to judge because I don't really understand why
> we have "vectors of glyphs".

They are stored in display-tables.

> If vectors of glyphs can express things we can't express in a
> string, then the question is what should `concat` do in that case,
> and if we can then ... why do we even have vectors of glyphs?

See above.  I don't know why display-tables store vectors and not
strings, but it was like that forever.




This bug report was last modified 1 year and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.