From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
Subject: Re: Forcing a mode
Date: Thu, 31 Aug 2006 22:33:55 +0100 [thread overview]
Message-ID: <44f755cc$0$75029$14726298@news.sunsite.dk> (raw)
In-Reply-To: <1157031630.512450.23530@h48g2000cwc.googlegroups.com>
CloudStrife wrote:
> I have some tcl files that donot have .tcl extension in file name. So
> when i open them in emacs the tcl mode is not turned on. can i enforce
> this onto the file.
> Cloud
>
Cloud,
If they have another ending, say, .tc,
adding
(add-to-list 'auto-mode-alist '("\\.tc\\'" . tcl-mode) 't)
to your .emacs file should associate files ending with '.tc'
with tcl-mode.
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
prev parent reply other threads:[~2006-08-31 21:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 13:40 Forcing a mode CloudStrife
2006-08-31 15:09 ` Aaron Bingham
[not found] ` <mailman.6088.1157036963.9609.help-gnu-emacs@gnu.org>
2006-08-31 15:27 ` Phillip Lord
2006-08-31 21:11 ` Will Parsons
2006-09-01 0:58 ` Barry Margolin
2006-09-01 13:43 ` rgb
2006-09-01 5:39 ` CloudStrife
2006-08-31 21:33 ` Colin S. Miller [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='44f755cc$0$75029$14726298@news.sunsite.dk' \
--to=no-spam-thank-you@csmiller.demon.co.uk \
/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.