From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Bingham Newsgroups: gmane.emacs.help Subject: Re: Forcing a mode Date: Thu, 31 Aug 2006 17:09:16 +0200 Message-ID: <44F6FB9C.7020001@cenix-bioscience.com> References: <1157031630.512450.23530@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157037046 14251 80.91.229.2 (31 Aug 2006 15:10:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2006 15:10:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 17:10:44 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GIoAh-00074h-VE for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2006 17:09:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIoAh-000477-Eu for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2006 11:09:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIoAT-00045w-1F for help-gnu-emacs@gnu.org; Thu, 31 Aug 2006 11:09:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIoAR-00044G-HA for help-gnu-emacs@gnu.org; Thu, 31 Aug 2006 11:09:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIoAR-000442-8a for help-gnu-emacs@gnu.org; Thu, 31 Aug 2006 11:09:19 -0400 Original-Received: from [62.80.26.100] (helo=mxsrv01.cenix-bioscience.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIoK5-0004N3-3y for help-gnu-emacs@gnu.org; Thu, 31 Aug 2006 11:19:17 -0400 Original-Received: by mxsrv01.cenix-bioscience.com (Cenix-Mailer, from userid 65534) id 316FE1F2927; Thu, 31 Aug 2006 17:09:17 +0200 (CEST) Original-Received: from mxsrv01.cenix-bioscience.com (localhost [127.0.0.1]) by mxsrv01-sf.cenix-bioscience.com (Cenix-Mailer) with ESMTP id A5D651F2926; Thu, 31 Aug 2006 17:09:16 +0200 (CEST) Original-Received: from [192.168.1.104] (unknown [192.168.1.104]) by mxsrv01.cenix-bioscience.com (Cenix-Mailer) with ESMTP id 7F5531F2924; Thu, 31 Aug 2006 17:09:16 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Original-To: CloudStrife In-Reply-To: <1157031630.512450.23530@h48g2000cwc.googlegroups.com> 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:37084 Archived-At: 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. > Hi Cloud, I don't know quite what you mean by "enforce this onto a file". Do you mean you want to manually set the mode after you open the file, or do you want to tell Emacs to permanently treat the file as Tcl? If the former, simply use M-x tcl-mode. Regards, -- -------------------------------------------------------------------- Aaron Bingham Senior Software Engineer Cenix BioScience GmbH --------------------------------------------------------------------