> I like the names you've chosen for the modes. They make it obvious what > their purpose is. > > The minibuffer-annotation system is of course a general system by design, > so let's say down the road we add another feature that uses it - for > example, ido-style inline completions. This poses a problem, because if > this hypothetical feature were enabled, and a person then disabled > hints-minibuffer-annotation-mode, minibuffer-annotation-mode should *not* > be disabled, because it is still needed for the inline completions system. > Any thoughts on how to deal with this eventuality?
Good point. Something like minibuffer-annotation-mode represented by an object with enable/disable methods, but also register/unregister methods. Each feature would register itself with the mode. The mode can disable itself when the list of registered features is empty. Regards, David _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
