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#57693: 29.0.50; Is there a more reliable version of `char-displayable-p'? Date: Sun, 19 Feb 2023 14:23:28 +0200 Message-ID: <83ttzhx2rj.fsf@gnu.org> References: <87v8pw1xyo.fsf@localhost> <878rmr25tk.fsf@localhost> <83czc3bvbg.fsf@gnu.org> <87y1urybt6.fsf@localhost> <837d2bbr2s.fsf@gnu.org> <87edwjy77h.fsf@localhost> <831qsjboy0.fsf@gnu.org> <87v8puw945.fsf@localhost> <838rmq9rfr.fsf@gnu.org> <837d2a9qcu.fsf@gnu.org> <875yhtw3ed.fsf@localhost> <831qmo146g.fsf@gnu.org> <83wn4fzcl5.fsf@gnu.org> <83lekvz605.fsf@gnu.org> <871qmnky3b.fsf@localhost> <83cz67yyon.fsf@gnu.org> <87edqlki2b.fsf@localhost> <83zg99x42y.fsf@gnu.org> <877cwdkgbz.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29520"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57693@debbugs.gnu.org, stefankangas@gmail.com, yantar92@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 19 13:24:11 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 1pTiji-0007TG-VE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 13:24:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTijc-0005oi-D7; Sun, 19 Feb 2023 07:24:04 -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 1pTija-0005hJ-QF for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 07:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTija-0002SL-E1 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 07:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTija-0002RL-AI for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 07:24: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, 19 Feb 2023 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57693 X-GNU-PR-Package: emacs Original-Received: via spool by 57693-submit@debbugs.gnu.org id=B57693.16768094149332 (code B ref 57693); Sun, 19 Feb 2023 12:24:02 +0000 Original-Received: (at 57693) by debbugs.gnu.org; 19 Feb 2023 12:23:34 +0000 Original-Received: from localhost ([127.0.0.1]:45908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTij8-0002QR-8R for submit@debbugs.gnu.org; Sun, 19 Feb 2023 07:23:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTij5-0002QC-7p for 57693@debbugs.gnu.org; Sun, 19 Feb 2023 07:23:32 -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 1pTiiy-0002QG-Um; Sun, 19 Feb 2023 07:23:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bxtjPIF1sY+eBTegF4Td8geVfhxvMbLS3PrFkiNaDyc=; b=r0mo7/Dgqdh9agT7C4z0 Dt/kd17p5POJvz8MaBxuB8xHLnN5/VP9/Pd3LKP3EEZg1XxUDZsFnVIthoJgmW3WlFNWvW7zjAlXL Lvm/WYw0F3UdMoKngMEGubrxpD2MAujkMkx5cdcoxMI1HlHbrLGYvYY98jlxCvW8yoL2qz+X/J6DT 4GMDOP0ZucZMidKEypJQZ+io/ZQIF+9YEILgF5R5oN5QRgtO1uoeISE+bWItSv7xTB95gklOFZP8P nyAFOaGdCBE7hFttzNFsJ2hsEhHLPgRTMlqzpBt04K45uG5JKhNxrYPQ1HTah7Vw6eNvXa2hdVCOo VEPPuk9FF/ONgg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTiix-0007XE-A4; Sun, 19 Feb 2023 07:23:24 -0500 In-Reply-To: <877cwdkgbz.fsf@localhost> (message from Ihor Radchenko on Sun, 19 Feb 2023 12:08:48 +0000) 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:256061 Archived-At: > From: Ihor Radchenko > Cc: stefankangas@gmail.com, yantar92@gmail.com, 57693@debbugs.gnu.org > Date: Sun, 19 Feb 2023 12:08:48 +0000 > > Eli Zaretskii writes: > > >> or within text-properties > > > > Only if really needed. Adding a text property for this will > > complicate the display code which handles this, so I'd rather we > > didn't unless we have a _very_ good reason. And I don't see such a > > reason, since we are talking about characters that cannot be displayed > > by any available font, something that is unlikely to be limited to > > just a small region of text. > > The replacement may only make sense in particular context. For example, > mode line indicator for newlines can be ?: or ?\ or ?/. If we want to > display a more intuitive Unicode char like ?⏎ or ?‸, it does not make > sense to replace all the ?⏎ in buffer with ?:. We could have a special glyphless-char-display table for mode-line and header-line. Buffer-local values don't apply well to those anyway, because they display strings, not buffer text.