emacs-devel
[Top][All Lists]
Advanced

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

C-x C-e with prefix arg


From: Drew Adams
Subject: C-x C-e with prefix arg
Date: Fri, 3 May 2013 08:42:01 -0700

How about letting the particular prefix arg control whether to print the full
value?

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'?

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.




reply via email to

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