From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jules Colding Newsgroups: gmane.emacs.help Subject: Re: How do I make emacs indent treat #ifdef and #endif as if they were { and }? Date: Wed, 8 Feb 2012 23:01:41 +0100 Message-ID: <6169D291-0B16-411E-905D-B0D05D3DB750@venalicium.dk> References: <1AEEB8AA-7A49-4338-B5EC-9234FE5C1CFD@venalicium.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328738530 5948 80.91.229.3 (8 Feb 2012 22:02:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2012 22:02:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 08 23:02:09 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvFaX-0005P1-0X for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2012 23:02:05 +0100 Original-Received: from localhost ([::1]:48164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFaW-0001Vp-3I for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2012 17:02:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFaN-0001VC-MT for help-gnu-emacs@gnu.org; Wed, 08 Feb 2012 17:02:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvFaF-0002kE-Ue for help-gnu-emacs@gnu.org; Wed, 08 Feb 2012 17:01:55 -0500 Original-Received: from mail13.surf-town.net ([212.97.132.53]:48132 helo=mailgw18.surf-town.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFaF-0002jp-NX for help-gnu-emacs@gnu.org; Wed, 08 Feb 2012 17:01:47 -0500 Original-Received: by mailgw18.surf-town.net (Postfix, from userid 65534) id D2AFD1A611; Wed, 8 Feb 2012 23:01:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by mailgw18.surf-town.net (Postfix) with ESMTP id 294671A57F for ; Wed, 8 Feb 2012 23:01:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw18.surf-town.net Original-Received: from mailgw18.surf-town.net ([127.0.0.1]) by localhost (mailgw18.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TTpMkhHDzk0s for ; Wed, 8 Feb 2012 23:01:39 +0100 (CET) Original-Received: from [192.168.0.43] (unknown [188.183.226.138]) by mailgw18.surf-town.net (Postfix) with ESMTPSA id 95E691A9E5 for ; Wed, 8 Feb 2012 23:01:39 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.97.132.53 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83678 Archived-At: On Feb 8, 2012, at 10:57 PM, Ken Goldman wrote: > If you care about portability, some older compilers do not permit = white space before the #. I don't. I just want the source to look as readable as possible. I don't = care if it can't compile in some old compiler. Most, if not all, recent = compilers are happy about spaces before the #. Cheers, jules