all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: derived-mode should provide default abbrev-table
Date: Sat, 02 Jul 2011 09:59:26 +0200	[thread overview]
Message-ID: <4E0ECFDE.1050608@online.de> (raw)
In-Reply-To: <jwvsjqqge94.fsf-monnier+emacs@gnu.org>

[ ... ]

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




      parent reply	other threads:[~2011-07-02  7:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01  8:12 derived-mode should provide default abbrev-table Andreas Röhler
2011-07-01 16:42 ` Stefan Monnier
2011-07-01 17:48   ` Andreas Röhler
2011-07-04 15:23     ` Stefan Monnier
2011-07-02  7:59   ` Andreas Röhler [this message]

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

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

  git send-email \
    --in-reply-to=4E0ECFDE.1050608@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.