[clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ?

Xavier Maillard xma at gnu.org
Wed Mar 12 01:00:07 UTC 2008


   Xavier Maillard writes:

   > Hi,
   >
   > I post it here but this is something I would like to see
   > implemented.
   >
   > I am pretty sure you are all GNU Emacs users so I won't explain
   > what C-h k does :)
   >
   Ok (I have had 5 minutes :) here it is in the identifying keys
   loop. The documentation is displayed for the main and the second
   mode.
   To test: Second Mode -> i ou Second Mode -> m y i

I tried it and it made my X session crashing :) I reverted the
code to last known working revision and it became stable again.

I did not investigated much but there is at least one glitch in
your code at line 158 in clfswm-keys.lisp:

(labels
 (cond ....

Here is the fix:

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-03-12  Xavier Maillard  <xma at gnu.org>
+
+	* clfswm-keys.lisp: Fix revision 33 (removed an unexpected call to
+	labels preventing compilation/loading of the file).
+
 2008-03-11  Philippe Brochard  <hocwp at free.fr>
 
 	* clfswm-util.lisp (identify-key): Display the documentation
Index: clfswm-keys.lisp
===================================================================
--- clfswm-keys.lisp	(revision 33)
+++ clfswm-keys.lisp	(working copy)
@@ -155,13 +155,6 @@
       t)))
 
        
-  (labels 
-    (cond ((from-code))
-	  ((from-char))
-	  ((from-string)))))
-
-
-
 (defun funcall-button-from-code (hash-table-key code state window root-x root-y
 				 &optional (action #'first) args)
   "Action: first=press third=release - Return t if a function is found"


	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org



More information about the clfswm-devel mailing list