From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Apropos commands and regexps Date: Sun, 19 May 2002 17:23:05 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <5xbsbj9834.fsf@kfs2.cua.dk> <200205150700.g4F70rr16163@aztec.santafe.edu> <87ptzxmz7s.fsf@tc-1-100.kawasaki.gol.ne.jp> <5xoffhoywn.fsf@kfs2.cua.dk> <5xg00r4tlo.fsf@kfs2.cua.dk> <200205162138.g4GLchM03531@rum.cs.yale.edu> <200205181848.g4IImEW21971@aztec.santafe.edu> <200205182224.g4IMOKh13995@rum.cs.yale.edu> <6137-Sun19May2002175042+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021821868 4669 127.0.0.1 (19 May 2002 15:24:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 19 May 2002 15:24:28 +0000 (UTC) Cc: 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 179SXs-0001DC-00 for ; Sun, 19 May 2002 17:24:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 179SlN-00031u-00 for ; Sun, 19 May 2002 17:38:26 +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 179SY7-0006Re-00; Sun, 19 May 2002 11:24:43 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 179SWq-0006MJ-00 for ; Sun, 19 May 2002 11:23:24 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g4JFNFb26842; Sun, 19 May 2002 17:23:15 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id RAA06464; Sun, 19 May 2002 17:23:06 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id F20173B41D; Sun, 19 May 2002 17:23:05 +0200 (CEST) Original-To: Eli Zaretskii In-Reply-To: <6137-Sun19May2002175042+0300-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Sun, 19 May 2002 17:50:43 +0300") Original-Lines: 34 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu) 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:4125 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4125 "Eli Zaretskii" writes: >> From: Kai.Grossjohann@CS.Uni-Dortmund.DE >> Date: Sun, 19 May 2002 14:02:24 +0200 >> >> > C-h i m emacs i paste RET >> > will make you jump to the glossary where it says "see killing and yanking", >> > so the user should then know to search for `yank'. >> >> This won't work for more complicated queries, only for the >> single-word case. What happens when the user searches for "cut >> line"? The fact that "cut" is mentioned in the glossary won't help >> so much. > > The same problem will happen if the user searches for "yank line". > So I'm not sure what is your point; it is quite clear that some of > the searches will fail to find all the keywords, and will have to do > something smart about that. When the user enters a query `foo bar' and Emacs knows that quux is a synonym for foo, then the system should search for `foo bar quux'. (The preceding sentence assumes that the system interprets the query in a best-match fashion. It will have to be changed accordingly for other query interpretations.) The fact that the system already finds the glossary entry for quux when the user enters foo doesn't provide the functionality that's described in my first sentence in this message. Does that make it clearer what my point is? kai -- Silence is foo!