emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: addition produces strange results when run with eval-last-sexp


From: Juri Linkov
Subject: Re: addition produces strange results when run with eval-last-sexp
Date: Mon, 02 Feb 2004 22:46:48 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Joe Corneli <address@hidden> writes:
>> (+ 22 44) 
> 66 = ?\S-b
>
>> (+ 99 2)
> 101 = ?e
>
> et cetera  -- pretty weird, don't you think?!

It's not only weird, but often too injurious: to display characters
for large numbers it starts to load completely unnecessary fonts.

OTOH, when sometimes I need to see the result of evaluation as a character,
I expect to see it as the output of the function `what-cursor-position'
or `describe-char' with the full detailed information about character.

So it would be better to remove the character printing from the
`eval-last-sexp', and make a new function (without keybinding because
printing the result as a character is very rare operation), which will
print the full information about result as a character, or to add
a new defcustom which will select the desired behavior in the same
function `eval-last-sexp'.

-- 
http://www.jurta.org/emacs/





reply via email to

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