unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: mmaug@yahoo.com
Date: Sun, 29 May 2005 11:57:10 -0500 (CDT)	[thread overview]
Message-ID: <200505291657.j4TGvA811658@raven.dms.auburn.edu> (raw)
In-Reply-To: <87br6unodf.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 29 May 2005 09:40:13 -0400)

Stefan Monnier wrote:

   If at all possible, please use define-derived-mode which results in
   cleaner code and neatly hides those details.

The problem is that rewriting a mode to use define-derived-mode has to
be done carefully and takes time.  Otherwise, there is the risk of
introducing bugs.  On the other hand, enclosing the parent mode inside a
delay-mode-hooks is so completely routine and quick that it can be
done right after one notices the problem.  This is important, since
there may be a lot of these problems out there.  Rewriting the mode to
use define-derived-mode can always be done later when one has more
time and has no other, more urgent, things to do.

Sincerely,

Luc.

  reply	other threads:[~2005-05-29 16:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 19:24 mmaug@yahoo.com Luc Teirlinck
2005-05-29 12:04 ` mmaug@yahoo.com Richard Stallman
2005-05-29 13:40 ` mmaug@yahoo.com Stefan Monnier
2005-05-29 16:57   ` Luc Teirlinck [this message]
2005-05-30 21:08     ` mmaug@yahoo.com Stefan Monnier
2005-05-29 17:21   ` Wrong subject (Re: mmaug@yahoo.com) 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=200505291657.j4TGvA811658@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@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).