unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Paulo Jorge Matos <pocm@soton.ac.uk>
To: Nikolaj Schumacher <me@nschum.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Creating new major mode
Date: Wed, 24 Sep 2008 10:05:42 +0100	[thread overview]
Message-ID: <48DA02E6.1040808@soton.ac.uk> (raw)
In-Reply-To: <EMEW-k8MK2cf73177e81b278b031d7d8b57c991f680-m263om664x.fsf@nschum.de>

Nikolaj Schumacher wrote:
> Paulo Jorge Matos <pocm@soton.ac.uk> 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.
> 

Thank you. It seems then that the issue is that some modes predate the 
existence of the derived-mode API. New modes should use though, right?

I will check the wiki out for new modes, thanks! :)

> 
> regards,
> Nikolaj Schumacher
> 
> 


-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK




  parent reply	other threads:[~2008-09-24  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23  9:28 Creating new major mode Paulo Jorge Matos
2008-09-23 18:58 ` Nikolaj Schumacher
     [not found] ` <EMEW-k8MK2cf73177e81b278b031d7d8b57c991f680-m263om664x.fsf@nschum.de>
2008-09-24  9:05   ` Paulo Jorge Matos [this message]
2008-09-24 15:06     ` Nikolaj Schumacher
2008-09-24 21:52       ` Paulo J. Matos
     [not found]       ` <mailman.19863.1222293135.18990.help-gnu-emacs@gnu.org>
2008-09-25  5:36         ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DA02E6.1040808@soton.ac.uk \
    --to=pocm@soton.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    --cc=me@nschum.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).