GNU bug report logs - #10754
define-minor-mode and doc of derived mode

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 7 Feb 2012 18:04:02 UTC

Severity: wishlist

Found in version 24.0.93

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 10754 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: John Shahid <jvshahid <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, drew.adams <at> oracle.com, 10754 <at> debbugs.gnu.org
Subject: Re: bug#10754: define-minor-mode and doc of derived mode
Date: Sun, 17 Jun 2018 17:00:17 -0400
>>> We can add an optional arg to `define-minor-mode'.
>> I'd rather avoid it if I can.
> I meant a keyword argument when I was saying optional.

That's what I understood, and I'd still rather avoid that.

I think we can avoid it by looking for the presence of ARG in
the docstring (or by simply always adding it, and then going through
the various minor modes and remove the corresponding text from their
docstrings).


        Stefan





This bug report was last modified 6 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.