[no subject]



Anyway this is where I am.

I can get a list of window ids:

 [bhughes bretsony bin]$ sawfish-client -
sawfish 1.0.1, Copyright (C) 1999-2000 John Harper
sawfish comes with ABSOLUTELY NO WARRANTY; for details see the file
COPYING

Enter `,help' to list commands.
user> (setq winlist (managed-windows))
(#<window 1200023> #<window 1200047> #<window 120005a> #<window 120006d>
#<window 1200080> #<window 12001fe> #<window 1000043> #<window 1800559>
#<window 2400070> #<window 2a05fa1> #<window 14002d5>)
user> winlist
(#<window 1200023> #<window 1200047> #<window 120005a> #<window 120006d>
#<window 1200080> #<window 12001fe> #<window 1000043> #<window 1800559>
#<window 2400070> #<window 2a05fa1> #<window 14002d5>)
user> 

what I can't do is figure out the sytnax to iterate through the list and
print the names (something that seemed a reasonable starting point.)

I keep locking up the entire ui on my laptop and having to hard restart
the damn thing so I though I would send this plea for help and see if I
can get past this.

I am not wanting someone to write this but rather help me understand the
syntax so I can get past this and continue learning.


So far the best lisp tutorial I have found is written for emacs:

http://www.delorie.com/gnu/docs/emacs-lisp-intro/emacs-lisp-intro_toc.html#SEC_Contents

I currently have parenthesis paralysis Please help.

Bret




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