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: Sat, 10 Sep 2022 09:35:18 +0300 Message-ID: <83a677buu1.fsf@gnu.org> References: <87v8pw1xyo.fsf@localhost> <83a678d5w6.fsf@gnu.org> <83k06bbweg.fsf@gnu.org> <87a677zrtz.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, 57693@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 10 08:37:00 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 1oWu6t-0003As-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 08:36:59 +0200 Original-Received: from localhost ([::1]:46990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWu6s-0006WC-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 02:36:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWu5y-0006V3-OB for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 02:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWu5y-0006JS-0b for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 02:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWu5x-00013y-QE for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 02:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2022 06:36: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.16627917504067 (code B ref 57693); Sat, 10 Sep 2022 06:36:01 +0000 Original-Received: (at 57693) by debbugs.gnu.org; 10 Sep 2022 06:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:36406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWu5l-00013X-NJ for submit@debbugs.gnu.org; Sat, 10 Sep 2022 02:35:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWu5h-00013I-3T for 57693@debbugs.gnu.org; Sat, 10 Sep 2022 02:35:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWu5a-0006Ia-Ca; Sat, 10 Sep 2022 02:35:39 -0400 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=NuQKgMD3RaanCF9VbzIWTTP8l9iOJ7Qf9jbkDXYH7sk=; b=IDpQJ2AdkSTU H4vHCocxraf9sfNDkcCqVl6fvICl9A6vmfO78UfgJYBKT42ftmqs1uKg/h0MCrWZfDyQuwraPrEBj 0d0t0DBzifTWUZhtKpQPKbXARiZrrYE4sdYGZN7Rk+/aEKf7vPZEy03XkRQ2y7hb9tirkzErdU0an VYBY2hJYiWdzTzdt/1i2V6LuzTeQnfGAi/vaemTkhxH8cLTaaNgbw/rWlE31xdKcyG3jZt+Tdi9Ko 6ST2bjGYeEP/L11jol0ZRM8l90c/51M8qStwLREnmmqkZOSScDVdqCj1f8ZVpBRc25Zd7fyC4hjk9 6mXlhFniXyfqX/LwgxeLpw==; Original-Received: from [87.69.77.57] (port=3710 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 1oWu5Z-0004VL-Od; Sat, 10 Sep 2022 02:35:38 -0400 In-Reply-To: <87a677zrtz.fsf@localhost> (message from Ihor Radchenko on Sat, 10 Sep 2022 14:06:16 +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" Xref: news.gmane.io gmane.emacs.bugs:242079 Archived-At: > From: Ihor Radchenko > Cc: Stefan Kangas , 57693@debbugs.gnu.org > Date: Sat, 10 Sep 2022 14:06:16 +0800 > > Eli Zaretskii writes: > > > The problem which AFAIU Ihor raised was that char-displayable-p > > returns non-nil, when the character actually cannot be displayed. > > This is what I'm asking: how come char-displayable-p thought it could > > find a font for the character, when Emacs failed to find the font when > > it was time to actually display that character? > > > > Ihor says that the reason could be some buffer-specific settings that > > char-displayable-p didn't take into consideration. If that's the > > reason, could someone tell what those settings were in this case? > > The author of the linked bug report solved the problem by installing > some extra font. So, it was likely not a question of buffer-specific > settings in that particular case. Does it mean we don't understand why there was a failure in that case? It is imperative that we do understand it, to see whether char-displayable-p could be improved not to fail in those cases.