unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Indentation of cond forms in (Emacs) Lisp mode
@ 2014-06-03 13:37 Bozhidar Batsov
  2014-06-03 14:22 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Bozhidar Batsov @ 2014-06-03 13:37 UTC (permalink / raw)
  To: emacs-devel

I noticed that `cond' forms in Emacs Lisp mode and Lisp mode are 
indented with just one space, unlike most other "control" structures:

(cond
  ((x) (y))
  (t (z))

Why is that? Seems odd to treat the differently from the likes of `when' 
for instance:

(when something
   (do-something))

I'm asking because this leaked into clojure-mode as well and we're now 
discussing whether it's a bug or something reasonable.

Cheers,
Bozhidar



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-05 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 13:37 Indentation of cond forms in (Emacs) Lisp mode Bozhidar Batsov
2014-06-03 14:22 ` Andreas Schwab
2014-06-05  7:07   ` Bozhidar Batsov
2014-06-05  7:37     ` Andreas Schwab
2014-06-05 13:34     ` Stefan Monnier

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).