all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: pp-eval-expression enhancements
Date: Tue, 24 Jul 2007 18:02:15 -0400	[thread overview]
Message-ID: <jwvk5spxy3s.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <BNELLINCGFJLDJIKDGACAEONCAAA.drew.adams@oracle.com> (Drew Adams's message of "Tue\, 24 Jul 2007 13\:23\:52 -0700")

>> > I use `pp-eval-expression' because it decides pretty well, IMO:
>> > if the result is more than it would make sense to show in the
>> > echo area, then it's likely that I want to do something with
>> > the result, so it puts it in a separate buffer, in the right mode.
>> 
>> > I find the heuristic is uses pretty handy. I never need to fish
>> > the result out of *Messages*
>> 
>> I never need such fishing, I always use the C-u prefix arg for that.

> You apparently always (1) know ahead of time that you want to use the
> result, and (2) open an appropriate buffer ahead of time, to capture the
> pasted result.

No.  I always do something like:

  M-: <something> RET

then look at the result and think "oh I could do <mumble>" so I go where
I need the thing inserted and then do

  C-u M-: M-p RET

Works just dandy.

> In addition, I sometimes use `M-:' on the fly during minibuffer completion
> (in Icicles, `M-:' is bound in the minibuffer keymaps to
> `pp-eval-expression'). It is quite convenient to have the result displayed
> in another buffer, for examination or editing and copying. I often use `M-:'
> the same way one would use `C-h f', `C-h k', and `C-h F': to get information
> about something. I use both kinds of information during minibuffer input.

That's a separate issue, I believe.  Most uses of `message' should be made
more careful so that they do something more clever if used from within
the minibuffer.


        Stefan

  reply	other threads:[~2007-07-24 22:02 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 [this message]
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
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk5spxy3s.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.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 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.