From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: elisp-index-search on current word
Date: Thu, 9 Oct 2008 19:36:07 -0700 (PDT) [thread overview]
Message-ID: <222d1a4b-871e-4143-b0c9-98f96027dbd3@r37g2000prr.googlegroups.com> (raw)
In-Reply-To: mailman.753.1223605127.25473.help-gnu-emacs@gnu.org
On Oct 9, 7:18 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> Ah, to get the conventional prompt:
>
> (defadvice elisp-index-search (before interactive-default activate)
> "Provide the symbol at point as the default when reading TOPIC
> interactively."
> (interactive (let ((symbol-at-point (thing-at-point 'symbol)))
> (list (read-string (if symbol-at-point
> (format "Topic (%s): " symbol-at-point)
> (format "Topic: "))
> nil nil symbol-at-point)))))
Thanks! Super.
Xah
∑ http://xahlee.org/
☄
prev parent reply other threads:[~2008-10-10 2:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 1:31 elisp-index-search on current word Xah
2008-10-08 6:07 ` Thierry Volpiatto
2008-10-08 7:20 ` Kevin Rodgers
[not found] ` <mailman.530.1223450464.25473.help-gnu-emacs@gnu.org>
2008-10-08 14:21 ` Andy Stewart
2008-10-08 16:11 ` Xah
2008-10-08 17:19 ` Thierry Volpiatto
2008-10-09 2:49 ` Kevin Rodgers
[not found] ` <mailman.596.1223486652.25473.help-gnu-emacs@gnu.org>
2008-10-09 13:54 ` Richard Riley
2008-10-10 2:07 ` Kevin Rodgers
[not found] ` <mailman.751.1223604460.25473.help-gnu-emacs@gnu.org>
2008-10-10 8:41 ` Richard Riley
[not found] ` <mailman.646.1223520579.25473.help-gnu-emacs@gnu.org>
2008-10-09 15:00 ` Xah
2008-10-10 2:18 ` Kevin Rodgers
[not found] ` <mailman.753.1223605127.25473.help-gnu-emacs@gnu.org>
2008-10-10 2:36 ` Xah [this message]
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=222d1a4b-871e-4143-b0c9-98f96027dbd3@r37g2000prr.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@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.
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).