From unknown Fri Jun 20 07:16:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35230 <35230@debbugs.gnu.org> To: bug#35230 <35230@debbugs.gnu.org> Subject: Status: char-displayable-p return code is conflictingly documented Reply-To: bug#35230 <35230@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:16:18 +0000 retitle 35230 char-displayable-p return code is conflictingly documented reassign 35230 emacs submitter 35230 Robert Pluim severity 35230 minor tag 35230 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 11 10:49:50 2019 Received: (at submit) by debbugs.gnu.org; 11 Apr 2019 14:49:51 +0000 Received: from localhost ([127.0.0.1]:55018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEb1S-0004Yi-Jt for submit@debbugs.gnu.org; Thu, 11 Apr 2019 10:49:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEb1Q-0004YW-4f for submit@debbugs.gnu.org; Thu, 11 Apr 2019 10:49:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:54410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEb1K-0006bK-Qz for submit@debbugs.gnu.org; Thu, 11 Apr 2019 10:49:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEb1J-00015p-KL for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2019 10:49:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEb1G-0006ZK-Ng for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2019 10:49:40 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEb1E-0006XV-OQ for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2019 10:49:37 -0400 Received: by mail-wr1-x434.google.com with SMTP id k11so7760754wro.5 for ; Thu, 11 Apr 2019 07:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:mail-copies-to:gmane-reply-to-list:date:message-id :mime-version:content-transfer-encoding; bh=g+nkdotkz5DRNnY5t+QgyWTmmIBucaKB76ewBpD3zeY=; b=l8qZ761L6ikd/uElHfzwZuX0I6Octl5Xy9Tz0ShjKW3pPmbmSGWFOn3EL+1j/ocm67 FvQDC6NfiCX4JG/2nZHLVJx5xoYuoDyf0XYWKlD4uDgmH2ERH1+lsWS7neq5e68WkznH UFjC64oQtSPThOQfSW/IxFZO7o+SxbMtpVNcfuiV2ESQcGy7xKxYtk5Joc2z9azauF1X PXtQGisz9yqDDI7rt0mq1atY+oJH1PI6TezHqJyB1K97CXV/WDJycso+vp96Cr2+tym1 D8Sp8MXmJ9KHHw7jrBRy1ShUaDE775SAuk6pf2k0SDYlZDPk3ihfLHwjCQYgwTLs5tw7 yiWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=g+nkdotkz5DRNnY5t+QgyWTmmIBucaKB76ewBpD3zeY=; b=DA/pqmyfwwvXw6pfc4wj7t5Z8w3oVv140ew6VVU2l8hMYp4hEbMEn275mjIhQGGSp2 99h/U35yY1E8Qa5SSGc3QOglcxwZ11t82EDXV0JdvxhBSF5VnsHxXOCGvCRxY5obdvV3 jZPNvCnLyucqtY9mitN6FARhbkhSNKllNlBLoEItffX4C69UuO+IRuHCVGuFjSPzUBO5 JbWLn6l6wpex5NeZZLTtnzllKcvfGNhGLO97PmZtUyj0ObbTf0LHxpJcKcxssVhQfRjj /VIZm3flPVhuLtNy5lPu5TA43GgxVK+fW13oFvLokgXvqxMxlS9+3hu/H4SwoI9OcuOp AKGQ== X-Gm-Message-State: APjAAAURNQ9w7DLso1j85WUsy4we1iHBhOcOxI9LEgB4s/CAc9Y6JDIZ wqoIT41sFMRYwG4jox1hkkRIZyW7 X-Google-Smtp-Source: APXvYqxRkd5sukgmkSnokGQmZWTE2E+PsYo1endJi/v714W+EP8j2MD5N5jY1eGvh1idv0GdCD43iw== X-Received: by 2002:a5d:4a4d:: with SMTP id v13mr32589194wrs.169.1554994171264; Thu, 11 Apr 2019 07:49:31 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:d4bb:27ce:9e5e:258f]) by smtp.gmail.com with ESMTPSA id i28sm108629331wrc.32.2019.04.11.07.49.29 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Apr 2019 07:49:30 -0700 (PDT) From: Robert Pluim To: bug-gnu-emacs@gnu.org Subject: char-displayable-p return code is conflictingly documented X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Thu, 11 Apr 2019 16:49:29 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) (This comes as a result of the stackexchange question at https://emacs.stackexchange.com/questions/48810) char-displayable-p docstring says Return non-nil if we should be able to display CHAR. The elisp manual says something subtly different: This function returns =E2=80=98t=E2=80=99 if Emacs ought to be able to= display CHAR. More precisely, if the selected frame=E2=80=99s fontset has a f= ont to display the character set that CHAR belongs to. The function itself is more in line with the docstring: (char-displayable-p #xE01EF) =3D> unicode since I don=CA=BCt have a font with a glyph for that character, so it ends up displayed as a box with the unicode code point inside it. The code that results in 'unicode has the comment=20=09=20=20=20=20=20 ;; On a text terminal without glyph codes, CHAR is displayable ;; if the coding system for the terminal can encode it. but I=CA=BCm very much on a graphical terminal here, not a text terminal. For comparison, when I do have a font: (char-displayable-p #x2502) =3D> The question is: what should the docstring/manual say? The original intent of char-displayable-p seems to be as a wrapper around internal-char-font to allow asking "do I have a glyph for this character", but that=CA=BCs not what it does today. Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 08:52:13 2019 Received: (at 35230) by debbugs.gnu.org; 12 Apr 2019 12:52:13 +0000 Received: from localhost ([127.0.0.1]:55591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEvfB-0002i5-04 for submit@debbugs.gnu.org; Fri, 12 Apr 2019 08:52:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEvf9-0002hr-KS for 35230@debbugs.gnu.org; Fri, 12 Apr 2019 08:52:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEvf4-0005ST-CI; Fri, 12 Apr 2019 08:52:06 -0400 Received: from [176.228.60.248] (port=3355 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hEvf3-0004Mo-5p; Fri, 12 Apr 2019 08:52:05 -0400 Date: Fri, 12 Apr 2019 15:51:48 +0300 Message-Id: <837ebzmlnf.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: (message from Robert Pluim on Thu, 11 Apr 2019 16:49:29 +0200) Subject: Re: bug#35230: char-displayable-p return code is conflictingly documented References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35230 Cc: 35230@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Date: Thu, 11 Apr 2019 16:49:29 +0200 > > (This comes as a result of the stackexchange question at > https://emacs.stackexchange.com/questions/48810) > > char-displayable-p docstring says > > Return non-nil if we should be able to display CHAR. > > The elisp manual says something subtly different: > > This function returns ‘t’ if Emacs ought to be able to display > CHAR. More precisely, if the selected frame’s fontset has a font > to display the character set that CHAR belongs to. > > The function itself is more in line with the docstring: Yes, the manual is wrong and should be fixed. Non-nil is exactly right, and callers should not depend on any finer definition of the return value, as it could be many different non-nil objects. > (char-displayable-p #xE01EF) => unicode > > since I donʼt have a font with a glyph for that character, so it ends > up displayed as a box with the unicode code point inside it. The code > that results in 'unicode has the comment > > ;; On a text terminal without glyph codes, CHAR is displayable > ;; if the coding system for the terminal can encode it. > > but Iʼm very much on a graphical terminal here, not a text terminal. This is a (known) deficiency in char-displayable-p, but one which is not easy to fix: no one says that every call to this function asks about the selected frame, so we cannot unconditionally disable the TTY branch when on GUI frames. Perhaps an optional argument could be added for that purpose, which is the frame for which to make the test. At least some, if not most, of the calls will still need to omit that argument, though, because we currently need to know that up front to set up the quote-style, for example. Perhaps mentioning this caveat in the manual would be good. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 05:51:47 2019 Received: (at 35230) by debbugs.gnu.org; 14 Apr 2019 09:51:47 +0000 Received: from localhost ([127.0.0.1]:59857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFbnf-0002Xp-36 for submit@debbugs.gnu.org; Sun, 14 Apr 2019 05:51:47 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:34896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFbnd-0002Xd-55 for 35230@debbugs.gnu.org; Sun, 14 Apr 2019 05:51:45 -0400 Received: by mail-wr1-f44.google.com with SMTP id w1so17772695wrp.2 for <35230@debbugs.gnu.org>; Sun, 14 Apr 2019 02:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=mcuKLYvYPcCjBYPoxievea284f0GkyMWwntjKPAGdBc=; b=ZMuJXWz9Ji5Q5FFBJ+So6WIlyUA15n+JZeJ9lSQumFekoYkgfFrFtirQI5D1ZtgLP0 U2Te01+rmiWRBRCQBrJAuWeH9Lygd8DatQBBvsnXr2z+IQvfsJRr99CoEinXmFX7JTca 4A/XUJmiFa9d0HwsgKuc3YKcQbN4b4K/l6h4ZWl0R3fJ2eOFwPTrJb1tB6ipADg4cs19 DgxR/RDP4f7MLCRJyHFpf6n0El+O9KG0DxEl4rWVbz1UB6g/osmdhGJq5Ldhn5dpUxza xI3mgvpJGAikTifN3Uz8aY5p89GPDymW07jR3CLGqqYhd7+r2XGByEu7DhP7xGQGjDu5 46RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=mcuKLYvYPcCjBYPoxievea284f0GkyMWwntjKPAGdBc=; b=NpFT3P3fH00MeJmWEJCN0GbYdmRjVckhgNs/9Lg155USosucXygwHl0Pwphv4gYToI aDxHlkAPnHsmngOUg+81Wmdo89preYDWKseOmhH1+/n3DvcouYGKEoeM7O2BknjUZTqM cs9+WrJ+D8wJzQoUcCmEKE2in05GagNWZWkTS+ugv5pwUT2gAiIRSfao3wLLyf+7trky UynKlgG+ogYRlAv9VwXu1SCAgph9OGrKlnvvJkKrUrmZI5zO9MM6/EWadaCP+osl38aI eD5kNmIS5JWk+Xtnv2atprfd1oTY2Qq4XGDvVsWJ3GG1tSp2WLz8sm3MdhODe/tYAYiD 7org== X-Gm-Message-State: APjAAAWASXJgMu44v1eiKNV6rv2zUIxFlTA1fZ2hcVj/I3WcwV5OV/bQ 1jE9TPDSvQ40y2Dm84eYCPXeKZGR X-Google-Smtp-Source: APXvYqxXK8gGiC0hA4qqOJAUjoxUFFlV2NpY17bTn7BP30Hc05+oYscScjyor+qgaLjQceHUEICAUg== X-Received: by 2002:adf:b3d4:: with SMTP id x20mr42400496wrd.284.1555235498835; Sun, 14 Apr 2019 02:51:38 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:8d50:d54a:3ca:4894]) by smtp.gmail.com with ESMTPSA id q17sm38032600wrw.70.2019.04.14.02.51.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 14 Apr 2019 02:51:37 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#35230: char-displayable-p return code is conflictingly documented References: <837ebzmlnf.fsf@gnu.org> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Sun, 14 Apr 2019 11:51:36 +0200 In-Reply-To: <837ebzmlnf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Apr 2019 15:51:48 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 35230 Cc: 35230@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) >>>>> On Fri, 12 Apr 2019 15:51:48 +0300, Eli Zaretskii said: >> From: Robert Pluim Date: Thu, 11 Apr 2019 >> 16:49:29 +0200 >>=20 >> (This comes as a result of the stackexchange question at >> https://emacs.stackexchange.com/questions/48810) >>=20 >> char-displayable-p docstring says >>=20 >> Return non-nil if we should be able to display CHAR. >>=20 >> The elisp manual says something subtly different: >>=20 >> This function returns =E2=80=98t=E2=80=99 if Emacs ought to be able = to display >> CHAR. More precisely, if the selected frame=E2=80=99s fontset has a >> font to display the character set that CHAR belongs to. >>=20 >> The function itself is more in line with the docstring: Eli> Yes, the manual is wrong and should be fixed. Non-nil is Eli> exactly right, and callers should not depend on any finer Eli> definition of the return value, as it could be many different Eli> non-nil objects. That I can do easily enough in emacs-26 >> (char-displayable-p #xE01EF) =3D> unicode >>=20 >> since I don=CA=BCt have a font with a glyph for that character, so >> it ends up displayed as a box with the unicode code point >> inside it. The code that results in 'unicode has the comment >>=20 >> ;; On a text terminal without glyph codes, CHAR is displayable >> ;; if the coding system for the terminal can encode it. >>=20 >> but I=CA=BCm very much on a graphical terminal here, not a text >> terminal. Eli> This is a (known) deficiency in char-displayable-p, but one Eli> which is not easy to fix: no one says that every call to this Eli> function asks about the selected frame, so we cannot Eli> unconditionally disable the TTY branch when on GUI frames. Eli> Perhaps an optional argument could be added for that purpose, Eli> which is the frame for which to make the test. At least Eli> some, if not most, of the calls will still need to omit that Eli> argument, though, because we currently need to know that up Eli> front to set up the quote-style, for example. Eli> Perhaps mentioning this caveat in the manual would be good. I=CA=BCve made an attempt below. Do we want a cross reference to 'Glyphless Chars' as well? diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index b07999432c..fac883ae16 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -3507,12 +3507,16 @@ Fontsets @end defun =20 @defun char-displayable-p char -This function returns @code{t} if Emacs ought to be able to display -@var{char}. More precisely, if the selected frame's fontset has a -font to display the character set that @var{char} belongs to. +This function returns non-@code{nil} if Emacs ought to be able to +display @var{char}. More precisely, if the selected frame's fontset +has a font to display the character set that @var{char} belongs to. =20 Fontsets can specify a font on a per-character basis; when the fontset does that, this function's value may not be accurate. + +This function may return non-@code{nil} even when there is no font +available, since it also checks if the coding system for the text +terminal can encode the character. @end defun =20 @node Low-Level Font From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 10:10:33 2019 Received: (at 35230) by debbugs.gnu.org; 14 Apr 2019 14:10:33 +0000 Received: from localhost ([127.0.0.1]:32856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFfq4-00039T-RN for submit@debbugs.gnu.org; Sun, 14 Apr 2019 10:10:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFfq2-00039E-ES for 35230@debbugs.gnu.org; Sun, 14 Apr 2019 10:10:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFfpx-0000iq-8z; Sun, 14 Apr 2019 10:10:25 -0400 Received: from [176.228.60.248] (port=4326 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFfpw-00022n-3N; Sun, 14 Apr 2019 10:10:24 -0400 Date: Sun, 14 Apr 2019 17:10:14 +0300 Message-Id: <83bm18k795.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: (message from Robert Pluim on Sun, 14 Apr 2019 11:51:36 +0200) Subject: Re: bug#35230: char-displayable-p return code is conflictingly documented References: <837ebzmlnf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35230 Cc: 35230@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: 35230@debbugs.gnu.org > Date: Sun, 14 Apr 2019 11:51:36 +0200 > > @defun char-displayable-p char > -This function returns @code{t} if Emacs ought to be able to display > -@var{char}. More precisely, if the selected frame's fontset has a > -font to display the character set that @var{char} belongs to. > +This function returns non-@code{nil} if Emacs ought to be able to > +display @var{char}. More precisely, if the selected frame's fontset > +has a font to display the character set that @var{char} belongs to. > > Fontsets can specify a font on a per-character basis; when the fontset > does that, this function's value may not be accurate. > + > +This function may return non-@code{nil} even when there is no font > +available, since it also checks if the coding system for the text > +terminal can encode the character. > @end defun Thanks. I think we should tell more about the testing of text terminal capabilities, because otherwise the reference to terminal encoding comes out of the blue without being mentioned anywhere else, since the preceding text talks only about fonts and fontsets, i.e. only about GUI frames. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 21 11:09:43 2020 Received: (at 35230) by debbugs.gnu.org; 21 Aug 2020 15:09:43 +0000 Received: from localhost ([127.0.0.1]:48062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k98fm-0005Hg-UZ for submit@debbugs.gnu.org; Fri, 21 Aug 2020 11:09:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k98fl-0005HT-Ie for 35230@debbugs.gnu.org; Fri, 21 Aug 2020 11:09:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qy8X5fXevnI5ni2AHabLdG2s8ZpKFhCnnpGJj4Y8R48=; b=jNP8hNpRUHW6nG3SQ1sy+Yk2wa we88F5Qw4KnXTvWTWWBMaSJSg9013fg5/nLVmq8MT9B5Ki+0Od572NgYA068CYToiIwEmcXeFoLf2 FmNfBvMaJGAwVHblgKYgmAbEZt3PwPVfcCHq3ai4LUd2S9JVT/KASnvM0PLOnZ2TDMss=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k98fV-0007W9-6E; Fri, 21 Aug 2020 17:09:35 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#35230: char-displayable-p return code is conflictingly documented References: <837ebzmlnf.fsf@gnu.org> <83bm18k795.fsf@gnu.org> X-Now-Playing: Cristina's _Disco Clone_: "Disco Clone & Clone Instrumental" Date: Fri, 21 Aug 2020 17:09:23 +0200 In-Reply-To: <83bm18k795.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Apr 2019 17:10:14 +0300") Message-ID: <877dtsox24.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> +This function may return non-@code{nil} even when there is no font >> +available, since it also checks if the coding system for the text >> +terminal can encode the character. >> @end defun > > Th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35230 Cc: Robert Pluim , 35230@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> +This function may return non-@code{nil} even when there is no font >> +available, since it also checks if the coding system for the text >> +terminal can encode the character. >> @end defun > > Thanks. I think we should tell more about the testing of text > terminal capabilities, because otherwise the reference to terminal > encoding comes out of the blue without being mentioned anywhere else, > since the preceding text talks only about fonts and fontsets, > i.e. only about GUI frames. Robert, this was over a year ago -- the documentation fix is an improvement, but did you look into also saying some words about text terminal capabilities? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 10 21:50:20 2020 Received: (at 35230) by debbugs.gnu.org; 11 Oct 2020 01:50:20 +0000 Received: from localhost ([127.0.0.1]:38853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRQVA-0005SR-Cf for submit@debbugs.gnu.org; Sat, 10 Oct 2020 21:50:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRQV6-0005S7-DT for 35230@debbugs.gnu.org; Sat, 10 Oct 2020 21:50:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ur8MY6Jj15q9ih2fqp2SNWEOI5htMh3YwZcRA6XOwy8=; b=diqyFRFU97iy4PX9eYY7F1JZRy EM9dXRQaopDSlanjXMVzV9OXrZ7WiKVXzVrwpLS/m0WJAqxuBgbxtukFYu4exc+MdgL8KxHJmsQ8O T/9VJsi5PnpZsTcPwXJOGxWgq4jU7e77yNJDkWcB3HBXdVdyhg+ZrC3oLASQb6e6GpOw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRQUx-0003ta-7G; Sun, 11 Oct 2020 03:50:09 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#35230: char-displayable-p return code is conflictingly documented References: <837ebzmlnf.fsf@gnu.org> <83bm18k795.fsf@gnu.org> <877dtsox24.fsf@gnus.org> X-Now-Playing: Dictaphone's _M. = Addiction_: "M. = Addiction" Date: Sun, 11 Oct 2020 03:50:05 +0200 In-Reply-To: <877dtsox24.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 21 Aug 2020 17:09:23 +0200") Message-ID: <87o8l9ttte.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Robert, this was over a year ago -- the documentation fix is an > improvement, but did you look into also saying some words about text > terminal capabilities? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35230 Cc: Robert Pluim , 35230@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Robert, this was over a year ago -- the documentation fix is an > improvement, but did you look into also saying some words about text > terminal capabilities? I've now applied Robert's patch, and added a reference to the terminal coding system node. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 10 21:50:24 2020 Received: (at control) by debbugs.gnu.org; 11 Oct 2020 01:50:24 +0000 Received: from localhost ([127.0.0.1]:38856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRQVE-0005Sj-Kj for submit@debbugs.gnu.org; Sat, 10 Oct 2020 21:50:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRQVD-0005SG-38 for control@debbugs.gnu.org; Sat, 10 Oct 2020 21:50:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Kh0Ulj9twCgEhY4aoaEATK61nBS1V7u2O/xoeqSQSIg=; b=YjZ411X6HV4cbv9byXOuKYkjbV y0VkPwMeVWp1rwc+a/VEbDZOS081ZeZ1TG/qW4NWn7y+xNgBSoKSnpcKnGRvN3xl9VoVkaKO+F/pT umuwtSCfZ+Z+3tpHbhMtLLDj8sW/Q8cD1Ypze3F30UuPi2W0Z4kLG/26yAo+x+i0yZVQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRQV5-0003ti-9a for control@debbugs.gnu.org; Sun, 11 Oct 2020 03:50:17 +0200 Date: Sun, 11 Oct 2020 03:50:14 +0200 Message-Id: <87mu0tttt5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #35230 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 35230 fixed close 35230 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35230 fixed close 35230 28.1 quit From unknown Fri Jun 20 07:16:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 08 Nov 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator