From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Apropos commands and regexps Date: 14 May 2002 14:38:59 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <5xbsbj9834.fsf@kfs2.cua.dk> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021358344 6786 127.0.0.1 (14 May 2002 06:39:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 May 2002 06:39:04 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177Vxg-0001lL-00 for ; Tue, 14 May 2002 08:39:04 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177W8a-00057Z-00 for ; Tue, 14 May 2002 08:50:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177VC2-0004wY-00; Tue, 14 May 2002 01:49:50 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 177V20-0002vS-00; Tue, 14 May 2002 01:39:29 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g4E5d7R27655; Tue, 14 May 2002 14:39:07 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g4E5d6R19875; Tue, 14 May 2002 14:39:06 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g4E5d3u09621; Tue, 14 May 2002 14:39:05 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g4E5cxK24528; Tue, 14 May 2002 14:38:59 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C837037C8; Tue, 14 May 2002 14:38:59 +0900 (JST) Original-To: no-spam@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <5xbsbj9834.fsf@kfs2.cua.dk> Original-Lines: 29 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3905 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3905 no-spam@cua.dk (Kim F. Storm) writes: > > Perhaps we should have a new command for that, and name it something like > > apropos-keywords. > > I disagree. > > all apropos commands should > a) be easy to use - especially for the novice user > b) accept the same type of "search patterns". > > I think giving the apropos commands a keyword based interface is a > good way to accomplish (a), and having an specific apropos-keywords > command breaks (b). I tend to agree with this. I think that an enhanced `keyword' interface can be made so that it won't interfere unduly with traditional regexp apropos usage anyway. For instance, if we use commas & whitespace to separate the `keywords', I suspect it's very rare for either to occur inside apropos regexps, simply because the things being searched for contain neither commas or whitespace (so such a regexp would always fail). [the exceptions are things like `apropos-documentation' (and apropos-zippy!), but even then, it's probably still true in practice] -Miles -- Suburbia: where they tear out the trees and then name streets after them.