* bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps
@ 2015-09-11 20:58 Artur Malabarba
2015-09-12 1:03 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Artur Malabarba @ 2015-09-11 20:58 UTC (permalink / raw)
To: 21463
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)
This affects emacs-lisp and any other mode that derives from lisp-mode.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps
2015-09-11 20:58 bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps Artur Malabarba
@ 2015-09-12 1:03 ` Stefan Monnier
2015-09-12 16:28 ` Artur Malabarba
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2015-09-12 1:03 UTC (permalink / raw)
To: Artur Malabarba; +Cc: 21463
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps
2015-09-12 1:03 ` Stefan Monnier
@ 2015-09-12 16:28 ` Artur Malabarba
0 siblings, 0 replies; 3+ messages in thread
From: Artur Malabarba @ 2015-09-12 16:28 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 21463
> I'd argue that for Scheme, it should be
>
> ((x
> y) a
> 2)
I see. In Clojure, the 2 would be on the second column. So I guess
there's no catch all solution here.
Should this be a var for the mode to set, then?
> But in either case, the current indentation indeed looks wrong.
Yes.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-12 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 20:58 bug#21463: 25.0.50; lisp-indent-line indents wrongly for multiline sexps Artur Malabarba
2015-09-12 1:03 ` Stefan Monnier
2015-09-12 16:28 ` Artur Malabarba
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).