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: Mon, 12 Sep 2022 13:24:27 +0800 Message-ID: <878rmpw4fo.fsf@localhost> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38126"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57693@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 07:24:10 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 1oXbvV-0009kc-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 07:24:10 +0200 Original-Received: from localhost ([::1]:54382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXbvU-0003iw-TH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 01:24:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXbvO-0003iX-BR for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXbvO-0007Ah-2m for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXbvN-0003es-Ua for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 05:24: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.166296022214036 (code B ref 57693); Mon, 12 Sep 2022 05:24:01 +0000 Original-Received: (at 57693) by debbugs.gnu.org; 12 Sep 2022 05:23:42 +0000 Original-Received: from localhost ([127.0.0.1]:43856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXbv4-0003eK-89 for submit@debbugs.gnu.org; Mon, 12 Sep 2022 01:23:42 -0400 Original-Received: from mail-pg1-f179.google.com ([209.85.215.179]:40878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXbv1-0003e6-Tj for 57693@debbugs.gnu.org; Mon, 12 Sep 2022 01:23:40 -0400 Original-Received: by mail-pg1-f179.google.com with SMTP id r17so7223132pgr.7 for <57693@debbugs.gnu.org>; Sun, 11 Sep 2022 22:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=mtNSVgFjs5vvkceQkom/PgkibGMbB3n1eU05zc1uSkI=; b=W1KyVqsjrijhcianm50Z/59Lbdhx+2+LpJYooHcm0QRQtXuuRW/PH0EYJBE5XVmu1k 5gQ2DmBBP6SDzwAXBbIQeA0TC3M19xEBESV57yMcxklvccWnYzcdv+cpALnOwWlLuhmo XY39dTL8+3fwx7hE67uTYo/tyWJSNDBcog3qDX1BuvkVxWKYRcDEStuqGvrkfssJtxSV TytOMKSfyl0U/Vv0fY+KSGEG2yEtjzFv2M3d4tA+ibYqLQaH8vmuCnP4LPnVaVyRC6Ce dEP+ULJe5yK9FJQmf/9Nhf5oM3hcXAu5K4OF8IysPmnvsSuCAbkhK5ddVmPO7TRSlyMd hC0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=mtNSVgFjs5vvkceQkom/PgkibGMbB3n1eU05zc1uSkI=; b=iQl5hhN+ASxmwk6/fcwKuFAvLf1dER994kfGKUXPv1VcnBqy8R/98GBjvycXHmVS9t oU4Tlt0sZHLkgoru/IbkjD9PhGlqErasaG+GxOOmLkUJ7ZaUVKgXPAer5FrE0X/EORQU UUUaAaaj4m8c41U+VeNYLCfXUl1ZVUEHiEcWGxhJ1VZz6szIGHLHMPjNRuS0vPbVgx8F i6Fi4GLHXvxwOudv92aRZ0V1fT6pFH5H01GUHuyS0E/VPKRkZCyBmSYk93d3VihEESOB 82RY5B/sgPTx0MPqtldjCXFNIKAutxGWwvfo7UTZpTbm1pUlaGh/mzyMMqE9aD3wg25R qTkA== X-Gm-Message-State: ACgBeo0rjeZH3xjx9JrwtUJ1vMZm8ODM0pnCa8GZUtNtSdOQAiDMyqU9 Dy/CarEhI/3VDRI69eSToEhn25YMMOc= X-Google-Smtp-Source: AA6agR6IAvxzuPmMfA9NPpjBoE+O4zgAuq3q5hOm499JYLUgAhevv7xD3sLx1+Kxtnza2tk5zVZLaA== X-Received: by 2002:a65:6e82:0:b0:41a:9b73:f0e6 with SMTP id bm2-20020a656e82000000b0041a9b73f0e6mr22682995pgb.371.1662960214002; Sun, 11 Sep 2022 22:23:34 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2bc:c850:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id d82-20020a621d55000000b005383988ec0fsm4253887pfd.162.2022.09.11.22.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 22:23:33 -0700 (PDT) In-Reply-To: <838rmq9rfr.fsf@gnu.org> 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:242208 Archived-At: Eli Zaretskii writes: >> > The display engine only knows it retroactively, when it tried and >> > failed to display a character. >> >> The situation is similar to `string-pixel-width'. > > ??? You rejected such methods in an earlier message, because it > required a temporary buffer, which you said will not reproduce the > exact environment of the buffer where you want to show the character. > Or what am I missing? Sorry for not being clear. I was referring to the approach when we try to insert a text into buffer (temporary or not) and then check the result in some way. -- 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