From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Indentation of cond forms in (Emacs) Lisp mode Date: Tue, 03 Jun 2014 16:22:57 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401805403 4640 80.91.229.3 (3 Jun 2014 14:23:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2014 14:23:23 +0000 (UTC) Cc: emacs-devel To: "Bozhidar Batsov" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 16:23:16 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 1WrpcR-0000Hu-4H for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2014 16:23:15 +0200 Original-Received: from localhost ([::1]:53798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpcQ-0003Fg-N2 for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2014 10:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpcI-0003Dx-2Z for emacs-devel@gnu.org; Tue, 03 Jun 2014 10:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrpcB-00050B-AQ for emacs-devel@gnu.org; Tue, 03 Jun 2014 10:23:06 -0400 Original-Received: from cantor2.suse.de ([195.135.220.15]:54590 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpcB-000501-4a for emacs-devel@gnu.org; Tue, 03 Jun 2014 10:22:59 -0400 Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8774FACB1; Tue, 3 Jun 2014 14:22:57 +0000 (UTC) X-Yow: The PILLSBURY DOUGHBOY is CRYING for an END to BURT REYNOLDS movies!! In-Reply-To: (Bozhidar Batsov's message of "Tue, 03 Jun 2014 16:37:39 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 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:172294 Archived-At: "Bozhidar Batsov" writes: > 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? The intention is that you do not break after cond, so it isn't treated specially, ie. like a normal function call. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."