Re: builtin command aliases

2002-06-20 Thread Dave Trollope
Hi Mikhael Mikhael Goikhman wrote: > Dave, in all your examples with no exception you either want functions or > preprocessing, both are already available. You don't need a new alias > functionality for this. Aliases only needed to be able to configure > hardcoded builtins that fvwm and modules h

Re: builtin command aliases

2002-06-20 Thread Mikhael Goikhman
On 19 Jun 2002 20:09:54 -0500, Dave Trollope wrote: > > At first I thought the idea of implementing alias' was very good but I > fear that limiting it to the first word would be too limiting to be > really useful. Take for example: > > *FvwmButtonsGeometry 520x100-1-1 > *FvwmButtonsBack bisque3 >

Re: builtin command aliases

2002-06-19 Thread Dave Trollope
Hi, At first I thought the idea of implementing alias' was very good but I fear that limiting it to the first word would be too limiting to be really useful. Take for example: *FvwmButtonsGeometry 520x100-1-1 *FvwmButtonsBack bisque3 *FvwmButtons(Padding 2 2 Container(Rows 1 Columns 4 Frame 1 Pad

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 10:18:54 -0400, Dan Espen wrote: > > > > To be consistent, shouldn't Unalias be: > > > > > > Alias GotoDesk - > > > > But "-" is a valid function name. > > Anyone using "-" as a function name shouldn't be surprised > when it causes a problem. Actually, "-" is a builtin prefix. S

Re: builtin command aliases

2002-06-19 Thread Dan Espen
Dominik Vogt writes: > On Wed, Jun 19, 2002 at 09:45:08AM -0400, Dan Espen wrote: > > Mikhael Goikhman <[EMAIL PROTECTED]> writes: > > > On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: > > > > > > > > Dominik Vogt wrote: > > > > > > > > > Alias GotoDesk MyGotoDesk > > > > > Builtin GotoDesk >

Re: builtin command aliases

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 09:45:08AM -0400, Dan Espen wrote: > Mikhael Goikhman <[EMAIL PROTECTED]> writes: > > On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: > > > > > > Dominik Vogt wrote: > > > > > > > Alias GotoDesk MyGotoDesk > > > > Builtin GotoDesk > > > > Unalias GotoDesk > > To be co

Re: builtin command aliases

2002-06-19 Thread Dominik Vogt
On Wed, Jun 19, 2002 at 01:37:41PM +0100, Tim Phipps wrote: > Dominik Vogt wrote: > > > Alias GotoDesk MyGotoDesk > > Builtin GotoDesk > > Unalias GotoDesk > > > > > > How would this be different to just reversing to order of command look > up? i.e. look for functions before built in commands.

Re: builtin command aliases

2002-06-19 Thread Dan Espen
Mikhael Goikhman <[EMAIL PROTECTED]> writes: > On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: > > > > Dominik Vogt wrote: > > > > > Alias GotoDesk MyGotoDesk > > > Builtin GotoDesk > > > Unalias GotoDesk To be consistent, shouldn't Unalias be: Alias GotoDesk - I'd guess only Builtins cou

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 13:37:41 +0100, Tim Phipps wrote: > > Dominik Vogt wrote: > > > Alias GotoDesk MyGotoDesk > > Builtin GotoDesk > > Unalias GotoDesk > > How would this be different to just reversing to order of command look > up? i.e. look for functions before built in commands. We still need

Re: builtin command aliases

2002-06-19 Thread Tim Phipps
Dominik Vogt wrote: Alias GotoDesk MyGotoDesk Builtin GotoDesk Unalias GotoDesk How would this be different to just reversing to order of command look up? i.e. look for functions before built in commands. Cheers, Tim. -- Visit the official FVWM web page at http://www.fvwm.org/>. To u

Re: builtin command aliases

2002-06-19 Thread Mikhael Goikhman
On 19 Jun 2002 13:32:33 +0200, Dominik Vogt wrote: > > I'd like to add command name aliases to fvwm, e.g. > > Alias GotoDesk MyGotoDesk > > and to get the builtin command: > > Builtin GotoDesk > > and of course > > Unalias GotoDesk > > This way it would be possible to replace a builtin