On Fri, 27 Feb 2009 19:13:28 +0200 "Ville M. Vainio" <[email protected]> wrote:
> > Concerning the overlap between these two plugins, I think you may be > > the best one to evaluate that. Review the documentation on the > > nodeActions plugin and let me know what you think. > > I think nodeActions should be implemented as act-on-node hander. That > is, loading the nodeActions plugin should register one function to > check whether the active node matches one of the sought-after patterns > and dispatch the wanted node. > > I can do the work on nodeActions for this. It will serve as a nice > example :-) > > The whole point of act-on-node is making plugins co-operate on > "default action", so nodeActions can still play nice even if another > active plugin is interested in icon doubleclick activity. TL has been talking to me off list about mods to active_path, and if I understand correctly he'd would like to see active_path support a @setting to stop it gobbling double-clicks on *file* nodes, so that open_with still works. This is exactly the kind of conflict (between plugins :-) we've been discussing, and I still don't see how act-on-node would help. How is active_path supposed to know the user wants active_path to step aside in favor of open_with? If active_path and open_with both published commands to do what they do, TL could bind them to whatever he wanted, open_with on double-click and active_path on alt-click or ctrl-space, or whatever. This also sidesteps the problem that TL wants increased granularity in active_path's view of nodes it understands. I.e. a "do what you do to this node, *unless* it's a file node" action, as well as it's existing "do what you do to this node" action. You can of course get 5 and even 7 button mice... Cheers -Terry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
