From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: emacs question Date: Sun, 23 May 2010 20:28:36 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291834572 25931 80.91.229.12 (8 Dec 2010 18:56:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 18:56:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 19:56:08 2010 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.69) (envelope-from ) id 1PQPBL-0001Fz-Gu for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 19:56:03 +0100 Original-Received: from localhost ([127.0.0.1]:55984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQPBK-0008HI-VM for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 13:56:03 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe24.iad.POSTED!7564ea0f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:JX/TZhZHddcHGHW9kPVkKJbj3QY= Original-Lines: 10 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Mon, 24 May 2010 00:29:13 UTC Original-Xref: usenet.stanford.edu gnu.emacs.help:178379 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:75836 Archived-At: > Well, if you only want to do some highlighting, you probably want to > start with `define-generic-mode'. I generally recommend people stay away from define-generic-mode because it's a dead-end, and my experience sooner or later the user will want to do something which is too cumbersome with define-generic-mode. I wrote sample-mode.el for that purpose. Stefan