Subject: Bug: Emacs Lisp Indentation

From: Alexander Shukaev <[email-masked]>
Date: Mon, 10 Jul 2017 22:05:43 +0200

Hi,

With latest Emacs, I see the following indentation quirk with the Emacs 
Lisp list:

(defconst init-font-lock-keywords
   `(,@(let ((constant-pattern "\\(?:\\sw\\|\\s_\\)+")
             (keywords         nil))
         (dolist (symbol '(init-a
                            init-b
                            init-c
                            init-d
                            init-e
                            init-f))
           (push `(,(format "(%s\\_>" symbol)
                   (,constant-pattern
                    (save-excursion
                      (search-forward-regexp ,constant-pattern))
                    nil
                    (0 font-lock-constant-face nil t)))
                 keywords))
         keywords)))

instead of the expected:

(defconst init-font-lock-keywords
   `(,@(let ((constant-pattern "\\(?:\\sw\\|\\s_\\)+")
             (keywords         nil))
         (dolist (symbol '(init-a
                           init-b
                           init-c
                           init-d
                           init-e
                           init-f))
           (push `(,(format "(%s\\_>" symbol)
                   (,constant-pattern
                    (save-excursion
                      (search-forward-regexp ,constant-pattern))
                    nil
                    (0 font-lock-constant-face nil t)))
                 keywords))
         keywords)))

Please, have a look as time permits.  Thank you in advance!

Kind regards,
Alexander