Subject: Re: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode

From: Kaushal Modi <[email-masked]>
Date: Sat, 06 May 2017 01:58:19 +0000

On Fri, May 5, 2017 at 6:41 PM <[email-masked]> wrote:

> Kaushal Modi <[email-masked]> writes:
>
> > The indentation is still not working right.\
> >
> > (Again, below screenshots show the indentation how it used to be; the
> > light grey boxes show where the indentation moved back to after
> > applying that last patch.)
>
> I get the correct indentation for the code below with the patch, how are
> you testing it (note that it modifies a dumped lisp file, so just
> recompiling is not sufficient)?
>
>     (setq org-directory (let ((dir (concat user-home-directory
>                                            "org/"))) ; must end with /
>                           (make-directory dir :parents)
>                           dir))
>

Sorry, you are right. This patch worked great! It even fixed the
indentation over the previous version for forms like cl-case, and fixes the
alignment as in the case of concat shown in the second screencap below.

(Before is left, after is right)

This looks great!

Thanks.

-- 

Kaushal Modi