From: Tom Tromey <tromey@redhat.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: New special-mode parent
Date: Sat, 14 Jun 2008 14:03:31 -0600 [thread overview]
Message-ID: <m3iqwbrdgs.fsf@fleche.redhat.com> (raw)
In-Reply-To: <jwv1w31b4vr.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri\, 13 Jun 2008 13\:51\:25 -0400")
>>>>> "Stefan" == Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>> I think it would be nice is define-derived-mode automatically did this
>> for modes derived from special-mode.
Stefan> Your wish was granted several years ago already,
Thanks, I did not realize that.
Here's a patch to update the documentation.
Tom
2008-06-14 Tom Tromey <tromey@redhat.com>
* modes.texi (Derived Modes): Document mode-class.
*** modes.texi 30 Jan 2008 09:40:10 -0700 1.4
--- modes.texi 14 Jun 2008 14:02:24 -0600
***************
*** 779,784 ****
--- 779,787 ----
the end of this docstring. If you omit @var{docstring},
@code{define-derived-mode} generates a documentation string.
+ If the parent mode has a @code{mode-class} property, the new mode's
+ @code{mode-class} property is given the same value.
+
The @var{keyword-args} are pairs of keywords and values. The values
are evaluated. The following keywords are currently supported:
next prev parent reply other threads:[~2008-06-14 20:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 15:49 New special-mode parent Stefan Monnier
2008-06-13 16:24 ` Lennart Borgman (gmail)
2008-06-13 16:56 ` Tom Tromey
2008-06-13 17:51 ` Stefan Monnier
2008-06-14 20:03 ` Tom Tromey [this message]
2008-06-14 21:46 ` Stefan Monnier
2008-06-13 18:25 ` Dan Nicolaescu
2008-06-13 21:52 ` Stefan Monnier
2008-06-14 11:27 ` Juanma Barranquero
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=m3iqwbrdgs.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--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.