[Top][All Lists]

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

Re: [RP] multiple commands

From: Shawn Betts
Subject: Re: [RP] multiple commands
Date: Tue Nov 27 12:37:16 2001
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105

Ben Leslie <address@hidden> writes:

> On Tue, 20 Nov 2001, Mike Meyer wrote:
> > Ben Leslie <address@hidden> types:
> > > bind e exec ratpoison -c focusleft; ratpoison -c "select emacs"
> > > in my .ratpoisonrc .
> > >
> > > This works and all but is kinda silly launching two processes just so
> > > I can issue two commands.
> > > 
> > > So my question is can I do something like:
> > > bind e focusleft; select emacs
> > 
> > Try this:
> > 
> > bind e exec ratpoison -c focusleft -c "select emacs"
> > 
> > That works in the version in cvs; I'm not sure about the last release.
> Yup I'm on CVS, that works fine. Still a little bit icky having to start
> a ratpoison process from inside ratpoins, but I can live with that for
> now :>

Its recursion on a process level. Most people agree that recursion is
"elegant" and "simple". So what's wrong with this kind of recursion?
It doesn't look like this is an issue anymore (3 out of 4 men dressed
in lab coats with stethoscopes around their necks agree). Would it be
somehow better if we had a seperate program that does exactly what
ratpoison -c does except that its called, say, rp-c? Seems like
there's just no need to complicate things.

reply via email to

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