Index: ChangeLog =================================================================== RCS file: /sources/emacs/emacs/lisp/ChangeLog,v retrieving revision 1.14493 diff -c -r1.14493 ChangeLog *** ChangeLog 20 Sep 2008 22:09:39 -0000 1.14493 --- ChangeLog 21 Sep 2008 17:08:59 -0000 *************** *** 1,3 **** --- 1,9 ---- + 2008-09-21 Markus Sauermann + + * emacs-lisp/lisp-mode.el (calculate-lisp-indent): + Fix indentation problem with keyword symbols when a list starts + with ,@ or spaces. + 2008-09-20 Vincent Belaïche * calc/calc-vec.el (calcFunc-venum): Properly handle intervals. Index: emacs-lisp/lisp-mode.el =================================================================== RCS file: /sources/emacs/emacs/lisp/emacs-lisp/lisp-mode.el,v retrieving revision 1.226 diff -c -r1.226 lisp-mode.el *** emacs-lisp/lisp-mode.el 20 Sep 2008 21:54:44 -0000 1.226 --- emacs-lisp/lisp-mode.el 21 Sep 2008 17:09:04 -0000 *************** *** 1027,1033 **** ;; where it begins, so find that one, instead. (save-excursion (goto-char calculate-lisp-indent-last-sexp) ! (while (and (not (looking-back "^[ \t]*")) (or (not containing-sexp) (< (1+ containing-sexp) (point)))) (forward-sexp -1) --- 1027,1034 ---- ;; where it begins, so find that one, instead. (save-excursion (goto-char calculate-lisp-indent-last-sexp) ! (backward-prefix-chars) ! (while (and (not (looking-back "^[ \t]*\\|([ \t]+")) (or (not containing-sexp) (< (1+ containing-sexp) (point)))) (forward-sexp -1)