[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: C-x C-e with prefix arg [patch]
From: |
Drew Adams |
Subject: |
RE: C-x C-e with prefix arg [patch] |
Date: |
Sat, 4 May 2013 20:51:13 -0700 |
> > 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?
Attached.
I also changed `eval-print-last-sexp' similarly: a negative prefix arg for it
does what the function always did before: print the abbreviated value.
Otherwise it now prints the full value.
Someone might want to check that the other, non-interactive uses of
`eval-last-sexp' in `lisp-mode.el' still do what is expected (no change). I
think so.
--
2013-05-04 Drew Adams <address@hidden>
* lisp-mode.el:
(eval-last-sexp):
Print full value if non-negative prefix arg.
(eval-print-last-sexp):
Added optional argument RESPECT-PRINT-OPTIONS.
If nil, print full value, else abbreviated value.
lisp-mode-2013-05-04a.patch
Description: Binary data
- C-x C-e with prefix arg, Drew Adams, 2013/05/03
- Re: C-x C-e with prefix arg, Xue Fuqiao, 2013/05/04
- RE: C-x C-e with prefix arg [patch],
Drew Adams <=
- Re: C-x C-e with prefix arg, Juri Linkov, 2013/05/05
- RE: C-x C-e with prefix arg, Drew Adams, 2013/05/05
- Re: C-x C-e with prefix arg, Juri Linkov, 2013/05/05
- RE: C-x C-e with prefix arg, Drew Adams, 2013/05/06
- Re: C-x C-e with prefix arg, Juri Linkov, 2013/05/06
- RE: C-x C-e with prefix arg, Drew Adams, 2013/05/06
- Re: C-x C-e with prefix arg, Juri Linkov, 2013/05/06
- RE: C-x C-e with prefix arg, Drew Adams, 2013/05/06
- Re: C-x C-e with prefix arg, Juri Linkov, 2013/05/07