unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Thomas Christensen" <christensenthomas@gmail.com>
Cc: bug-cc-mode@gnu.org, Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: [christensenthomas@gmail.com: C indentation (problem)]
Date: Thu, 22 Mar 2007 00:37:44 -0400	[thread overview]
Message-ID: <jwvk5x9ki8b.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4214906b0703211254v70e0adfbube98fe41ba84817f@mail.gmail.com> (Thomas Christensen's message of "Wed\, 21 Mar 2007 20\:54\:53 +0100")

>  <?php
>  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

  reply	other threads:[~2007-03-22  4:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-19  5:14 [christensenthomas@gmail.com: C indentation (problem)] Richard Stallman
2007-03-19 20:08 ` Alan Mackenzie
2007-03-20 23:45   ` Thomas Christensen
2007-03-21 19:54   ` Thomas Christensen
2007-03-22  4:37     ` Stefan Monnier [this message]
2007-03-22 19:44       ` Thomas Christensen
2007-03-23 16:43         ` Stefan Monnier
2007-03-25  1:45       ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2007-03-14  3:23 Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk5x9ki8b.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=christensenthomas@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).