From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: creating customized major mode - emacs 23.4.1 Date: Tue, 29 May 2012 13:20:11 +0200 Message-ID: <87likbtes4.fsf@thinkpad.tsdh.de> References: <7DEA000400EDF941BB31C12DB0121C69140C87@DAM07013-MSXP23.aramco.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338290441 24317 80.91.229.3 (29 May 2012 11:20:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 May 2012 11:20:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 29 13:20:40 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZKTe-0007GV-9e for geh-help-gnu-emacs@m.gmane.org; Tue, 29 May 2012 13:20:38 +0200 Original-Received: from localhost ([::1]:52599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZKTe-0003nZ-0m for geh-help-gnu-emacs@m.gmane.org; Tue, 29 May 2012 07:20:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZKTV-0003nT-VI for help-gnu-emacs@gnu.org; Tue, 29 May 2012 07:20:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZKTU-0001aN-4h for help-gnu-emacs@gnu.org; Tue, 29 May 2012 07:20:29 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZKTT-0001aH-U0 for help-gnu-emacs@gnu.org; Tue, 29 May 2012 07:20:28 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SZKTR-00077T-G3 for help-gnu-emacs@gnu.org; Tue, 29 May 2012 13:20:25 +0200 Original-Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2012 13:20:25 +0200 Original-Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2012 13:20:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:8xWnro6SotLLyHYNgYv8PW94sRQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85035 Archived-At: "Janssen, Kurt H." writes: > I have text files whose first line is, > -*- dicso -*- > but I do not get any text highlighting (sample txt file attached)? I think that line should look like this (assuming # is the comment starter in that mode): # -*- mode: dicso -*- Alternatively, you can add something like this near the end of the file: # Local Variables: # mode: dicso # End: Have a look at (info "(emacs)Specifying File Variables"). Bye, Tassilo