unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 34073@debbugs.gnu.org, Piotr Kaznowski <piotr.kaznowski@gmail.com>
Subject: bug#34073: 26.1; Missing documentation for minor mode hook behavior
Date: Tue, 09 Jul 2019 18:44:56 -0400	[thread overview]
Message-ID: <877e8q3k0n.fsf@gmail.com> (raw)
In-Reply-To: <m3y3163k3a.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 10 Jul 2019 00:43:21 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Noam Postavsky <npostavs@gmail.com> writes:
>
>> Maybe define-minor-mode could mention this in the mode's docstring, like
>> it does for the ARG?
>
> It subtly alludes to this in this bit:
>
> --
> BODY contains code to execute each time the mode is enabled or disabled.
>   It is executed after toggling the mode, and before running MODE-hook.
> --

I didn't mean the docstring of define-minor-mode, I meant the docstring
of the mode it defines.





  reply	other threads:[~2019-07-09 22:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  9:13 bug#34073: 26.1; Missing documentation for minor mode hook behavior Piotr Kaznowski
2019-07-09 22:20 ` Lars Ingebrigtsen
2019-07-09 22:35   ` Noam Postavsky
2019-07-09 22:43     ` Lars Ingebrigtsen
2019-07-09 22:44       ` Noam Postavsky [this message]
2019-07-09 22:57         ` Lars Ingebrigtsen
2020-08-21 15:15           ` Lars Ingebrigtsen

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=877e8q3k0n.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=34073@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=piotr.kaznowski@gmail.com \
    /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).