ratpoison-devel
[Top][All Lists]
Advanced

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

Re: The def* commands (Was: [RP] Getting Through and Locking XTerm Width


From: Nikolai Weibull
Subject: Re: The def* commands (Was: [RP] Getting Through and Locking XTerm Width)
Date: Tue, 19 Apr 2005 14:14:30 +0200
User-agent: Mutt/1.5.8i

Martin Samuelsson, April 19:

> On Sun, Apr 17, 2005 at 08:12:59PM +0200, Nikolai Weibull wrote:

> > I'd love to see this for unbind as well,

> Given the fact that :unbind actually is implemented as:

>    actions.c:  add_alias ("unbind", "undefinekey " ROOT_KEYMAP);

> this could get tricky to implement cleanly in a beautiful way.

Well, if these aliases are like shell aliases, I don't see the problem.
Ratpoison would simply expand

  unbind KEY...

to

  undefinekey root KEY...

and undefinekey would have to be rewritten to handle multiple key
arguments,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}




reply via email to

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