list_dialog

A.V.Kuznetsov kuzn at umps.mephi.ru
Sat Jun 9 10:14:19 CEST 2007


On Fri, 08 Jun 2007 21:06:22 +0200
Tony Balinski <ajbj at free.fr> wrote:

> Quoting "A.V.Kuznetsov" <kuzn at umps.mephi.ru>:
> 
> > A patch is better than nothing.
> > Tony, can you put your patch listDialogKeyWords.diff
> > in the Patch Tracker?
> > It is stable, I often use it's new helpful features.
> > The string entry is very powerful.
> 
> The feature this patch provides is indeed very useful, but I don't like the
> way I did it. Ideally the keyword approach should be handled using a named
> argument syntax. This would be far better than the approach implemented in
> this patch. I'd much prefer:
>   res = list_dialog(.select="extend", title, list, button1, button2)
> or even:
>   res = list_dialog(title, list, .select="extend", \
>                     .buttons={button1,button2})
> than what this patch allows:
>   res = list_dialog(title, list, "extend_sel", button1, button2)
> 
> I hate that optional keyword!
> 
> Although I haven't implemented the named argument version, everything needed
> to already exists. What I need is the go-ahead on the syntactic extension
> (after the next release).
> 
> Tony

Hi

Well, you make, so only you decide, how it must be done.
But the syntax change will take awile(?).
I used new features of the list_dialog()
in packages nesession, nespell and necheck. The first is presented
in Niki's Macro Collection, the last two will be announced soon.
Can I "distribute" the listDialogKeyWords.diff with the packages?

Alexey



More information about the Discuss mailing list