From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: define-derived-mode
Date: Mon, 09 May 2005 12:35:01 +0200 [thread overview]
Message-ID: <8764xs7kmi.fsf@xs4all.nl> (raw)
In-Reply-To: <200505081748.j48HmHm26026@raven.dms.auburn.edu> (Luc Teirlinck's message of "Sun, 8 May 2005 12:48:17 -0500 (CDT)")
Luc Teirlinck <teirllm@dms.auburn.edu> writes:
[...]
> If I understood correctly, define-generic-mode only started
> constructing automatic defcustoms recently,
True; I made the change.
> which was an incompatible change.
Not compatible with what?
> In that case, it could easily be reversed, which would make the two
> major mode defining functions consistent in this respect.
I primarily wanted to define the mode hook as a variable so that I
could give it docstring. I chose defcustom over defvar because
define-minor-mode and quite some other major modes did that. I don't
strongly object to making the defcustom a defvar, but I don't
understand your problems with the use of defcustom:
> Customizing mode hooks through Custom is only convenient if an
> :options keyword is used. (Currently, customizing hooks through
> Custom is not advisable to begin with because of several bugs we
> discussed before. We plan to fix these in Emacs 23 or 24.)
I don't recall the bugs you refer to; could you give me the subject(s)
of the relevant thread(s)?
Lute.
next prev parent reply other threads:[~2005-05-09 10:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-08 1:01 define-derived-mode Luc Teirlinck
2005-05-08 3:15 ` define-derived-mode Luc Teirlinck
2005-05-08 16:12 ` define-derived-mode Richard Stallman
2005-05-08 17:00 ` define-derived-mode Juanma Barranquero
2005-05-09 8:57 ` define-derived-mode Richard Stallman
2005-05-08 17:48 ` define-derived-mode Luc Teirlinck
2005-05-09 8:57 ` define-derived-mode Richard Stallman
2005-05-09 10:13 ` define-derived-mode David Kastrup
2005-05-12 13:53 ` define-derived-mode Lute Kamstra
2005-05-17 15:58 ` define-derived-mode Lute Kamstra
2005-05-09 10:35 ` Lute Kamstra [this message]
2005-05-10 0:07 ` define-derived-mode Luc Teirlinck
2005-05-10 8:47 ` define-derived-mode Lute Kamstra
2005-05-08 14:04 ` define-derived-mode Luc Teirlinck
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=8764xs7kmi.fsf@xs4all.nl \
--to=lute.kamstra.lists@xs4all.nl \
--cc=emacs-devel@gnu.org \
--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).