From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#57693: 29.0.50; Is there a more reliable version of `char-displayable-p'? Date: Sat, 10 Sep 2022 12:53:19 +0800 Message-ID: <875yhv25kw.fsf@localhost> References: <87v8pw1xyo.fsf@localhost> <87sfl07j9b.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28382"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57693@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 10 06:53:13 2022 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 1oWsUT-0007B6-HX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 06:53:13 +0200 Original-Received: from localhost ([::1]:46336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWsUS-0005Ts-0r for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 00:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWsUI-0005TJ-TY for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 00:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWsUI-0000Gj-JC for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 00:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWsUI-00042j-BW for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 00:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2022 04:53: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.166278555315486 (code B ref 57693); Sat, 10 Sep 2022 04:53:02 +0000 Original-Received: (at 57693) by debbugs.gnu.org; 10 Sep 2022 04:52:33 +0000 Original-Received: from localhost ([127.0.0.1]:36132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWsTo-00041i-Uz for submit@debbugs.gnu.org; Sat, 10 Sep 2022 00:52:33 -0400 Original-Received: from mail-pf1-f177.google.com ([209.85.210.177]:45904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWsTn-00041T-6P for 57693@debbugs.gnu.org; Sat, 10 Sep 2022 00:52:31 -0400 Original-Received: by mail-pf1-f177.google.com with SMTP id z187so3476980pfb.12 for <57693@debbugs.gnu.org>; Fri, 09 Sep 2022 21:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=pYsSvlKe6VeF8/qvaySZa/oPgb4qWy0m6UCqDetLT6M=; b=HByVH1I2GjxSZ9wkbordKMF1cMl8a4SPDM6kmbfYUc7/KTEAT930XDYUUQnP/BLr3x WiAmTQaW5M3ehTYxVBTWvrUS5++7OPT68fDsDesBrVrHe4Ov2lh1wrFFE8d6jT1W60Fp EGzUIoBz24I2Qu/wZK4H7THMhN7SKR0aS8g9g12MKATxuygpGFBFB7WQVodz+Fpla5xc u9isEbuC/65/DDX5DzpicEWOGntndY6YqJfxdsGbZ8ufUcukuOkb8aVkhfUAJVIjbf/q pRc21p6Hl8MDtWNNkx5p2E8v+9BXAqWCJ590yLWxr4ij9wVORVbNYD8qWp3gMGux09Sz lmEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=pYsSvlKe6VeF8/qvaySZa/oPgb4qWy0m6UCqDetLT6M=; b=BHtYZ9IyK6rFktrSTJJ4meRpgEbxF24vL4ZJwqHTf+YRiHDXr+wX1iL/dUygpHPtaQ QMW42yR93dPgbDFCi8TvZUbkehu6o4ajclFkgafsRwS03GfSlKWt2tUMpos2qq/UesJl K0EFtxmwNRPpcEyTTn5K0M9YE41nFNSy707cfopcdCuieId12dmEuP+WR5dTw09dvREZ HI4/b1QZq5gV/yoCZjdmeKwghGH55cOK8sjqMmH2U4isaM2ca/oXjurdrXbYQntR9n+n OMTVTLehR8AB9q1zBhdvqcr3d3n2L2rt9QdynvKrzl4sUFtJzczngIeWr83ClHtIx5vj JsYA== X-Gm-Message-State: ACgBeo1En3HerMmf9yP+js3WpPB3rf7mnDdJqh03J47FcfzgGW+jiJUf P6NxYLYTFOw7sNo3YLeHbyo= X-Google-Smtp-Source: AA6agR5H5kIfmv7MzIJ8wGjwQQp1AyW2yBUMbVOIZSujqAJVdZb9/CnXi+27b3jmbJy1dTsIfk71hw== X-Received: by 2002:a05:6a00:2395:b0:52f:723c:363 with SMTP id f21-20020a056a00239500b0052f723c0363mr17349372pfc.21.1662785545463; Fri, 09 Sep 2022 21:52:25 -0700 (PDT) Original-Received: from localhost ([1.83.154.15]) by smtp.gmail.com with ESMTPSA id z8-20020aa79e48000000b0053b850b17c8sm636691pfq.152.2022.09.09.21.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 21:52:24 -0700 (PDT) In-Reply-To: <87sfl07j9b.fsf@gmail.com> 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" Xref: news.gmane.io gmane.emacs.bugs:242057 Archived-At: Robert Pluim writes: > I=CA=BCd look at the guts of `describe-char-display' in > "lisp/descr-text.el" for inspiration (or even use it as is). It takes > a `pos' argument so you may have to wrap it in `with-temp-buffer' + > `insert'. `with-temp-buffer' is not a good option because it may have different buffer-local environment compared to the actual buffer. As for `describe-char-display', do you refer to `internal-char-font'? `internal-char-font' is "For internal use only." though. Or can we get something out of the `describe-char-display' return value? This function does not have a docstring, and it is not very clear what the possible return values can be and which return values are indicative of non-displayable characters. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92