From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Creating new major mode Date: Tue, 23 Sep 2008 20:58:54 +0200 Message-ID: References: <48D8B6B6.3020900@soton.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222196385 538 80.91.229.12 (23 Sep 2008 18:59:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 18:59:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Paulo Jorge Matos Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 21:00:43 2008 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 1KiD7h-0005Sa-Lm for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 21:00:33 +0200 Original-Received: from localhost ([127.0.0.1]:36020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiD6f-0001BF-SM for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 14:59:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiD6C-00012P-Hj for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 14:59:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiD6A-00010P-NN for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 14:59:00 -0400 Original-Received: from [199.232.76.173] (port=47351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiD6A-000104-Eb for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 14:58:58 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:56947) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiD6A-0001qO-2I for help-gnu-emacs@gnu.org; Tue, 23 Sep 2008 14:58:58 -0400 Original-Received: from thursday (BAH779d.bah.pppool.de [77.135.119.157]) by dd18200.kasserver.com (Postfix) with ESMTP id 4BDCB18093F43; Tue, 23 Sep 2008 20:59:00 +0200 (CEST) In-Reply-To: <48D8B6B6.3020900@soton.ac.uk> (Paulo Jorge Matos's message of "Tue\, 23 Sep 2008 10\:28\:22 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57968 Archived-At: Paulo Jorge Matos wrote: > When should generic-modes or derived-modes be created? Generally, I suggest you just derive any mode from fundamental-mode. That takes care of most the house keeping, and you'll only need to add what you actually want. Maybe you should look at more recent and smaller modes than lisp-mode to learn. Look around in the Emacs Wiki. regards, Nikolaj Schumacher