From: troelskn <troelskn@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: File mode specification error?
Date: Mon, 04 Jun 2007 12:27:41 -0700 [thread overview]
Message-ID: <1180985261.347748.71880@h2g2000hsg.googlegroups.com> (raw)
In-Reply-To: <87sl97mt5b.fsf@W0053328.mgh.harvard.edu>
> That's a regular expression my friend, the way emacs identifies file
> types (in this case). Read the friendly manual on Emacs/POSIX regular
Ah ... that makes sense then. I had copy-pasted the following code to
bind filename to mode:
(setq auto-mode-alist
(append
(list
'("\\.php" . php-mode)
auto-mode-alist)))
Replacing with this, fixed the problem:
(add-to-list 'auto-mode-alist
'("\\.php$" . php-mode))
Thanks for pointing me in the right direction.
--
troels
prev parent reply other threads:[~2007-06-04 19:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-04 19:07 File mode specification error? troelskn
2007-06-04 19:11 ` Joel J. Adamson
2007-06-04 19:27 ` troelskn [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=1180985261.347748.71880@h2g2000hsg.googlegroups.com \
--to=troelskn@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.
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).