[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new apropos feature in Emacs-22
From: |
Kim F. Storm |
Subject: |
Re: new apropos feature in Emacs-22 |
Date: |
Fri, 11 Nov 2005 10:29:53 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> The only think I can think of that would help beginners with such
> inputs would be to detect such cases and ask the user "Did you mean
> this as a regexp or as a list of keywords?" That question would
> help people without requiring them to remember in advance that the
> two options exist.
> I have not looked at the program callers of the apropos commands.
> If this is likely to break them, maybe we should not do it.
> Otherwise, would you like to do it?
This is on my to-do list.
The main problem is that current callers always supply a regexp.
I'm thinking about adding a new optional argument ENABLE-KEYWORDS
to all apropos commands and set it via an interactive "p" spec,
i.e. so it is set to an integer for interactive use (meaning: ask user).
Other callers could specify "nil" (default) to mean interpret PATTERN
as regexp, "t" to mean interpret PATTERN as words, and ">0" to mean ask
user, and "<0" to mean "automatically determine" without asking.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- RE: new apropos feature in Emacs-22, (continued)
- RE: new apropos feature in Emacs-22, Drew Adams, 2005/11/07
- Re: new apropos feature in Emacs-22, Lennart Borgman, 2005/11/07
- Re: new apropos feature in Emacs-22, Eli Zaretskii, 2005/11/07
- RE: new apropos feature in Emacs-22, Drew Adams, 2005/11/07
- Re: new apropos feature in Emacs-22, Eli Zaretskii, 2005/11/07
- Re: new apropos feature in Emacs-22, Luc Teirlinck, 2005/11/07
- Re: new apropos feature in Emacs-22, Kim F. Storm, 2005/11/08
- Re: new apropos feature in Emacs-22, Miles Bader, 2005/11/08
- Re: new apropos feature in Emacs-22, Lennart Borgman, 2005/11/08
- Re: new apropos feature in Emacs-22, Richard M. Stallman, 2005/11/11
- Re: new apropos feature in Emacs-22,
Kim F. Storm <=
- Re: new apropos feature in Emacs-22, Miles Bader, 2005/11/11
- Re: new apropos feature in Emacs-22, Kim F. Storm, 2005/11/11
- Re: new apropos feature in Emacs-22, Richard M. Stallman, 2005/11/11
- Re: new apropos feature in Emacs-22, Luc Teirlinck, 2005/11/11
- Re: new apropos feature in Emacs-22, Richard M. Stallman, 2005/11/12
- Re: new apropos feature in Emacs-22, Luc Teirlinck, 2005/11/11
- Re: new apropos feature in Emacs-22, Juri Linkov, 2005/11/12
- Re: new apropos feature in Emacs-22, Richard M. Stallman, 2005/11/13
- Re: new apropos feature in Emacs-22, Juri Linkov, 2005/11/14
- Re: new apropos feature in Emacs-22, Richard M. Stallman, 2005/11/15