From: Juri Linkov <juri@jurta.org>
To: Eli Barzilay <eli@barzilay.org>
Cc: 4118@emacsbugs.donarmstrong.com
Subject: bug#4118: 23.1; eval-last-sexp-print-value is inconvenient
Date: Sat, 15 Aug 2009 01:54:10 +0300 [thread overview]
Message-ID: <87y6pm6kwt.fsf@mail.jurta.org> (raw)
In-Reply-To: <19076.48381.916404.208797@winooski.ccs.neu.edu> (Eli Barzilay's message of "Thu, 13 Aug 2009 21:25:17 -0400")
>> The reason not to print the extra information on the first
>> invocation of `eval-last-sexp' is the following. Most often users
>> want to see the integer result of the evaluated expression, but the
>> extra information also contains a character representation of this
>> integer that might print some unrelated character that might load
>> some weird fonts the user doesn't want to load.
>
> In that case the obvious way to do this is to not print the character
> form if it requires such a font. If this is not easy to do, then
> making it work only for ASCII seems better than the current weird
> behavior. (The reason I consider it weird is that I managed to use
> Emacs for more than 15 years without noticing it.)
There is no way to guess whether the user want to see the character
(however weird it is) or not.
> The main point (IMO) of making it consistent is keyboard macros, and
> in that case, if you want the character, then it's easy to just wrap
> an (insert ...) around the expression. Using it to insert the
> character and then removing all the preceding text is much more
> difficult for that.
Wrapping an (insert ...) around the expression is not as easy as typing
`C-u C-x C-e', copying the character and undoing the change with C-/.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2009-08-14 22:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 10:55 bug#4118: 23.1; eval-last-sexp-print-value is inconvenient Eli Barzilay
2009-08-12 20:57 ` Juri Linkov
2009-08-13 1:18 ` Eli Barzilay
2009-08-13 23:33 ` Juri Linkov
2009-08-14 1:25 ` Eli Barzilay
2009-08-14 22:54 ` Juri Linkov [this message]
2009-08-15 1:38 ` Eli Barzilay
2009-08-15 23:16 ` Juri Linkov
2009-08-16 0:00 ` Eli Barzilay
2009-08-17 0:52 ` Juri Linkov
2009-08-17 3:18 ` Eli Barzilay
2016-06-15 0:35 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6pm6kwt.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=4118@emacsbugs.donarmstrong.com \
--cc=eli@barzilay.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.