From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67161: 30.0.50; [PATCH] Add option `dired-filename-display-length' Date: Sun, 26 Nov 2023 19:58:18 +0200 Message-ID: <83sf4s9z2d.fsf@gnu.org> References: <8334x8tqi9.fsf@gnu.org> <83a5rfrych.fsf@gnu.org> <83sf55q4nc.fsf@gnu.org> <83jzqfmiuj.fsf@gnu.org> <83jzq6cdfx.fsf@gnu.org> <86y1elzq58.fsf@mail.linkov.net> <83lealbnz5.fsf@gnu.org> <83edgdawce.fsf@gnu.org> <83v89oa7m1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: liuhui1610@gmail.com, 67161@debbugs.gnu.org, juri@linkov.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 26 19:00:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r7JQV-0008vK-1u for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Nov 2023 19:00:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7JQE-0003I3-0j; Sun, 26 Nov 2023 12:59:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7JQD-0003Hq-Dc for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2023 12:59:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7JQD-0006DY-5J for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2023 12:59:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7JQI-0006kR-MQ for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2023 13:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Nov 2023 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67161 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67161-submit@debbugs.gnu.org id=B67161.170102154325848 (code B ref 67161); Sun, 26 Nov 2023 18:00:02 +0000 Original-Received: (at 67161) by debbugs.gnu.org; 26 Nov 2023 17:59:03 +0000 Original-Received: from localhost ([127.0.0.1]:42660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7JPK-0006ip-JW for submit@debbugs.gnu.org; Sun, 26 Nov 2023 12:59:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7JPF-0006iI-5s for 67161@debbugs.gnu.org; Sun, 26 Nov 2023 12:59:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7JP3-0005tR-M7; Sun, 26 Nov 2023 12:58:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MQ84kjKLlfzAxiELbeBe0XrMjx6rI3QIPFAEVOr3eEY=; b=ZYvQZj/CxF6D a2EP2Z7tO17S7cx8UEFhPiiE7ifqZNRptSD1kilWHtdjCG7zvw+TRvy3vqsQLcNSxVbEbdsKpvBq9 Ui9tBbe0m+Tn5Wcd1q4evHfP9g49b3f8a742oGkcOQxhIwUCs6PiTrKlgnybN4DIEMDSxEynQCYkj C5frBjuZv6FKdFfav4IMi2LYSeKaZ1+RiM437Jms2A0wUMQLgnEZkSJ7B1KCTSRIpzxPTCmXSe+hD YZkZ/DnxbGJZ9Skx6tn6ll4uTOhnNMlkNq/Ducd5/qrQA7lwBvCCo/42qH9FJ+9EVATH9ePO6JSg5 hGfNHcQAM5C7OMH7V+vEww==; In-Reply-To: (message from Stefan Monnier on Sun, 26 Nov 2023 12:08:04 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275070 Archived-At: > From: Stefan Monnier > Cc: liuhui1610@gmail.com, juri@linkov.net, 67161@debbugs.gnu.org > Date: Sun, 26 Nov 2023 12:08:04 -0500 > > >> 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. > > If everything we can do with vectors of glyphs can be done with strings > (i.e. vectors of glyphs are basically accidents of history), then it > seems it would make sense to auto-convert a vector of glyph to a string > *and* to phase out the use of vectors of glyphs. Yes, but who will have the energy and motivation to go over all the places that use the display-tables (both in Lisp and in C), and convert all of them to use strings with faces instead vectors of glyphs? To say nothing of the related documentation? And then we will probably discover that some subtle aspect of this is the real reason why we use vectors of glyphs...