From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: evaluating numbers Date: Sat, 09 Nov 2019 13:48:15 +0200 Message-ID: <8336ex9sow.fsf@gnu.org> References: <875zjw2emg.fsf@gmx.net> <618B38D9-CD34-4200-8CA1-1A6B0922A83A@traduction-libre.org> <871ruk2d3f.fsf@gmx.net> <3C929D7B-1C10-4713-9EDA-55C80FC36AD8@traduction-libre.org> <835zjvg385.fsf@gnu.org> <83sgmyd6rw.fsf@gnu.org> <835zjucwbz.fsf@gnu.org> <628A3663-BDD3-47C5-B4F4-E260FD900691@traduction-libre.org> <83o8xla50f.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="184155"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 09 12:48:34 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 1iTPEI-000lnL-Lh for ged-emacs-devel@m.gmane.org; Sat, 09 Nov 2019 12:48:34 +0100 Original-Received: from localhost ([::1]:36070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTPEG-0005Ko-N5 for ged-emacs-devel@m.gmane.org; Sat, 09 Nov 2019 06:48:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56818) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTPEA-0005KM-2r for emacs-devel@gnu.org; Sat, 09 Nov 2019 06:48:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTPE9-0001Id-G3; Sat, 09 Nov 2019 06:48:25 -0500 Original-Received: from [176.228.60.248] (port=1351 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iTPE8-0008QC-Tl; Sat, 09 Nov 2019 06:48:25 -0500 In-reply-to: (message from Jean-Christophe Helary on Sat, 9 Nov 2019 20:18:58 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:242035 Archived-At: > From: Jean-Christophe Helary > Date: Sat, 9 Nov 2019 20:18:58 +0900 > > > But I see no reason to continue questioning the default any further. > > I'm not questioning the default, I'm trying to understand a feature and it's default setting. Apologies if that takes time. I'm happy to explain what is still unclear. It seemed to me that the latest questions all aim at asking why not do something other than the default, they don't ask clarifications about the feature, which is really quite simple. Apologies if this is my misunderstanding. > >> If we have a function like (char-after) that is defined as "Return(ing) character in current buffer at position POS." then it should do that for all the characters defined in the emacs supported character set, shouldn't it? > > > > Characters are just integers in Emacs. > > I know that. You're not really answering the above question. When people expect a character to be returned, they expect a character and not a code point. I don't think I agree, not when you say it in such general form. It is definitely possible that the user does want to see the codepoint. I know I sometimes do. > How useful is: > > (decode-char 'emacs 345) > 345 (#o531, #x159) > > ? > > I already know that the code point is 345. Yes, but did you know its octal and hex codes as well? I sometimes do the above, or something similar, for those reasons. > > If you want to suggest a different way of looking for a suitable font, please do. > > Maybe not "look for a suitable font" but set a default font for that action. There is a finite number of standard fonts on systems that support emacs. Unfortunately, the last sentence is in general incorrect. The reality is that no font (at least none that I know of) supports all of Unicode, so we will need to have several fonts from which to select. And that is tricky if you want the result work on all platforms.