Julian Fondren | 1 Jan 10:22 2004
Picon

[STUMP] bindings change, rudimentary window groups, odd bug

Happy New Years =)  I just got stumpwm working today,
and did some small
amount of hacking.  I'll share that first; the bug
(which I suppose I
would understand if I knew X a bit better) I put at
the end.

;; keybindings
I had some immediate trouble with stumpwm, because I
didn't know what
keybindings it had.  After I got a development system
up, I changed the
*key-bindings* values to have (cons fn name), with a
string for NAME.
The one accessor of FN now looks at (car (cons fn
name)).  I should've
probably used a struct for this.  I then changed
SET-DEFAULT-BINDINGS
as follows:

  (defun set-default-bindings ()
    "..."
    (macrolet ((bind-keys (&rest list)
                 `(progn , <at> (mapcar (lambda (k)
`(set-key-binding , <at> k))
                                   list))))
      (bind-keys (#\n "next window"
'focus-next-window)
                 (#\p "prev window" 'focus-prev-winow)
                 ...
(Continue reading)

Shawn Betts | 11 Jan 09:37 2004
Picon

Re: [STUMP] bindings change, rudimentary window groups, odd bug

Julian Fondren <miprihas <at> yahoo.com> writes:

> Happy New Years =)  I just got stumpwm working today,
> and did some small
> amount of hacking.  I'll share that first; the bug
> (which I suppose I
> would understand if I knew X a bit better) I put at
> the end.

> [BIG FAT SNIP]

> ;; Thanks =)

Hi Julian!

It's great to see you hacking stumpwm! I apologise for not replying in
more detail but I just got my machine working again and it's late :).

I just wanted to say that I'll be looking at your patches and that the
stumpwm source is going to get thrown all over the place several times
more. I'll incorporate your changes where they fit.

Shawn

Gmane