Re: Multi-LFUN Binding

2008-09-26 Thread Pavel Sanda
Guenter Milde wrote: > > i'm waiting for your answer since i don't know whether you meant > > exactly this. > > exactly. its in pavel

Re: Multi-LFUN Binding

2008-09-26 Thread Guenter Milde
Pavel Sanda <[EMAIL PROTECTED]> schrieb: > Pavel Sanda wrote: >> Pavel Sanda wrote: >> > G Milde wrote: >> > > > Next issue is the bindings. There ought to >> > > > be other places we can use this, too, no? >> > > >> > > 1. a find-next binding that recalls the last search from the find >> > >

Re: Multi-LFUN Binding

2008-09-26 Thread Pavel Sanda
Pavel Sanda wrote: > Pavel Sanda wrote: > > G Milde wrote: > > > > Next issue is the bindings. There ought to > > > > be other places we can use this, too, no? > > > > > > 1. a find-next binding that recalls the last search from the find dialogue > > >without re-openign it -- falling back to

Re: Multi-LFUN Binding

2008-09-25 Thread G. Milde
On 25.09.08, rgheck wrote: > G Milde wrote: >> 2. I would like some alternative binding for mathed: > As Pavel said, this would be excellent, but isn't for 1.6. I filed a bug report for this: http://bugzilla.lyx.org/show_bug.cgi?id=5286 Günter

Re: Multi-LFUN Binding

2008-09-25 Thread rgheck
G Milde wrote: rgheck <[EMAIL PROTECTED]> schrieb: This has now been committed. Just a name change proposal: command-alternatives -> command-try I know that one is long, but it's a bit more explicit. Next issue is the bindings. There ought to be other places we can use this, to

Re: Multi-LFUN Binding

2008-09-25 Thread Pavel Sanda
Pavel Sanda wrote: > G Milde wrote: > > > Next issue is the bindings. There ought to > > > be other places we can use this, too, no? > > > > 1. a find-next binding that recalls the last search from the find dialogue > >without re-openign it -- falling back to dialog-show findreplace. if you

Re: Multi-LFUN Binding

2008-09-25 Thread Pavel Sanda
G Milde wrote: > > Next issue is the bindings. There ought to > > be other places we can use this, too, no? > > 1. a find-next binding that recalls the last search from the find dialogue >without re-openign it -- falling back to dialog-show findreplace. > > > 2. I would like some alternativ

Re: Multi-LFUN Binding

2008-09-25 Thread G Milde
rgheck <[EMAIL PROTECTED]> schrieb: > This has now been committed. Just a name change proposal: command-alternatives -> command-try > Next issue is the bindings. There ought to > be other places we can use this, too, no? 1. a find-next binding that recalls the last search from the find dialog

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
This has now been committed. Next issue is the bindings. There ought to be other places we can use this, too, no? rh

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
leuven edwin wrote: bind-sequence I'll go with command-alternatives, if only because it stays in the command-* family. rh

RE: Multi-LFUN Binding

2008-09-24 Thread leuven edwin
bind-sequence ?

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > Maybe the former? I'll let you use your great wisdom to pick one. JMarc

Re: Multi-LFUN Binding

2008-09-24 Thread Pavel Sanda
Richard Heck wrote: > So I propose just to commit what I've got i agree with this. call + command-sequence allows to work around it. pavel

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: All those are great ideas, but none of them are things I have time to do. ;-) The current proposal is minimally invasive, and this kind of change is very much so. So I propose just to commit what I've got, and if we want to change

Re: Multi-LFUN Binding

2008-09-24 Thread Pavel Sanda
Richard Heck wrote: > In the current system, yes. But a better system would display something > like "Tab (alt)" for those things. This is because the shortcut dialog also > functions as information: How do I get ? this could be solved by new additional column with some flag, that this is al

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > All those are great ideas, but none of them are things I have time to > do. ;-) The current proposal is minimally invasive, and this kind of > change is very much so. So I propose just to commit what I've got, and > if we want to change the syntax we can do that

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
Pavel Sanda wrote: Richard Heck wrote: +\bind "Tab""alternatives completion-accept; cell-forward" really good approach I've have a quick go at this. The patch is attached. These alternative bindings don't show quite right in the shortcut editor. (Try typing "com

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: But if we used a different delimiter? Or accept alternative command-sequence foo \; bar ; baz Or ... [snip] All those are great ideas, but none of them are things I have time to do. ;-) The current proposal is min

Re: Multi-LFUN Binding

2008-09-24 Thread Pavel Sanda
Richard Heck wrote: >>> +\bind "Tab""alternatives completion-accept; cell-forward" really good approach > I've have a quick go at this. The patch is attached. > > These alternative bindings don't show quite right in the shortcut editor. > (Try typing "comp" in the search box.) But p

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > But if we used a different delimiter? Or accept alternative command-sequence foo \; bar ; baz Or extend command-sequence and alternative to use a syntax like command-sequence "foo" "bar" alternative "command-sequence \"foo\" \"bar\"" "baz" (this la

RE: Multi-LFUN Binding

2008-09-24 Thread leuven edwin
> But if we used a different delimiter? that would've been my next question...

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
Jean-Marc Lasgouttes wrote: leuven edwin <[EMAIL PROTECTED]> writes: is it possible to put a command sequence among the alternatives? No... Our syntax is a bit weak. But you can "call" a macro in there. But if we used a different delimiter? rh

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
leuven edwin <[EMAIL PROTECTED]> writes: > is it possible to put a command sequence among the alternatives? No... Our syntax is a bit weak. But you can "call" a macro in there. JMarc

RE: Multi-LFUN Binding

2008-09-24 Thread leuven edwin
is it possible to put a command sequence among the alternatives?

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > I've have a quick go at this. The patch is attached. Looks good. JMarc

Re: Multi-LFUN Binding

2008-09-24 Thread rgheck
Jean-Marc Lasgouttes wrote: G Milde <[EMAIL PROTECTED]> writes: * or an alternative keyword (similar to the command-sequence) +\bind "Tab""alternatives completion-accept; cell-forward" Excellent idea. I see the advantages to this proposal. +1 This strikes me as a m

Re: Multi-LFUN Binding

2008-09-24 Thread Jean-Marc Lasgouttes
G Milde <[EMAIL PROTECTED]> writes: > * or an alternative keyword (similar to the command-sequence) > > +\bind "Tab""alternatives completion-accept; cell-forward" +1 This strikes me as a much easier solution to implement than multiple bindings! JMarc

Re: Multi-LFUN Binding

2008-09-24 Thread G Milde
rgheck <[EMAIL PROTECTED]> schrieb: > Here's the latest version of this patch. The main change is that this > one addresses the issue of the shortcuts dialog. As I've said elsewhere, > the dialog in its current state simply can't deal with the binding of > multiple LFUNs to one key. My solution