From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "gento" Newsgroups: gmane.emacs.help Subject: Re: how to define a comment syntax for files having a specific extension? Date: 2 Apr 2007 08:23:21 -0700 Organization: http://groups.google.com Message-ID: <1175527400.955307.302630@b75g2000hsg.googlegroups.com> References: <1175504010.137805.217560@o5g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1175528258 1556 80.91.229.12 (2 Apr 2007 15:37:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 15:37:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 02 17:37:23 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYOax-0004oL-FX for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Apr 2007 17:37:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYOdz-0003uc-Rf for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Apr 2007 11:40:31 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news.glorb.com!postnews.google.com!b75g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 8 Original-NNTP-Posting-Host: 194.244.23.251 Original-X-Trace: posting.google.com 1175527402 17776 127.0.0.1 (2 Apr 2007 15:23:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 2 Apr 2007 15:23:22 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AlcatelAleniaSpaceTurin),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 ALTOPX01 Complaints-To: groups-abuse@google.com Injection-Info: b75g2000hsg.googlegroups.com; posting-host=194.244.23.251; posting-account=5cIYqQ0AAABojVAsiWYh-UxkA450jK-W Original-Xref: shelby.stanford.edu gnu.emacs.help:146757 comp.emacs:94049 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:42361 Archived-At: > You need to create a major mode for those types of files. > Check out sample-mode.el Thank you Stefan. Is there a simplest way for reaching this scope, for example by modifying the ~/.emacs file only?