From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: evaluating numbers Date: Thu, 7 Nov 2019 19:40:26 +0900 Message-ID: <3C929D7B-1C10-4713-9EDA-55C80FC36AD8@traduction-libre.org> References: <875zjw2emg.fsf@gmx.net> <618B38D9-CD34-4200-8CA1-1A6B0922A83A@traduction-libre.org> <871ruk2d3f.fsf@gmx.net> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="61295"; mail-complaints-to="usenet@blaine.gmane.org" To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 11:40:51 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSfDf-000FoX-5A for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 11:40:51 +0100 Original-Received: from localhost ([::1]:40702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSfDe-0000oS-0T for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 05:40:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40445) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSfDR-0000mA-NK for emacs-devel@gnu.org; Thu, 07 Nov 2019 05:40:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSfDQ-0002yg-5Y for emacs-devel@gnu.org; Thu, 07 Nov 2019 05:40:37 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:55103) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iSfDP-0002sk-Ut for emacs-devel@gnu.org; Thu, 07 Nov 2019 05:40:36 -0500 Original-Received: from [172.20.10.2] (KD182251131042.au-net.ne.jp [182.251.131.42]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 73E37240008 for ; Thu, 7 Nov 2019 10:40:31 +0000 (UTC) In-Reply-To: <871ruk2d3f.fsf@gmx.net> X-Mailer: Apple Mail (2.3594.4.19) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.178.230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241914 Archived-At: > On Nov 7, 2019, at 19:30, Stephen Berman = wrote: >=20 > On Thu, 7 Nov 2019 19:20:23 +0900 Jean-Christophe Helary = wrote: >=20 >>> On Nov 7, 2019, at 18:57, Stephen Berman = wrote: >>>=20 >>> On Thu, 7 Nov 2019 18:43:40 +0900 Jean-Christophe Helary >>> wrote: >>>=20 >>>> A while ago the biggest number that evaluated to a character (that = I could not >>>> display) was 1114111 (evaluated to "?=F4=8F=BF=BF "). >>>>=20 >>>> Now, I can only go up to 127 (#o177, #x7f, ?\C-?) and 128 evaluates = to (#o200, >>>> #x80) which looks like the ASCII character set, but I was under the = impression >>>> that Emacs had its own character set... >>>>=20 >>>> What's going on here ? >>>=20 >>> This: >>>=20 >>> eval-expression-print-maximum-character is a variable defined in = =E2=80=98simple.el=E2=80=99. >>> Its value is 127 >>>=20 >>> You can customize this variable. >>>=20 >>>=20 >>> This variable was introduced, or its default value was changed, in >>> version 26.1 of Emacs. >>> Probably introduced at or before Emacs version 26.1. >>=20 >> Thank you very much. >>=20 >> What's the rationale behind this change ? >>=20 >> I find that's a bit silly to limit the character set range available = with this >> evaluation. >>=20 >> Anybody knows ? >=20 > I think the main rationale was that it could take a long time for = Emacs > to return the evaluation when the system had a lot of fonts installed, > because Emacs would try them all to display the character. Thank you for the explanation. Wouldn't it be more logical to only try the font used in the buffer at = stake and give a proper evaluation of the number ? How do we expect people to understand that there is a limitation when = they don't see anything above 127 ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune