bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Kaushal Modi
Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode
Date: Sat, 06 May 2017 01:58:19 +0000

On Fri, May 5, 2017 at 6:41 PM <npostavs@users.sourceforge.net> wrote:
Kaushal Modi <kaushal.modi@gmail.com> 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)

image.png

image.png
This looks great!

Thanks.
 
--

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]