From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bozhidar Batsov" Newsgroups: gmane.emacs.devel Subject: Indentation of cond forms in (Emacs) Lisp mode Date: Tue, 03 Jun 2014 16:37:39 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1401802726 1911 80.91.229.3 (3 Jun 2014 13:38:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2014 13:38:46 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 15:38:37 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WrovF-0002tF-3c for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2014 15:38:37 +0200 Original-Received: from localhost ([::1]:53414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrovE-0006Nw-6l for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2014 09:38:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrouW-0005QD-QZ for emacs-devel@gnu.org; Tue, 03 Jun 2014 09:38:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrouN-000501-Qn for emacs-devel@gnu.org; Tue, 03 Jun 2014 09:37:52 -0400 Original-Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:36779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrouN-0004zp-KS for emacs-devel@gnu.org; Tue, 03 Jun 2014 09:37:43 -0400 Original-Received: by mail-we0-f181.google.com with SMTP id w61so6903236wes.12 for ; Tue, 03 Jun 2014 06:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=j3GCFj7R4WQD+6uJJJrbuuG9pplm9B0xo1p31CAWXJ4=; b=wtwTMvWfLcVgjz2sCEmaTLPsfvsx6O2Tuf4nwfJ6k+oZ0F6Cih47j0fjJVn4Q/5aE+ KxC2slZG2/aROG/hQvC45gNVrDZNvIIwyC+nbVs4vWHH7HM/Xd+CITYtnxwnTMQfGeEY OzGhvVZp11gbrqri4Q2Zte2aGCSjiRArMbi3szGaQgy8PUzVcJdlwXFflQf2SXC5XGPy Q0gSCmRau0bFD6UnaONMMG7RY7/ABOvnjwDI+g1KN6E7/B/kByosxdl0m7thcIc5LxCN +I6a3YWba8M11v0R9sNReji6URDlgE+T3bb0r6yR8gKSuYZa11ftQ21pXDcRw8xdMlD9 blMA== X-Received: by 10.180.36.18 with SMTP id m18mr31676263wij.60.1401802662588; Tue, 03 Jun 2014 06:37:42 -0700 (PDT) Original-Received: from [192.168.1.28] ([95.87.231.111]) by mx.google.com with ESMTPSA id s9sm41638584wix.13.2014.06.03.06.37.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 03 Jun 2014 06:37:41 -0700 (PDT) X-Mailer: MailMate Trial (1.8r4214) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172291 Archived-At: 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