[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new apropos feature in Emacs-22

From: Miles Bader
Subject: Re: new apropos feature in Emacs-22
Date: Fri, 11 Nov 2005 19:57:21 +0900

2005/11/11, Kim F. Storm <address@hidden>:
> 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.

I think it would be a _lot_ more intuitive to just have apropos
functions interpret PATTERN as a regexp if it's a string, and as a
list of keywords if it's a list.  There could be a
"read-apropos-pattern" function that would convert the user's input
into the appropriate lisp value, which could be used directly in the
(interactive ) form of various apropos commands.

Do not taunt Happy Fun Ball.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]