GNU bug report logs - #21463
25.0.50; lisp-indent-line indents wrongly for multiline sexps

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Fri, 11 Sep 2015 21:00:03 UTC

Severity: minor

Found in version 25.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 21463 <at> debbugs.gnu.org
Subject: bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps
Date: Fri, 11 Sep 2015 21:03:59 -0400
> This is how the following sexp gets indented by lisp-indent-line
> ((x
>   y) a
>   2)
>
> This is how (I believe) it should be indented
>
> ((x
>   y) a
>  2)

I'd argue that for Scheme, it should be

  ((x
    y) a
       2)

But in either case, the current indentation indeed looks wrong.


        Stefan




This bug report was last modified 9 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.