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: Fri, 17 Feb 2023 21:29:27 +0200 Message-ID: <831qmo146g.fsf@gnu.org> References: <87v8pw1xyo.fsf@localhost> <83a678d5w6.fsf@gnu.org> <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> 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="12166"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@gmail.com, 57693@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 17 20:30:23 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 1pT6R4-0002yu-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Feb 2023 20:30:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT6Qm-0003yC-9O; Fri, 17 Feb 2023 14:30: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 1pT6Qk-0003xg-Fu for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 14:30: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 1pT6Qk-0002NP-6E for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 14:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT6Qj-0005rC-RB for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 14:30:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2023 19:30:01 +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.167666217522457 (code B ref 57693); Fri, 17 Feb 2023 19:30:01 +0000 Original-Received: (at 57693) by debbugs.gnu.org; 17 Feb 2023 19:29:35 +0000 Original-Received: from localhost ([127.0.0.1]:41602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6QI-0005q9-Tn for submit@debbugs.gnu.org; Fri, 17 Feb 2023 14:29:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT6QH-0005pt-Ey for 57693@debbugs.gnu.org; Fri, 17 Feb 2023 14:29:33 -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 1pT6QB-0002Jo-M0; Fri, 17 Feb 2023 14:29:28 -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=3RKuRByxvO6ujlrtktiGvT3XP8Vgj5Ox1ZuZOFSnTaA=; b=kVxWKr9nYvBs4bIpb66z R+YhsbncclYC6fpi6GDo9qMUD+cjUFEenQQVp56/gNWV4m4IVr2gx4OcD3JM9NnrFN7S5YSF9YkpD wEAOkLIFB80PRpV71E7Rrv/osaP8F+Xxr1/WY1W2Vytoq95F5QKRA0q1GE/+p2H98CSxR6OZIv4uY 3E6SeTOoJDci+Q+bp7WkVf4YeZyJ+SNmXOwhsoFhmxN9kP+dXzCHNqJHKl1cem/nKvkhKV/sjjAn3 c56SYteJzXSJvi4YLz6bu9wCMNyd+gikQhQTatuBstci8tAXgQUnNbd8kCUfIaFnMqak6cOweYCfP RVqYdPXor2N11Q==; 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 1pT6QA-0006IT-RQ; Fri, 17 Feb 2023 14:29:27 -0500 In-Reply-To: (message from Stefan Kangas on Fri, 17 Feb 2023 11:18:45 -0800) 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:255901 Archived-At: > From: Stefan Kangas > Date: Fri, 17 Feb 2023 11:18:45 -0800 > Cc: 57693@debbugs.gnu.org > > Ihor Radchenko writes: > > > I am thinking about something like below (to insert string, not a char), > > > > (defun org-insert-displayable (&rest strings) > [snip] > > Should we put something like this in subr.el or perhaps subr-x.el? Something like what? If you want to suggest some specific function, please show the proposed code, and let's take it from there. Otherwise, this bug discussion was long and considered several issues, and it is hard to know what you have in mind. > I can see a need for it in many more places. For example, I'm looking > into improving the header-line-format in calc-mode with some Unicode > characters instead of a simple en dash (i.e. "‒" instead of "-"). And what is the problem with using char-displayable-p in that case?