From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Apropos commands and regexps Date: Thu, 16 May 2002 14:24:00 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205162024.g4GKO0a18967@aztec.santafe.edu> References: <5xbsbj9834.fsf@kfs2.cua.dk> <200205150700.g4F70rr16163@aztec.santafe.edu> <87ptzxmz7s.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021580832 17683 127.0.0.1 (16 May 2002 20:27:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 May 2002 20:27:12 +0000 (UTC) Cc: kfs@cua.dk, eliz@is.elta.co.il, 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 178RqC-0004b6-00 for ; Thu, 16 May 2002 22:27:12 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 178S2M-0004U0-00 for ; Thu, 16 May 2002 22:39:46 +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 178RqA-0008Ux-00; Thu, 16 May 2002 16:27:10 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 178Rn8-0008EZ-00; Thu, 16 May 2002 16:24:02 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4GKO0k00679; Thu, 16 May 2002 14:24:00 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4GKO0a18967; Thu, 16 May 2002 14:24:00 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: miles@gnu.org In-Reply-To: <87ptzxmz7s.fsf@tc-1-100.kawasaki.gol.ne.jp> (message from Miles Bader on 15 May 2002 20:23:35 +0900) 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:4019 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4019 The way I envisioned it was all apropos commands taking _list_ of regexps (separated by whitespace/commas), and applying them in an `and' manner. The other suggestion, to look for names that contain at least two of the specified terms, seems more useful to me. Given the particular nature of apropos usage in emacs, I think there wouldn't be any conflict in practice from using whitespace/commas as the list delimiters. I agree. There might also be other things we can do, like if a term begins with an alphabetic character, anchor it with \<. I disagree; I think it is better to allow prefixes too. That will tend to find a small number of extra matches, which will not do much harm, and sometimes it will do good.