GNU bug report logs -
#26619
26.0.50; Wrong indentation in emacs-lisp-mode
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Sun, 23 Apr 2017 07:18:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.0.50
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Fri, May 5, 2017 at 6:41 PM <npostavs <at> users.sourceforge.net> wrote:
> Kaushal Modi <kaushal.modi <at> 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: image.png]
[image: image.png]
This looks great!
Thanks.
--
Kaushal Modi
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
This bug report was last modified 8 years and 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.