From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: pp-eval-expression enhancements
Date: Thu, 26 Jul 2007 15:12:19 -0400 [thread overview]
Message-ID: <jwv8x93j83u.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r6mvh7oj.fsf@jurta.org> (Juri Linkov's message of "Thu\, 26 Jul 2007 11\:48\:28 +0300")
>> I'm afraid that it's still too early: the user still has to decide where the
>> result goes before seeing that result. A better option might be to provide
>> a new command that can be executed right after M-: which would show the last
>> result in a separate buffer, pretty printed, highlighted, and all.
> I think a new display command to execute after M-: can be useful only
> when the user doesn't know beforehand what the output will look like.
> But in most cases before executing M-: or M-!, I know what the output
> I expect and what I want to do with the output (search/edit/copy-paste...)
That's very much not my case. The way I typically use M-: is as follows:
- M-: <something> RET
[ doesn't give me what I want, either because of a typo, or because
I need to refine the command. ]
- M-: M-p <edit> RET
[ still doesn't give me what I want. ]
- M-: M-p <moreedits> RET
[ Ah, now that's what I wanted to see. ]
- And now, if I need to see the result elsewhere, then I'll do
C-u M-: M-p RET
So even if I know that I will want to insert the output at point, I still
want to first see this result to make sure that it's indeed the one I want.
Stefan
next prev parent reply other threads:[~2007-07-26 19:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-10 22:54 pp-eval-expression enhancements Drew Adams
2007-07-22 23:42 ` Drew Adams
2007-07-23 18:06 ` Richard Stallman
2007-07-23 20:54 ` Drew Adams
2007-07-24 16:45 ` Richard Stallman
2007-07-24 17:18 ` Drew Adams
2007-07-24 18:17 ` Stefan Monnier
2007-07-24 18:50 ` Drew Adams
2007-07-24 19:24 ` Stefan Monnier
2007-07-24 20:23 ` Drew Adams
2007-07-24 22:02 ` Stefan Monnier
2007-07-25 21:40 ` Juri Linkov
2007-07-26 0:49 ` Stefan Monnier
2007-07-26 8:48 ` Juri Linkov
2007-07-26 19:12 ` Stefan Monnier [this message]
2007-08-04 23:42 ` T. V. Raman
2007-07-25 15:02 ` Richard Stallman
2007-07-25 15:02 ` Richard Stallman
2007-08-02 15:45 ` Richard Stallman
2007-08-03 3:26 ` Glenn Morris
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8x93j83u.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=rms@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).