all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: C-x C-e with prefix arg
Date: Fri, 3 May 2013 08:42:01 -0700	[thread overview]
Message-ID: <4D5891EF34DF42D3A479CF83CAF1E43E@us.oracle.com> (raw)

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	other threads:[~2013-05-03 15:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 15:42 Drew Adams [this message]
2013-05-04 23:31 ` C-x C-e with prefix arg Xue Fuqiao
2013-05-05  3:51   ` C-x C-e with prefix arg [patch] Drew Adams
2013-05-05  6:05     ` Xue Fuqiao
2013-05-05  8:57 ` C-x C-e with prefix arg Juri Linkov
2013-05-05 14:23   ` Drew Adams
2013-05-05 19:50     ` Juri Linkov
2013-05-06  7:00       ` Drew Adams
2013-05-06  8:30         ` Juri Linkov
2013-05-06 14:11           ` Drew Adams
2013-05-06 19:54             ` Juri Linkov
2013-05-06 20:13               ` Drew Adams
2013-05-07  8:30                 ` Juri Linkov
2013-05-07 14:16                   ` Drew Adams
2013-05-07 20:55                     ` Juri Linkov
2013-05-07 21:42                       ` Drew Adams
2013-05-07 22:31                         ` Juri Linkov

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=4D5891EF34DF42D3A479CF83CAF1E43E@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.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.