* php-html-helper-mode
@ 2007-02-14 15:42 Hadron
2007-02-14 19:28 ` php-html-helper-mode Lennart Borgman (gmail)
0 siblings, 1 reply; 2+ messages in thread
From: Hadron @ 2007-02-14 15:42 UTC (permalink / raw
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: php-html-helper-mode
2007-02-14 15:42 php-html-helper-mode Hadron
@ 2007-02-14 19:28 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-02-14 19:28 UTC (permalink / raw
To: Hadron; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-14 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14 15:42 php-html-helper-mode Hadron
2007-02-14 19:28 ` php-html-helper-mode Lennart Borgman (gmail)
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.