Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
slime-indentation: don't indent non-lists as if they were lambda-lists Not even if they appear where a lambda-list is expected. Makes TENTATIVE-DEFUN logic more correct for things like (define-foo name :option1 bar :option2 quux) which previously indented as (define-foo name :option1 bar :option2 quux) .
slime-indentation: correct indentation for &AUX value forms in lambda-lists
slime-indentation: identify initial-value-forms in lambda-lists ...and indent them as regular code, not as lambda-lists.
slime-indentation: fix indentation of (foo ;; comment\n... (foo ;; Deal with bar (bar) ;; Deal with quux (quux)) instead of (foo ;; Deal with bar (bar) ;; Deal with quux (quux))
slime-indentation: better treatment of feature expressions Particularly interaction with keyword arguments.
slime-indentation: fix local function lambda-list indentation
slime-indentation: recognize :foo and #:foo style loop keywords Patch from Didier Verna.
slime-indentation: still more work on loop indentation (loop repeat 1000 do ;; This is the ;; beginning (foo)) (loop repeat 100 ;; This too ;; is a beginning do (foo))
slime-indentation: better DEFCLASS and DEFINE-CONDITION superclass indentation
slime-indent: DEFMETHOD indentation when the name is a SETF-name and qualifiers are present * slime-cl-indent.el (lisp-beginning-of-defmethod-qualifiers): Renamed from `lisp-beginning-of-defmethod'. Skip the method name as well, since unlike qualifiers it can be list -- eg. (setf foo). (lisp-indent-defmethod): Use the above to get the number of skips right. * slime-cl-indent-test.txt: Tests 64 and 65.
slime-indent: improve indentation of comments in LOOPs
slime-indent: two patches from Tomohiro Matsuyama * slime-cl-indent.el (define-common-lisp-style): Fix handling of :documentation option, which accidentally threw out the docstring. (lisp-indent-lambda-list-keywords-regexp): Handle trailing &allow-other-keys correctly. * slime-cl-indent-test.txt: Tests 50-53.
slime-indentation: tweak COND indentation Indent (cond (symbol (foo) (bar))) not (cond (symbol (foo) (bar))) -- should not change anything unless there is a form on the same line with a test that's a symbol.
slime-indentation: with-compilation-unit indentation Add indentation method for it.
slime-indentation: incomplete destructuring tails Fixes: (let (foo bar quux) ...) to indent as (let (foo bar quux) ...) instead.
slime-indentation: don't consider DEFINER and DEFINITION to be defun-like They're normally not.
slime-indentation: even better defmethod indentation Fix indentation of non-toplevel defmethods, and Handle qualifiers in defgeneric :methods as well.
slime-indentation: indent boa-constructor lambda-lists properly
slime-indentation: fix , and ,@ at the start of the indentation Use the first comma as the basis.
swank: better macro-indentation lisp-indent-259 didn't handle complex destructuring right: &whole nested in &whole wasn't working properly. Now it hopefully does. (But the whole indentation spec walking really deserves a rewrite.) Derived indentation: * Walk the entire macro lambda-list instead of just looking for &BODY in the toplevel. * Set the base indentation to 4 in macro-indentation only for the first level of destructuring -- use 1 later. now (defmacro foo (x (&rest args) &body body) ...) gives (foo (bar quux zot) (a b c d) ...) instead of the old (foo (bar quux zot) (a b c d) ...) While this change may turn out to be controversial, I feel that since FOO and (&REST FOO) are semantically equivalent as long as the corresponding argument is not an atom, it seems most natural to treat them as indentation hints instead. Complaints to the usual address...
slime-indentation: another bug in the fallback method Handle (foo ( bar quux zor)) and similar.
slime-indentation: refactor tests Move all test-cases to a new file: slime-cl-indent-test.txt.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|