Dear Slimers,
the following patch fixes trailing &allow-other-keys recognition for XEmacs.
2011-12-02 Didier Verna didier@xemacs.org
* slime-cl-indent.el (lisp-indent-lambda-list-keywords-regexp): Match empty string after a word consitituent (>) instead of a symbol constituent (_>) because XEmacs doesn't have that syntax, and here, it doesn't hurt anyway.
On 2 December 2011 18:29, Didier Verna didier@lrde.epita.fr wrote:
the following patch fixes trailing &allow-other-keys recognition for XEmacs.
Hi Didier! Can you also add test-cases for both patches to
contrib/slime-cl-indent-tests.txt?
Cheers,
-- nikodemus
Nikodemus Siivola wrote:
Hi Didier! Can you also add test-cases for both patches to
contrib/slime-cl-indent-tests.txt?
The second one is already handled by test #60 (it was an XEmacs-specific problem). The former can be tested by adapting tests #62 and #63 without the need for introducing new ones. Patch follows.
contrib/ChangeLog addition:
2011-12-02 Didier Verna didier@xemacs.org
* slime-cl-indent-test.txt (62): Use #:DO instead of DO. (63): Use :DO instead of DO.
slime source patch: Diff command: cvs -q diff -u Files affected: contrib/slime-cl-indent-test.txt
Index: contrib/slime-cl-indent-test.txt =================================================================== RCS file: /project/slime/cvsroot/slime/contrib/slime-cl-indent-test.txt,v retrieving revision 1.15 diff -u -u -r1.15 slime-cl-indent-test.txt --- contrib/slime-cl-indent-test.txt 28 Nov 2011 18:38:34 -0000 1.15 +++ contrib/slime-cl-indent-test.txt 2 Dec 2011 20:37:12 -0000 @@ -655,18 +655,18 @@ ;; lisp-loop-indent-subclauses: t
(loop with foo = t - do (foo foo) - ;; comment inside clause - (bar)) + #:do (foo foo) + ;; comment inside clause + (bar))
;;; Test: 63 ;; ;; lisp-loop-indent-subclauses: nil
(loop with foo = t - do (foo foo) - ;; comment inside clause - (bar)) + :do (foo foo) + ;; comment inside clause + (bar))
;;; Test: 64