On Thu, Dec 08, 2011 at 06:38:20PM +0000, Johnny wrote: > Hi, > > I have the following code in my .stumpwmrc: > > ,---- > | (define-key *root-map* (kbd "M-m") "alsamixer") > | (defcommand alsamixer () () > | "Start or switch to alsamixer." > | (run-or-raise "exec xterm -name alsamixer -e alsamixer -c 0" '(:instance > "alsamixer") :all-groups nil)) > `---- > > However, it seems I am not setting the optional variable all-groups > properly, as it always searches through all groups to raise > alsamixer. What is the proper syntax here? > > Thanks for any help! > > -- > Johnny
Something seems to be screwed with run-or-raise. The only way I got it to work was reversing the whole thing, using (setf *run-or-raise-all-groups* nil) and then (run-or-raise "exec whatever" '(:instance "something") :run-or-raise-all-groups t) for everything I *do* want to be raised across all groups. I might have missed something, I'm by no means a lisp/stump expert, but it's at least one way to solve the problem. -- Christian _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/stumpwm-devel