From: PJ Weisberg <pj@irregularexpressions.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "9030@debbugs.gnu.org" <9030@debbugs.gnu.org>,
PJ Weisberg <pj@irregularexpressions.net>
Subject: bug#9030: `where-is' doesn't play well `with with-output-to-string'
Date: Tue, 12 Jul 2011 21:44:26 -0700 [thread overview]
Message-ID: <CAJsNXT=nahFa+KO3_0ChExN7p4gonF1pz1ggEuVEYm3jg4Uz0A@mail.gmail.com> (raw)
In-Reply-To: <jwvwrfm96oo.fsf-monnier+emacs@gnu.org>
On Tuesday, July 12, 2011, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> Tangentially, I wonder why where-is needs an optional INSERT argument
>> that means "don't print the result, instead insert it (oh, and use a
>> slightly different format)".
>
> It's clearly meant for interactive use. I'm not sure if it answers your
> question, tho.
For what it's worth, the code that gives what I was actually trting to
get from `what-is' is `(mapcar 'key-description (where-is-internal
foo))'. I don't know if there's a way to get that without using a
function with "internal" in the name.
--
-PJ
next prev parent reply other threads:[~2011-07-13 4:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-09 2:39 bug#9030: `where-is' doesn't play well `with with-output-to-string' PJ Weisberg
2011-07-12 22:33 ` Glenn Morris
2011-07-13 3:54 ` Stefan Monnier
2011-07-13 4:44 ` PJ Weisberg [this message]
2011-08-07 17:21 ` Stefan Monnier
2011-09-13 7:18 ` 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='CAJsNXT=nahFa+KO3_0ChExN7p4gonF1pz1ggEuVEYm3jg4Uz0A@mail.gmail.com' \
--to=pj@irregularexpressions.net \
--cc=9030@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.