[Top][All Lists]
[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/
- Re: addition produces strange results when run with eval-last-sexp, (continued)
- Re: addition produces strange results when run with eval-last-sexp, Eli Zaretskii, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Joe Corneli, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Joe Corneli, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Stefan Monnier, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Joe Corneli, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Joe Corneli, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp,
Juri Linkov <=
- Re: addition produces strange results when run with eval-last-sexp, Luc Teirlinck, 2004/02/02
- Re: addition produces strange results when run with eval-last-sexp, Oliver Scholz, 2004/02/03
- Re: addition produces strange results when run with eval-last-sexp, Joe Corneli, 2004/02/03
- Re: addition produces strange results when run with eval-last-sexp, Kim F. Storm, 2004/02/03