On Thu, Mar 27, 2003 at 03:24:32PM +0000, Mikhael Goikhman wrote:
> On 27 Mar 2003 15:15:30 +0100, Dominik Vogt wrote:
> > 
> > On Thu, Mar 27, 2003 at 01:35:05PM +0000, Mikhael Goikhman wrote:
> > > On 27 Mar 2003 14:27:30 +0100, Dominik Vogt wrote:
> > > > 
> > > > How difficult is it to make module aliases to work with KillModule
> > > > too?
> > > 
> > > This works since 2.3.x:
> > > 
> > >   Module FvwmButtons MyLeftTopBar
> > >   KillModule FvwmButtons MyLeftTopBar
> > > 
> > > And "KillModule FvwmButtons" kills all aliases.
> > 
> > I see.  Is there any reason why I can't say just
> > 
> >   KillModule MyLeftTopBar
> 
> Will then "KillModule FvwmButtons" mean kill only one alias (no alias)
> or all aliases?

Only one.  How about pattern matching as in DestroyModuleConfig:

  KillModule FvwmButtons*

?

> Currently you can do both variants (for example, I use
> "KillModule FvwmEvent to kill all event listeners). This was the reason
> of this KillModule syntax, another reason is similarity of the Module
> and KillModule syntaxes regarding aliases. Finally, currently you may
> define "Module FvwmIconMan MyLeftTopBar" and it works.
> 
> The global problem we have with aliases is that alias is optional for
> modules, once we make the alias concept to be mandatory for all modules,
> we may then think about changing the syntax of all module commands.
> I will start a new thread about this later.

Bye

Dominik ^_^  ^_^
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to