From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: new apropos feature in Emacs-22 Date: Tue, 08 Nov 2005 13:48:28 +0100 Message-ID: References: <200511050315.jA53Fjd19148@raven.dms.auburn.edu> <200511060027.jA60R2f26077@raven.dms.auburn.edu> <200511080458.jA84wXB17185@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131459129 15368 80.91.229.2 (8 Nov 2005 14:12:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 14:12:09 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 08 15:12:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZUBk-0001GM-L8 for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2005 15:11:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZUBj-00070s-Bx for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2005 09:11:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZSv5-0005Ln-DU for emacs-devel@gnu.org; Tue, 08 Nov 2005 07:49:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZSuy-0005KM-QQ for emacs-devel@gnu.org; Tue, 08 Nov 2005 07:49:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZSuw-0005KC-Qp for emacs-devel@gnu.org; Tue, 08 Nov 2005 07:49:38 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EZSuv-0007Wp-06; Tue, 08 Nov 2005 07:49:37 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 726BA26280A; Tue, 8 Nov 2005 13:49:27 +0100 (CET) Original-To: Luc Teirlinck In-Reply-To: <200511080458.jA84wXB17185@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 7 Nov 2005 22:58:33 -0600 (CST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45591 Archived-At: Luc Teirlinck 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 http://www.cua.dk