From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Hadron <hadronquark@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: php-html-helper-mode
Date: Wed, 14 Feb 2007 20:28:04 +0100 [thread overview]
Message-ID: <45D362C4.9020505@gmail.com> (raw)
In-Reply-To: <87lkj0wxsw.fsf@gmail.com>
Hadron wrote:
> Can someone please help?
>
> I have this in my .emacs:
>
> (add-to-list 'auto-mode-alist '("\\.ph$" . php-html-helper-mode))
>
> The problem is that my auto-load-alist looks like this:
>
> (("\\.php$" . php-html-helper-mode)
> ("\\.ht,$" . html-helper-mode)
> ("\\.muse\\'" . muse-mode-choose-mode)
> ("\\.wy$" . wisent-grammar-mode)
> ("\\.by$" . bovine-grammar-mode)
> ("Project\\.ede" . emacs-lisp-mode)
> ("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
> ("\\.u?deb$" . deb-view-mode)
> ("sources.list$" . apt-sources-mode)
> ("\\.php$" . c-mode)
> ("\\.php3\\'" . php-mode)
> ("\\.php[34]?\\'\\|\\.phtml\\." . php-mode)
> ("\\.php$" . php-html-helper-mode)
> ("\\.asp$" . html-helper-mode)
> ("\\.jsp$" . jsp-html-helper-mode)
> *snip*
>
> I guess this is debian autoloads setting this up for me, but how to I
> specify php files to open in php-html-helper mode, as they are currently
> opening in c-mode.
Maybe this can help you, look at Changing Default Major Mode:
http://www.emacswiki.org/cgi-bin/wiki/NxmlMode
prev parent reply other threads:[~2007-02-14 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 15:42 php-html-helper-mode Hadron
2007-02-14 19:28 ` Lennart Borgman (gmail) [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D362C4.9020505@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=hadronquark@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.