> > If you remove the item, how can you revert?
>
> You still have the lfun, but there is no binding associated to it. If
> you revert, you restore all bindings instead of only one, but I do not
> think this is a very bad problem.

I see.

> > Then there is no 'removal'  for this unmatched \bind "".
>
> Sorry, I am a bit lost. What is the unmatched \bind ""? Care to give a
> concrete example. The fact that some things do not work well in the
> dialog prevent me to have a good feeling of how it is supposed to work.

If you remove C-g from cua.bind by \bind "" "C-g", and then you switch
to another bind file that does not have C-g. How do you treat this
\bind "" "C-g" item in user.bind? This is my 'unmatched unbind user
item'.

> > In the end, I see that you want to list lfunc with all related
> > keybindings, using a more complicated shortcut edit dialog. In the
> > dialog, you still need to unbind a shortcut specifically to that lfunc
> > (which is not saved as such in user.bind). There is still no better
> > way to handle the 'unmatched unbind'. I really do not see any
> > improvement here.
>
> In the UI, one remove the shortcut. In the bind file, one adds an
> extra bind. It is not so difficult...

This is what I am doing... so I said 'no improvement'.

> So I guess that my point (but keep in mind that I am evolving as I
> write) is that the UI should index on lfuns, whereas bind files index
> on bindings.

This is what the trunk does.

Bo

Reply via email to