[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apropos commands and regexps
From: |
Kim F. Storm |
Subject: |
Re: Apropos commands and regexps |
Date: |
13 May 2002 21:18:45 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
Miles Bader <address@hidden> writes:
> Eli Zaretskii <address@hidden> writes:
> > > Wouldn't it be simpler (for a novice user -- and for advanced users
> > > too) to simply write one or more words (substrings) and then search
> > > for all combinations of those words (substrings) in the relevant list.
> > >
> > > E.g. C-h a open file RET would find any matching
> > >
> > > open.*file and file.*open
> >
> > Perhaps we should have a new command for that, and name it something like
> > apropos-keywords.
>
> I agree, but I think it shouldn't use the wierd hack on regexp syntax,
> that's just confusing.
I agree that we might find something better than what I suggested; it's
a starting point which can be improved...
>
> I'd say just separate the keywords by looking for commas or whitespace
> or either (each `keyword' could be a regexp though). That would be
> both more convenient and also more familiar to people used to using
> typical keyword searches (e.g., in web search engines).
We could put \b around the words in the regexp if we don't want substring
matching.
The obvious problem restricting this to complete words is how to make
e.g. "list process" match "list-processes".
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Apropos commands and regexps, Kim F. Storm, 2002/05/11
- Re: Apropos commands and regexps, Eli Zaretskii, 2002/05/12
- Re: Apropos commands and regexps, Kim F. Storm, 2002/05/13
- Re: Apropos commands and regexps, Miles Bader, 2002/05/14
- Re: Apropos commands and regexps, Richard Stallman, 2002/05/15
- Re: Apropos commands and regexps, Miles Bader, 2002/05/15
- Re: Apropos commands and regexps, Kim F. Storm, 2002/05/15
- Re: Apropos commands and regexps, Miles Bader, 2002/05/15
- Re: Apropos commands and regexps, Kim F. Storm, 2002/05/16
- Re: Apropos commands and regexps, Stefan Monnier, 2002/05/16
- Re: Apropos commands and regexps, Kai Großjohann, 2002/05/17