emacs-devel
[Top][All Lists]
Advanced

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

Re: C-x C-e with prefix arg


From: Xue Fuqiao
Subject: Re: C-x C-e with prefix arg
Date: Sun, 5 May 2013 07:31:20 +0800

On Fri, May 3, 2013 at 11:42 PM, Drew Adams <address@hidden> wrote:
> How about letting the particular prefix arg control whether to print the full
> value?

Good idea.

> You use a prefix arg to insert the value in the current buffer at point.  How
> often do you really want the inserted value to have pieces missing (elided)?
> You typically want to (edit and) use the inserted value in code you are 
> writing,
> no?
>
> How about letting a non-negative prefix arg insert the full value (in effect,
> binding `eval-expression-print-length' and `eval-expression-print-level' to
> nil)?  And letting a negative prefix arg do what any prefix arg does today:
> respect the current values of `eval-expression-print-length' and
> `eval-expression-print-level'?

Agreed.  Would you like to submit a patch here or to bug-gnu-emacs?

> Today, to get the full value inserted you need to avoid `C-x C-e' and instead
> select the sexp and use `eval-region' - or use some other workaround.

That's true.  It's somewhat annnoying.

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



reply via email to

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