unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: chem <chemtov@ifrance.com>
Subject: Differencing a major mode from its derived modes
Date: Tue, 08 Jun 2004 00:46:59 +0200	[thread overview]
Message-ID: <86y8mzc7fg.fsf@ifrance.com> (raw)

Hi, 
I would like to add allout mode only to text-mode.  That is, I don't
want allout mode to propagate to all the derived modes, like message
mode, etc.

I tried, using a:
 - if test on the major-mode, and it's not working
 - (if  (get major-mode 'derived-mode-parent)..., not working neither.

It seems that the major-mode on which the derived mode is based is
actually loaded.  Thus, all the hooks are made.  Only then, the
customization of the derived mode are done.  Then, I really don't know
how to isolated the parent from its children.  If someone has a
solution, it would be nice.

Thanks                            
                                       
-- 
Chemtov

             reply	other threads:[~2004-06-07 22:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 22:46 chem [this message]
2004-06-08  6:36 ` Differencing a major mode from its derived modes Kai Grossjohann
2004-06-08  9:36   ` chem
2004-06-11 13:00     ` Kai Grossjohann
2004-06-11 17:34       ` chem
2004-06-12 13:36         ` Kai Grossjohann

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=86y8mzc7fg.fsf@ifrance.com \
    --to=chemtov@ifrance.com \
    /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).