[Top][All Lists]

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

bug#4118: 23.1; eval-last-sexp-print-value is inconvenient

From: Juri Linkov
Subject: bug#4118: 23.1; eval-last-sexp-print-value is inconvenient
Date: Wed, 12 Aug 2009 23:57:59 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>   `eval-last-sexp' is often useful with a prefix argument inside a
>   buffer for all kinds of programmatic uses (for example, make a
>   keyboard macro that massages some text into an S-expression, then
>   use it to plant the result in the buffer).  This uses
>   `eval-last-sexp-print-value', which will "helpfully" insert other
>   junk into the buffer (the hex and the octal representations of the
>   number).

But it inserts other representations only when you type `C-x C-e' twice.
Do you mean you don't want this after the second `C-x C-e' key press?

>   This is cute to have on the echo area, but annoying for
>   such use in macros.  It would be better to disable this extra output
>   in the case of non-echo-area output.

Sometimes I use `C-x C-e C-u C-x C-e' to insert other representations
to the current buffer to be able to copy their values as text.  Of course,
it's possible to copy them from the *Messages* buffer, but this is
less convenient.

Juri Linkov

reply via email to

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