emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: derived-mode should provide default abbrev-table


From: Andreas Röhler
Subject: Re: derived-mode should provide default abbrev-table
Date: Sat, 02 Jul 2011 09:59:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

[ ... ]

Hi Stefan,

still some thought's as I think `define-derived-mode'
is a very interesting tool, just some tweaks away from
being another big joy.

It's doku gives the reasons why to use it with the
following example:

 article-mode sgml-mode "Article"
    "Major mode for editing technical articles."
    (setq case-fold-search nil))

Well, imagine a translator with a couple of hundred abbrevs around.

Not just "Article" might deserve a derived mode, but
different kinds of articles, topics.

That's because handy abbrevs are limited and you might
not want to redefine useful old ones.

Then, let's say defining derived mode "steel-wheels"
should not distract users from their work.

Opening an own abbrev-space might be the basic reason.

BTW per default a derived-mode should inherit -ie read-- the
parents abbrevs, but not write it's own back.

So far,

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]