unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thomas Christensen" <christensenthomas@gmail.com>
To: "Alan Mackenzie" <acm@muc.de>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: [christensenthomas@gmail.com: C indentation (problem)]
Date: Wed, 21 Mar 2007 20:54:53 +0100	[thread overview]
Message-ID: <4214906b0703211254v70e0adfbube98fe41ba84817f@mail.gmail.com> (raw)
In-Reply-To: <20070319212605.GA2077@muc.de>


[-- Attachment #1.1: Type: text/plain, Size: 690 bytes --]

On 19 Mar 2007 21:08:19 +0100, Alan Mackenzie <acm@muc.de> wrote:
>
> (i) Tell me about this PHP Mode.  Where do I find the PHP Mode that you
> are using?  Who maintains it?  (Yourself, perhaps?)  It doesn't seem to
> be part of Emacs 22 itself.  The information you've posted says "Major
> mode: C/l", which isn't "PHP Mode".  How does php-mode work, here?
> [Note: I don't know PHP, so be gentle on me, please!]
>


I feel I failed to mention the original problem.  The original problem was
this indentation using the php-mode:

  <?php
  function foo() {
    echo "bar\n";
    }

  foo();
  ?>

As you can see php syntax is closely related to C syntax.

Hope this helps.

        Thomas

[-- Attachment #1.2: Type: text/html, Size: 1200 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-03-21 19:54 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 [this message]
2007-03-22  4:37     ` Stefan Monnier
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=4214906b0703211254v70e0adfbube98fe41ba84817f@mail.gmail.com \
    --to=christensenthomas@gmail.com \
    --cc=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --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).