From: Drew Adams <drew.adams@oracle.com>
To: Stefan Kangas <stefan@marxist.se>, 41021@debbugs.gnu.org
Subject: bug#41021: [PATCH] New command apropos-function
Date: Sat, 2 May 2020 13:18:16 -0700 (PDT) [thread overview]
Message-ID: <603ebaa3-3014-4f98-9e1b-a89eeebee6af@default> (raw)
In-Reply-To: <CADwFkmkQxhX+UvfHacDJVi3tuGuzjiv0Eb5p6ywEOKUu4zmg4w@mail.gmail.com>
FWIW, this has been in my library `apropos-fn+var.el' since 2005.
The file header includes this:
;; Acknowledgment: Slightly different versions of `apropos-function'
;; and `apropos-variable' were posted by Kevin Rodgers to
;; bug-gnu-emacs, Tue, 06 Sep 2005 14:34:54 -0600. Kevin didn't
;; actually redefine `apropos-variable' (he would never do that ;-)),
;; but he provided the new definition. I redefined `apropos-print'
;; (and added button type `apropos-user-option' for Emacs < 24.4).
This is my `apropos-function':
(defun apropos-function (pattern)
"Show functions that match PATTERN.
This includes functions that are not commands.
PATTERN can be a word, a list of words (separated by spaces),
or a regexp (using some regexp special characters). If it is a word,
search for matches for that word as a substring. If it is a list of words,
search for matches for any two (or more) of those words.
When called from a Lisp program, a string PATTERN is used as a regexp,
while a list of strings is used as a word list."
(interactive "i")
(if (interactive-p)
(let ((apropos-do-all t))
(call-interactively 'apropos-command))
(apropos-command pattern t)))
https://www.emacswiki.org/emacs/download/apropos-fn%2bvar.el
next prev parent reply other threads:[~2020-05-02 20:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 10:40 bug#41021: [PATCH] New command apropos-function Stefan Kangas
2020-05-02 11:02 ` Eli Zaretskii
2020-05-02 11:35 ` Stefan Kangas
2020-05-02 11:52 ` Eli Zaretskii
2020-05-03 3:44 ` Richard Stallman
2020-05-02 13:37 ` Dmitry Gutov
2020-05-02 20:18 ` Drew Adams [this message]
2020-05-03 14:19 ` Eli Zaretskii
2020-05-04 3:09 ` Richard Stallman
2020-05-03 3:44 ` Richard Stallman
2020-08-08 12:04 ` Lars Ingebrigtsen
2020-08-10 13:06 ` Stefan Kangas
2020-08-10 13:22 ` Lars Ingebrigtsen
2020-08-10 13:25 ` Lars Ingebrigtsen
2020-08-10 13:37 ` Stefan Kangas
[not found] <<CADwFkmkQxhX+UvfHacDJVi3tuGuzjiv0Eb5p6ywEOKUu4zmg4w@mail.gmail.com>
[not found] ` <<603ebaa3-3014-4f98-9e1b-a89eeebee6af@default>
[not found] ` <<834ksxqexm.fsf@gnu.org>
2020-05-03 20:13 ` Drew Adams
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=603ebaa3-3014-4f98-9e1b-a89eeebee6af@default \
--to=drew.adams@oracle.com \
--cc=41021@debbugs.gnu.org \
--cc=stefan@marxist.se \
/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.