[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden

From: Luc Teirlinck
Subject: Re: address@hidden
Date: Sun, 29 May 2005 11:57:10 -0500 (CDT)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]