From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: rms@gnu.org, 32643@debbugs.gnu.org
Subject: bug#32643: 26; minor-mode variables
Date: Thu, 6 Sep 2018 17:10:09 -0700 (PDT) [thread overview]
Message-ID: <fb9c0be1-c9da-4cf8-aab3-fd54a0a97e68@default> (raw)
In-Reply-To: <<83lg8ewk2c.fsf@gnu.org>>
> > > Most probably, historical accidents. But even finding that out is a
> > > non-trivial amount of work.
> >
> > `auto-fill-mode' has already been identified. Let this bug report serve
> > (at least) to ask that Emacs set an `auto-fill-mode' mode variable.
>
> You've changed the subject by eliding the context. The above was an
> answer to your question why some modes have variables while others
> don't.
Yes, it was. And my redaction of the text just before it didn't
change anything in that regard. If you think it did, please
elaborate.
> As for auto-fill-mode, can you tell why it is important to have a
> variable there? What cannot you do without that variable?
No, according to the convention the shoe is on the other foot.
Why should it not have a variable? That's the convention.
Why should `auto-fill-mode' be an exception? The fact that
there are some exceptions is no argument for why `a-f-m'
should be one of them.
Plus, you're setting a high bar: you ask what is _impossible to
do_ without the variable. If you insist on putting the shoe on
my foot then the only somewhat reasonable question is how
might it be useful to have the variable - not what is impossible (!)
to do without it.
Anyway, if you insist on asking for a possible use... One answer
is the same as for any other variable:
You can do `C-h v auto-fill-mode' to check whether it is on.
Minor modes do not necessarily have mode-line lighters.
And even in a customized mode-line that shows no lighters that
will tell you whether the mode is on.
Again, why would you _not_ want to have such a variable?
> > > I think the manual already does what you want, it just doesn't say
> > > this is a bug (because it isn't, IMO).
> >
> > The manual says nothing, AFAICT, that provides guidance about when
> > a mode should not or need not have a variable. Based on what it does
> > say, each mode "should" have a variable. Is that your point?
>
> My point is that the manual recommends that there be a variable.
No one disagrees that that is the case.
> > In that case, perhaps we should remove the text about some existing
> > modes not respecting this "should" - especially if that is only by
> > historical accident.
>
> If we remove that, we will have no way to respond to bug reports
> requesting that all modes shall have a variable.
Huh? Why can't you respond to such a report? Or do you think that
the manual stating only that some do and some don't provides an
excuse for doing nothing in that regard? That doesn't follow.
> > Keeping the text suggests that there is some good reason why some
> > modes do not have variables.
>
> There's no such suggestion, it's just a statement of a fact.
Why is that fact stated? Is it really to have a way to respond to
bug reports that ask to follow the convention, by saying that
the convention doesn't apply to some modes (without saying
which or why or...)? That's the only reason you've given, so far.
next prev parent reply other threads:[~2018-09-07 0:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-05 15:13 bug#32643: 26; minor-mode variables Drew Adams
2018-09-06 5:51 ` Richard Stallman
2018-09-06 14:18 ` Drew Adams
2018-09-06 14:33 ` Eli Zaretskii
2018-09-08 2:07 ` Noam Postavsky
2018-09-08 2:25 ` Drew Adams
2018-09-09 20:33 ` Noam Postavsky
2018-09-09 22:09 ` Drew Adams
2018-09-12 0:51 ` Noam Postavsky
2018-09-12 1:46 ` Drew Adams
2018-09-13 3:32 ` Richard Stallman
2018-09-13 13:28 ` Basil L. Contovounesios
2018-09-09 6:05 ` Richard Stallman
2018-09-09 14:12 ` Drew Adams
2018-09-10 7:27 ` Andreas Röhler
[not found] ` <<494224f1-815f-4fb4-a779-75e243b519f0@default>
[not found] ` <<83sh2mwv8w.fsf@gnu.org>
2018-09-06 14:51 ` Drew Adams
2018-09-06 18:35 ` Eli Zaretskii
[not found] ` <<<494224f1-815f-4fb4-a779-75e243b519f0@default>
[not found] ` <<<83sh2mwv8w.fsf@gnu.org>
[not found] ` <<488f04e4-8389-459b-b3c7-603e48bed452@default>
[not found] ` <<83lg8ewk2c.fsf@gnu.org>
2018-09-07 0:10 ` Drew Adams [this message]
2018-09-07 6:40 ` Eli Zaretskii
2018-09-08 5:13 ` Richard Stallman
2018-09-08 13:58 ` Drew Adams
2018-09-08 17:53 ` Andreas Röhler
[not found] ` <<<<494224f1-815f-4fb4-a779-75e243b519f0@default>
[not found] ` <<<<83sh2mwv8w.fsf@gnu.org>
[not found] ` <<<488f04e4-8389-459b-b3c7-603e48bed452@default>
[not found] ` <<<83lg8ewk2c.fsf@gnu.org>
[not found] ` <<fb9c0be1-c9da-4cf8-aab3-fd54a0a97e68@default>
[not found] ` <<83lg8dvmia.fsf@gnu.org>
2018-09-07 15:07 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fb9c0be1-c9da-4cf8-aab3-fd54a0a97e68@default \
--to=drew.adams@oracle.com \
--cc=32643@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.