From: Emory Smith <emory.smith@mac.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: indentation issues when editing a PHP file
Date: Fri, 26 Mar 2004 23:29:51 -0700 [thread overview]
Message-ID: <2763538C-7FB8-11D8-8BE7-000A958A3AF4@mac.com> (raw)
In-Reply-To: <20040326173451.6525.qmail@web13004.mail.yahoo.com>
i had that problem for some time and somehow it went away, though i
cant get rid of it in "php-html-helper-mode". if thats what youre
using, try just "php-mode" (M-x php-mode). thats currently working for
me (and its a good incentive to avoid html in youre php...) also maybe
the php-version (mine is 1.1.0).
please let me know if you figure it out in case i run into it again
myself.
On Mar 26, 2004, at 10:34 AM, Saifi Khan wrote:
> Hi:
>
>
> When editing a PHP file, the '{' curly brace
> positions itself as indicated below.
>
>
> class Log
> {
> function log( $msg )
> ...{
> ...}
> }
>
> the dots (.) are for indicating the spaces.
>
>
> The following indentation style is what I would like to see.
>
>
> class Log
> {
> function log( $msg )
> {
> }
> }
>
>
> I have spent sometime looking at the .emacs file, indentation options
> and other mails on the mailing list.
>
>
> I have been able to setup CCmode for C, C++ and Java,
> however this just beats me.
>
> What options should I place in my php-hook-function ?
> I will appreciate suggestions to solve this problem.
>
>
> thanks
> Saifi.
>
> Ps. please see the attached .emacs file
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html<emacs-to-
> list>_______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
prev parent reply other threads:[~2004-03-27 6:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 17:34 indentation issues when editing a PHP file Saifi Khan
2004-03-26 20:03 ` Marcelo Toledo
2004-03-27 6:29 ` Emory Smith [this message]
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=2763538C-7FB8-11D8-8BE7-000A958A3AF4@mac.com \
--to=emory.smith@mac.com \
--cc=help-gnu-emacs@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.
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).