From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: php-html-helper-mode Date: Wed, 14 Feb 2007 16:42:23 +0100 Message-ID: <87lkj0wxsw.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171471252 32460 80.91.229.12 (14 Feb 2007 16:40:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2007 16:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 17:40:44 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HHNBK-0008RY-Nr for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Feb 2007 17:40:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHNBK-00086g-9w for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Feb 2007 11:40:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: individual.net kJpOB5YKv4dn1XSgz2XJFA9OwtdwsbCzAGzSezy9q/FeN9pScO X-Orig-Path: news.individual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Ih+lrM46BCFmm9lXsLdQQxsAfWc= Original-Xref: shelby.stanford.edu gnu.emacs.help:145591 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41200 Archived-At: 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.