From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Forcing a mode Date: Thu, 31 Aug 2006 20:58:48 -0400 Organization: Symantec Message-ID: References: <1157031630.512450.23530@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1157074839 7810 80.91.229.2 (1 Sep 2006 01:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 01:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 01 03:40:36 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 1GIy1J-00085l-Jl for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2006 03:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIy1J-0001sL-6M for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2006 21:40:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 31 Aug 2006 19:58:48 -0500 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) X-Copies-To: never Original-Lines: 31 Original-NNTP-Posting-Host: 24.34.108.171 Original-X-Trace: sv3-zRYOSuIQGJbVr2a+LfmuFeeQHSCIH3op6L48X8wQTNuHRyqLJsZqtXfX1Ua7VFbRiEET1MbEK5FKl/N!FeVbcCw44/Z/L2GM7SJJLhAF7DsdvCWVIVQDTYDG0giM7LWllsK+vnFusN8xJ4pg9iOm5zfYnKL0!u/je3AidXEJNfgRNoJImnmyNuVUwvZCEZA== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:141472 Original-To: help-gnu-emacs@gnu.org 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:37094 Archived-At: In article , Will Parsons wrote: > Phillip Lord wrote: > > You can do this with file variables. Sticking > > > > > > ;; -*- mode: tcl -*- > > > > as the first line of the file should work. > > I've always used: > > #-*-tcl-*- > > Is there any reason the longer form with "mode: " should be preferred? Your version is the archaic syntax, which was used when the only thing you could configure in the mode line was the major mode. It was later generalized to allow a number of options to be configured, so the