Magnus Henoch | 1 Sep 13:17 2006
Picon

[STUMP] Remove quotes from case forms

CLISP complains about duplicate labels in case forms in some places,
since the labels are quoted; 'left is expanded to (quote left), which
is a permitted label matching either of the symbols quote or left.

This patch removes unnecessary quotes from case forms.

Magnus

Attachment (stumpwm-case-quotes.patch): text/x-patch, 4059 bytes
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel
Xavier Maillard | 3 Sep 00:29 2006
Picon

[STUMP] Configuration file ?

Hi,

I was advocating for stumpwm on a site and I told them how cool is
stumpwm. I even told them I switched to it due to Common Lisp use. I
also explained them I did not like Ion3 due to LUA.

I am asked to show my stumpwm setup file. And here is the question:

do you have a stumpwmrc file lying around that you could share. I do
not (I exlusively play with the REPL) so I can't show anything. I do
not even know what I could put in this setup file.

Regards,

--

-- 
Xavier
Matthew Kennedy | 3 Sep 20:00 2006
Picon

Re: [STUMP] Configuration file ?

Xavier Maillard <zedek <at> gnu.org> writes:

[...]

> I am asked to show my stumpwm setup file. And here is the question:
>
> do you have a stumpwmrc file lying around that you could share. I do
> not (I exlusively play with the REPL) so I can't show anything. I do
> not even know what I could put in this setup file.

I've attached mine.  I don't have a heavily customized stumpwm, but I
do have an example on how to use the new *focus-frame-hook* stuff.
The search stuff at the top is from the original .stumpwmrc included
with stumpwm.  I only modified it to escape strings for URLs.

The two-frames-* code at the end tailors stumpwm to my specific work
habits.  I use only two applications -- Emacs and Firefox.  I tend to
use them side by side in two frames.  I wanted to have the focused
frame resize to be a little wider than the unfocused frame, so I added
a hook to *focus-frame-hook* to do that.

;; -*-lisp-*-

(defpackage #:stumpwm-user
  (:use #:common-lisp
	#:stumpwm))

(in-package #:stumpwm)
(Continue reading)

Jeremy Hankins | 18 Sep 14:43 2006
Face

[STUMP] Great wm, and getting more modifiers to work

My first attempt at sending this (via gmane) was held for the moderator
(I've canceled it) because I wasn't subscribed.  Evidently gmane doesn't
know the list is subscribers-only?

First, very interesting window manager!  Thanks!

Second, what needs to be done to get more modifiers (e.g., super) to
work?  I looked things over a bit, but I'm afraid I didn't understand
enough of what's going on.  Pointers to docs are welcome.

Third, I thought I'd share what I've done with it so far, if it's of
interest.  This can be used to, for example, run a single firefox window
and find it with the same command you use to start it.  I'm fairly new
to lisp, and certainly new to common lisp, so suggestions and pointers
are welcome.

(defun goto-win (win)
  "Raise the window win and select its frame.  For now, it does not
select the screen."
  (let* ((screen (window-screen win))
	 (frame (window-frame screen win)))
    ;; Select screen?
    (frame-raise-window screen frame win)
    (focus-frame screen frame)))

(defun win-app-info (win)
  "Returns a list containing the class, instance, and title of window."
  (list (window-class win)
	(window-res-name win)
	(window-name win)))
(Continue reading)

Jay Belanger | 23 Sep 05:30 2006

Re: [STUMP] Great wm, and getting more modifiers to work


Jeremy Hankins <nowan <at> nowan.org> writes:
...
> Third, I thought I'd share what I've done with it so far, if it's of
> interest.  This can be used to, for example, run a single firefox window
> and find it with the same command you use to start it.

This is nice.  It should go in the wiki.
Ratpoison has something similar, and its lack in StumpWM has kept me
mostly in Ratpoison.  With this, I'll spend more time in StumpWM.
(Ratpoison is still more featureful, but StumpWM gives me the warm
glow of running a lisp program; I must like being nestled in
parentheses.)

Jay
Shawn Betts | 26 Sep 21:14 2006
Picon

Re: [STUMP] Great wm, and getting more modifiers to work

Jeremy Hankins <nowan <at> nowan.org> writes:

> My first attempt at sending this (via gmane) was held for the moderator
> (I've canceled it) because I wasn't subscribed.  Evidently gmane doesn't
> know the list is subscribers-only?

I've long since lost the moderator password. If anyone feels like
picking up the torch and actually sifting through all the spam let me
know.

> First, very interesting window manager!  Thanks!

You're Welcome!

> Second, what needs to be done to get more modifiers (e.g., super) to
> work?  I looked things over a bit, but I'm afraid I didn't understand
> enough of what's going on.  Pointers to docs are welcome.

You need to make sure you have keycodes bound to Super_L/R, Hyper_L/R,
etc. then you need to add these keysyms to a free modifier slot (see
xmodmap). Stumpwm scans this list and figures what mod slot is what
modifier. Then you can bind a command using the same syntax as emacs:

s-!   super + shift + 1
s-S-1 super + shift + 1 (try this if the above doesn't work)
H-n   hyper + n

> Third, I thought I'd share what I've done with it so far, if it's of
> interest.  This can be used to, for example, run a single firefox window
> and find it with the same command you use to start it.  I'm fairly new
(Continue reading)

Jeremy Hankins | 27 Sep 19:32 2006
Face

[STUMP] Re: Great wm, and getting more modifiers to work

Shawn Betts <sabetts <at> vcn.bc.ca> writes:

> You need to make sure you have keycodes bound to Super_L/R, Hyper_L/R,
> etc. then you need to add these keysyms to a free modifier slot (see
> xmodmap). Stumpwm scans this list and figures what mod slot is what
> modifier. Then you can bind a command using the same syntax as emacs:

I guess that's what I get for assuming the debian package was
current....  I switched to cvs and now I can use the other modifiers.

Thanks!

--

-- 
Jeremy Hankins <nowan <at> nowan.org>
PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03
Luca Capello | 28 Sep 16:39 2006
Picon

Re: [STUMP] Re: Great wm, and getting more modifiers to work

Hello!

Disclaimer: I'm the Debian maintainer for stumpwm ;-)

On Wed, 27 Sep 2006 19:32:27 +0200, Jeremy Hankins wrote:
> Shawn Betts <sabetts <at> vcn.bc.ca> writes:
>
>> You need to make sure you have keycodes bound to Super_L/R,
>> Hyper_L/R, etc. then you need to add these keysyms to a free
>> modifier slot (see xmodmap). Stumpwm scans this list and figures
>> what mod slot is what modifier. Then you can bind a command using
>> the same syntax as emacs:
>
> I guess that's what I get for assuming the debian package was
> current....  I switched to cvs and now I can use the other
> modifiers.

In case there's a problem with the Debian package, please file a bug
to the Debian BTS [1], preferentially using reportbug [2].  I try to
keep the stumpwm package as in synced to CVS as possible (especially
when there're new killer features like the modifiers one), but I'm
always a bit busy on different projects, thus lacking the necessary
free time.  Moreover, as I'm not (yet) an official Debian Developer I
cannot upload the package by myself.

Anyway, I know the Debian package is a bit outdated, Xavier Maillard
already filed a bug for this [3].  Expect a new Debian package really
soon now (anyway before the Etch freeze of October 18th).

Thx, bye,
(Continue reading)

Philippe Brochard | 29 Sep 23:10 2006
Picon

[STUMP] Another Common Lisp window manager.


Hi everybody,

As I've seen that my .stumpwmrc grow and became as big as the
core.lisp and I pervert the default stumpwm behaviour. I've rebuild a
window manager from scratch (from tinywm and its 50 lines) and use
some code from stumpwm.

Here is a small apropos:

----------------------------------------------------------------------
 CLFSWM is a 100% Common Lisp X11 window manager (based on Tinywm and
 Stumpwm. Many thanks to them). 
It can be driven only with the keyboard or with the mouse.

A display is divided in workspaces, groups and windows. Windows are
packed together in groups. 
By default a group is fullscreen maximized (no decorations, no
buttons, no menus: nothing, just the application fullscreen!). 
When not maximized, a group of windows can be moved, resized, tiled,
packed or filled to others groups edges. 

For its binding, CLFSWM has two modes. 
A main mode with minimal keys and no mouse grabbing to avoid conflict
with others applications. 
And a second mode with more keys and mouse actions.
----------------------------------------------------------------------

In fact it's near as stumpwm but frames/groups are free and can have
any size or position (even overlap) and are fullscreen size by
(Continue reading)

Philippe Brochard | 29 Sep 23:12 2006
Picon

[STUMP] Re: Another Common Lisp window manager.

Philippe Brochard a écrit :

> Hi everybody,
>

[...]

oops, web site and code source are here:

      http://hocwp.free.fr/clfswm/

Best regards,

Philippe

--

-- 
Philippe Brochard    <hocwp <at> free.fr>
                      http://hocwp.free.fr

-=-= http://www.gnu.org/home.fr.html =-=-

Gmane