emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: evaluating numbers


From: Jean-Christophe Helary
Subject: Re: evaluating numbers
Date: Sat, 9 Nov 2019 09:15:30 +0900


> On Nov 8, 2019, at 22:49, Eli Zaretskii <address@hidden> wrote:
> 
>> From: Jean-Christophe Helary 
>> 
>> Ok, so there are no needs whatsoever to display *any* character when 
>> evaluating an integer, am I correct ?
> 
> There are situations where it is useful.  For example:
> 
>  M-: (char-after) RET

But that doesn't work for non-ascii characters. Hence my previous question 
about the relative importance of "e" vs "é" for ex.

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?

I'm fine with integers evaluation displaying only number values by the way. But 
maybe (char-after) and similar functions should use a different value for 
eval-expression-print-maximum-character.


>> Also, eval-expression-print-maximum-character is described in "24.9 
>> Evaluating Emacs Lisp Expressions" but unlike eval-expression-print-length 
>> and eval-expression-print-level it is not indexed in the elisp reference 
>> even though both are also described only in that same chapter. Is that an 
>> oversight ?
> 
> I don't think it's an oversight.  This is a user option, so its place is 
> generally on the user manual.

Ok, I see, Thank you. Is there a general policy to just mention/define 
variables and not give default values in the manual ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

[Prev in Thread] Current Thread [Next in Thread]