all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: vincent.marguerit@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: PHP/HTML indentation
Date: Mon, 30 Jul 2007 05:38:23 -0700	[thread overview]
Message-ID: <1185799103.065883.34670@19g2000hsx.googlegroups.com> (raw)
In-Reply-To: <mailman.4121.1185795982.32220.help-gnu-emacs@gnu.org>

On 30 juil, 12:46, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> vincent.margue...@gmail.com wrote:
> > Hello,
>
> > I have a big PHP file with some HTML inside ans sometimes the auto
> > indentation with the TAB key does not work !
> > And I have no specific message in the buffer *Message*
>
> > Does anyone what I should do to make it work again ?
>
> Please give more information. What version of Emacs are you using? Are
> you using a php-mode? Which?

My version of Emacs is 22.1, I use php-mode version 1.2.0 with this is
in .emacs file:
(add-hook 'text-mode-hook 'iso-accents-mode)
(set-terminal-coding-system 'latin-1)
(set-keyboard-coding-system 'latin-1)
(set-language-environment 'latin-1)
(set-foreground-color "wheat")
(set-background-color "DarkSlateGray")
(set-cursor-color "white")
(menu-bar-mode -1)
(scroll-bar-mode -1)
(global-font-lock-mode 1)
(require 'php-mode)
(add-hook 'php-mode-user-hook 'turn-on-font-lock)
(add-hook 'php-mode-user-hook
'(lambda () (define-abbrev php-mode-abbrev-table "ex" "extends")))


The file for which the indentation does not work anymore is
global_display.inc.php, I have put it here:
http://boxfly.free.fr/test/php/global_display.inc.phps

If I go to line 5 and press TAB key, it will auto indent. But if I go
to line 522 in the function dis_end_main(), the indentation does not
work anymore.

I work under Mac OS X.

Thanks for your help,
Vincent.

  parent reply	other threads:[~2007-07-30 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 11:07 PHP/HTML indentation vincent.marguerit
2007-07-30 11:46 ` Lennart Borgman (gmail)
     [not found] ` <mailman.4121.1185795982.32220.help-gnu-emacs@gnu.org>
2007-07-30 12:38   ` vincent.marguerit [this message]
2007-07-30 13:42     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.4125.1185802953.32220.help-gnu-emacs@gnu.org>
2007-07-30 15:55       ` vincent.marguerit

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

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

  git send-email \
    --in-reply-to=1185799103.065883.34670@19g2000hsx.googlegroups.com \
    --to=vincent.marguerit@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.