unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Piotr Kaznowski <piotr.kaznowski@gmail.com>
To: 34073@debbugs.gnu.org
Subject: bug#34073: 26.1; Missing documentation for minor mode hook behavior
Date: Mon, 14 Jan 2019 10:13:08 +0100	[thread overview]
Message-ID: <20190114091307.f33jqe54syxtceeq@lenovo> (raw)

--text follows this line--

I couldn't find essential information about minor mode hooks behavior, namely that "The minor mode's hook is called both when activating and deactivating the minor mode" (as stated here: https://emacs.stackexchange.com/a/47092/17425).

It isn't mentioned in the manual (sections "Minor Modes" and "Hooks"), nor in the docstring for `add-hook' function.

Please consider adding this information in the relevant sections of the docs.
Thank you.







             reply	other threads:[~2019-01-14  9:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  9:13 Piotr Kaznowski [this message]
2019-07-09 22:20 ` bug#34073: 26.1; Missing documentation for minor mode hook behavior Lars Ingebrigtsen
2019-07-09 22:35   ` Noam Postavsky
2019-07-09 22:43     ` Lars Ingebrigtsen
2019-07-09 22:44       ` Noam Postavsky
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=20190114091307.f33jqe54syxtceeq@lenovo \
    --to=piotr.kaznowski@gmail.com \
    --cc=34073@debbugs.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).