Evgeny <maet...@gmail.com> writes:

> Hello,
>
> Here's patch for slime-like fuzzy autocompletion for input. Completion
> type is specified in *input-completion-type* variable which can be
> either :prefix or :fuzzy. Old prefix completion type is left as
> default. I hope someone will find this useful.

Not sure why but it doesn't work without (in-package :stumpwm), e.g.

  Invalid *input-completion-type* (:PREFIX)

%%
diff --git a/input.lisp b/input.lisp
index 97d7aa6..3802c97 100644
--- a/input.lisp
+++ b/input.lisp
@@ -461,7 +461,7 @@ functions are passed this structure as their first 
argument."
                (fboundp completions)))
       (funcall completions str)
       (let* ((method-name (format nil "input-find-completions/~A" 
*input-completion-type*))
-            (method (find-symbol (string-upcase method-name))))
+            (method (find-symbol (string-upcase method-name) :stumpwm)))
        (if method 
            (funcall method str completions)
            (message "Invalid *input-completion-type* (:~A)" 
*input-completion-type*)))))
%%

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to