@code{customize-mode} currently uses this. @code{define-derived-mode}
+ does @emph{not} automatically define the specified customization group.
@end table
Here is a hypothetical example:
___
Lute Kamstra <[EMAIL PROTECTED]> writes:
> Richard Stallman <[EMAIL PROTECTED]> writes:
[...]
>> Such a change is no big deal. Let's turn off generation of these
>> defcustoms.
>
> I just did this for define-generic-mode.
> I'll do define-minor-mode as well.
Done.
Lute.
___
Richard Stallman <[EMAIL PROTECTED]> writes:
> If I understood correctly, define-generic-mode only started
> constructing automatic defcustoms recently, which was an incompatible
> change. In that case, it could easily be reversed, which would make
> the two major mode defining f
Luc Teirlinck <[EMAIL PROTECTED]> writes:
> Lute Kamstra wrote:
>
>> which was an incompatible change.
>
>Not compatible with what?
>
> With pre-existing defvars or defcustoms for these hooks. (Unless you
> checked for _all_ uses of `define-generic-mode' that there are none.
> But how did
Lute Kamstra wrote:
> which was an incompatible change.
Not compatible with what?
With pre-existing defvars or defcustoms for these hooks. (Unless you
checked for _all_ uses of `define-generic-mode' that there are none.
But how did you get a list of _all_ outside packages that use it?)
I
Luc Teirlinck <[EMAIL PROTECTED]> 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
Richard Stallman <[EMAIL PROTECTED]> writes:
> If I understood correctly, define-generic-mode only started
> constructing automatic defcustoms recently, which was an
> incompatible change. In that case, it could easily be reversed,
> which would make the two major mode defining fu
If I understood correctly, define-generic-mode only started
constructing automatic defcustoms recently, which was an incompatible
change. In that case, it could easily be reversed, which would make
the two major mode defining functions consistent in this respect.
For define-m
> However, I am not sure we want defcustoms for *any* mode hooks. How
> often would a user want to customize one with defcustom?
C:\...\lisp> grep -E "defcustom.*-mode-hook" *.el
add-log.el:(defcustom change-log-mode-hook nil
autorevert.el:(defcustom auto-revert-mode-hoo
> However, I am not sure we want defcustoms for *any* mode hooks. How
> often would a user want to customize one with defcustom?
C:\...\lisp> grep -E "defcustom.*-mode-hook" *.el
add-log.el:(defcustom change-log-mode-hook nil
autorevert.el:(defcustom auto-revert-mode-hook nil
autorevert.e
Richard Stallman wrote:
I don't follow the logic of this argument. Whatever group is right
for the move variable, isn't that right for the hook variable too?
I believe that we are misunderstanding each other, but since I changed
my mind on the issue in the meantime, this has become irrelev
If one would make it construct defcustoms, then maybe that should only
happen if the :group keyword is given, so it would not get into the
same default group problems as `define-{minor,generic}-mode'.
I don't follow the logic of this argument. Whatever group is right
for the move vari
>From my previous message:
I am not really sure that it is such a great idea to have
`define-minor-mode' and `define-generic-mode' spew out all these
automatic defcustoms, but given that they do that, it seems rather
strange and inconsistent that `define-derived-mode
>From my previous message:
I am not really sure that it is such a great idea to have
`define-minor-mode' and `define-generic-mode' spew out all these
automatic defcustoms, but given that they do that, it seems rather
strange and inconsistent that `define-derived-mode
`define-minor-mode' and `define-generic-mode' generate defcustoms for
their mode hooks, `define-derived-mode' does not. I am not really sure
that it is such a great idea to have `define-minor-mode' and
`define-generic-mode' spew out all these automatic defcustoms, but
gi
15 matches
Mail list logo