gnu-emacs-sources
[Top][All Lists]
Advanced

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

Re: timid.el --- timid completion


From: address@hidden
Subject: Re: timid.el --- timid completion
Date: 26 Feb 2007 11:11:31 -0800
User-agent: G2/1.0

On Feb 26, 3:45 pm, address@hidden (Kim F. Storm) wrote:
>
> 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).
>

Done.

> 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)

Good idea. Thanks!


Changes:

- timid-affected-commands is eliminated. Timid completion affects only
  those commands which have the `timid-completion' property set to t.

- Commands allowed during timid completion must also have
  `timid-completion' property set to t. Editing commands which modify
  the pattern must have the property set to `edit'.

- Timid mode can be toggled with M-x timid-mode. timid-enable/disable
  is no more.

http://www.emacswiki.org/cgi-bin/emacs/timid.el



reply via email to

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