"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:

> I made some improvements:
>
> - Completion list is not updated unnecessarily if search pattern is
> unchanged after editing.
>
> - Keybindings for timid completion are configurable.
>
> - Generalized binding of completion keys, so timid can be used for
> other kinds of completions too (e.g. execute-extended-command can also
> be added to timid-affected-commands).
>
> http://www.emacswiki.org/cgi-bin/emacs/timid.el

Instead of the timid-enable / timid-disable, why don't
you make this into a proper minor mode, 
e.g. named timid-completion-mode (or just timid-mode).

Also, instead of the various "member" checks, it is
better (IMO) to put a 'timid-completion property on
the relevant commands, and then do something like

(if (eq (get this-command 'timid-completion) 'affected)
    ...

instead of 

(if (member this-command timid-affected-commands)
    ...


That makes it easier for unrelated packages to
mark commands as "timid-affected" without actually
loading timid.el.

See delsel.el for a good example.

-- 
Kim F. Storm  http://www.cua.dk



_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to