unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>
Cc: kfogel@red-bean.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: fundamental-mode-hook
Date: Thu, 08 Feb 2007 17:50:03 -0500	[thread overview]
Message-ID: <jwv4ppw2rmv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <45CBA462.8040801@gmail.com> (Lennart Borgman's message of "Thu\, 08 Feb 2007 23\:29\:54 +0100")

> Yes, thanks, that is what I thought.  What is the right way to find out if
> a function is a major mode?

- look at its doc
- look at its code
- try it
- ...

I tried to get all major modes to use a standard macro
(define-derived-mode), but Richard didn't like some parts of it and it
all dies.  Still, all major modes defined with define-derived-mode have the
`derived-mode-parent' property.


        Stefan

  reply	other threads:[~2007-02-08 22:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08  0:38 fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 10:06 ` fundamental-mode-hook Karl Fogel
2007-02-08  1:13   ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 19:46     ` fundamental-mode-hook Richard Stallman
2007-02-08 22:29       ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 22:50         ` Stefan Monnier [this message]
2007-02-08 23:03           ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 22:55         ` fundamental-mode-hook Edward O'Connor
2007-02-08 23:05           ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-09 14:23         ` fundamental-mode-hook Richard Stallman
2007-02-08  1:30   ` fundamental-mode-hook Juanma Barranquero
2007-02-08  1:40     ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 15:36       ` fundamental-mode-hook Karl Fogel
2007-02-08 18:25         ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-08 19:45         ` fundamental-mode-hook Richard Stallman
2007-02-09  5:56           ` fundamental-mode-hook Karl Fogel
2007-02-08 19:46 ` fundamental-mode-hook Richard Stallman
2007-02-08 22:44   ` fundamental-mode-hook Lennart Borgman (gmail)
2007-02-09 14:23     ` fundamental-mode-hook Richard Stallman

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=jwv4ppw2rmv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.com \
    --cc=lennart.borgman@gmail.com \
    --cc=rms@gnu.org \
    /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 public inbox

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

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).