ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Patch for frames et al...


From: Mike Meyer
Subject: Re: [RP] Patch for frames et al...
Date: Fri Nov 2 00:19:01 2001

Doug Kearns <address@hidden> types:
> On Mon, Oct 29, 2001 at 08:22:38AM -0600, Mike Meyer wrote:
> > More commands now return values. All the variable-setting commands
> > except those requiring knowledge of X do so, both interactively and
> > from scripts.
> 
> I think that the values returned should just be prefixed with the
> command name and a delimiter eg. defwinfmt = %n %s %w, or possibly just
> the value.
> 
> At least, when not called interactively.

I like the "name = <value>" format. One of the goals was to make as
few commands as possible change their behavior when run from a script
vs.  interactively. That format works nicely for scripts and is
sufficiently verbose for interactive use as well.

        Thanx,
        <mike
--
Mike Meyer <address@hidden>                     http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?              A: Tell them your plans.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]