From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "52007@debbugs.gnu.org" <52007@debbugs.gnu.org>
Subject: bug#52007: [External] : Re: bug#52007: 26.3; Doc of `define-globalized-minor-mode' and global(ized) minor modes
Date: Sun, 21 Nov 2021 18:25:23 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488ED4D8195AAE6C170A2C9F39E9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <83lf1hqtbt.fsf@gnu.org>
> > > > That's not what it means to toggle `foo-mode'
> > > > everywhere. Doing that would flip the value that
> > > > `foo-mode' (non-global mode) has in each buffer.
> > >
> > > And it does.
> >
> > It does not. If `foo-mode' is on in buffer A, and
> > the global mode is off, then toggling the global mode
> > results in `foo-mode' being (still) on in buffer A.
> >
> > Toggling `foo-mode' in all buffers (which is what
> > the erroneous doc string said) would turn it on where
> > it is off and off where it is on. It would turn it
> > off in buffer A. It does not do so; it doesn't
> > toggle `foo-mode' in each buffer; instead, it turns
> > the mode on everywhere or off everywhere, depending
> > on the value of `global-foo-mode'.
>
> You are splitting hair. The doc string describes what happens when
> the mode is off everywhere.
Not at all splitting hairs. The doc string said
that the NON-global mode gets toggled in each
buffer, and it does not - not at all.
> > But as you've acknowledged, the bug exists in 27.2,
> > the latest Emacs release.
>
> I didn't try this in Emacs 27, so I didn't acknowledge that.
I thought you said that the erroneous doc I reported
is getting fixed for Emacs 28.
next prev parent reply other threads:[~2021-11-21 18:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-20 22:44 bug#52007: 26.3; Doc of `define-globalized-minor-mode' and global(ized) minor modes Drew Adams
2021-11-20 23:17 ` Drew Adams
2021-11-21 6:42 ` Eli Zaretskii
2021-11-21 17:22 ` bug#52007: [External] : " Drew Adams
2021-11-21 17:28 ` Eli Zaretskii
2021-11-21 17:45 ` Drew Adams
2021-11-21 18:03 ` Eli Zaretskii
2021-11-21 18:25 ` Drew Adams [this message]
2021-11-21 6:41 ` Eli Zaretskii
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=SJ0PR10MB5488ED4D8195AAE6C170A2C9F39E9@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=52007@debbugs.gnu.org \
--cc=eliz@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).