From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [christensenthomas@gmail.com: C indentation (problem)] Date: Thu, 22 Mar 2007 00:37:44 -0400 Message-ID: References: <20070319212605.GA2077@muc.de> <4214906b0703211254v70e0adfbube98fe41ba84817f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174538282 13781 80.91.229.12 (22 Mar 2007 04:38:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 04:38:02 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Alan Mackenzie , emacs-devel@gnu.org To: "Thomas Christensen" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 05:37:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUF3i-00012s-5o for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 05:37:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUF5S-0002Wl-Dp for ged-emacs-devel@m.gmane.org; Wed, 21 Mar 2007 23:39:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUF5O-0002VX-JL for emacs-devel@gnu.org; Thu, 22 Mar 2007 00:39:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUF5L-0002UX-Ua for emacs-devel@gnu.org; Thu, 22 Mar 2007 00:39:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUF5L-0002UU-P3 for emacs-devel@gnu.org; Wed, 21 Mar 2007 23:39:35 -0500 Original-Received: from tomts10.bellnexxia.net ([209.226.175.54] helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUF3Z-0006bw-Oy; Thu, 22 Mar 2007 00:37:45 -0400 Original-Received: from pastel.home ([70.55.81.12]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070322043744.ZMGC1723.tomts10-srv.bellnexxia.net@pastel.home>; Thu, 22 Mar 2007 00:37:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8E8537F48; Thu, 22 Mar 2007 00:37:44 -0400 (EDT) In-Reply-To: <4214906b0703211254v70e0adfbube98fe41ba84817f@mail.gmail.com> (Thomas Christensen's message of "Wed\, 21 Mar 2007 20\:54\:53 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68268 Archived-At: > function foo() { > echo "bar\n"; > } > foo(); > ?> > As you can see php syntax is closely related to C syntax. Funny, other than the use of {...} and ; I don't see it as closely related to C syntax. It probably works OK to treat it as C as long as your C mode is sufficiently unsophisticated. Stefan