emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new apropos feature in Emacs-22


From: Kim F. Storm
Subject: Re: new apropos feature in Emacs-22
Date: Tue, 08 Nov 2005 13:48:28 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> I grepped for `apropos' in the lisp directory.  I now believe that
> making the default recognize even less regexps carries a risk of
> breaking some things, relatively close to a release.  There were tons
> of complex matches and I do not have the time to try to understand all
> of them and see what would break them.

I grepped for apropos too, and I didn't find any "complex matches".

Most of the matches has nothing to do with apropos.el functionality.

There are some (clever) rules in gnus-art to make a hyperlink out
of e.g.
   M-x apropos-documentation RET init file RET
but this will DTRT, as it takes the string between RET ... RET and
pass it to e.g. apropos-documentation which is exactly TRTD.

There is also this little snippet in wid-edit.el:
    (if (and (fboundp symbol) (boundp symbol))
        ;; If there are two doc strings, give the user a way to pick one.
        (apropos (concat "\\`" (regexp-quote string) "\\'"))
But this explicitly makes the arg. into a regexp.

The rest seems to be trivial, and will DTRT as is.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]