From: Allen Li <darkfeline@felesatra.moe>
To: 50415@debbugs.gnu.org
Subject: bug#50415: 27.2; gnus-group-default-list-level documentation wrong
Date: Sun, 05 Sep 2021 16:34:50 -0700 [thread overview]
Message-ID: <80zgsqsijp.fsf@felesatra.moe> (raw)
The documentation for gnus-group-default-list-level states:
Default listing level.
Ignored if ‘gnus-group-use-permanent-levels’ is non-nil.
This does not appear to be entirely true:
(defun gnus-group-default-level (&optional level number-or-nil)
(cond
(gnus-group-use-permanent-levels
(or (setq gnus-group-use-permanent-levels
(or level (if (numberp gnus-group-use-permanent-levels)
gnus-group-use-permanent-levels
(or (gnus-group-default-list-level)
gnus-level-subscribed))))
(gnus-group-default-list-level) gnus-level-subscribed))
(number-or-nil
level)
(t
(or level (gnus-group-default-list-level) gnus-level-subscribed))))
When gnus-group-use-permanent-levels is first set (to t via customize), the default
level still depends on gnus-group-default-list-level. After that
however, the level will indeed be based off of
gnus-group-use-permanent-levels which will be set to a number.
Might I suggest:
Default listing level.
When ‘gnus-group-use-permanent-levels’ is non-nil, this level is
used as the starting level until the user sets a different level.
In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)
of 2021-03-26 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Arch Linux
next reply other threads:[~2021-09-05 23:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-05 23:34 Allen Li [this message]
2021-09-06 9:12 ` bug#50415: bug#50414: 27.2; gnus-group-default-list-level documentation wrong 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80zgsqsijp.fsf@felesatra.moe \
--to=darkfeline@felesatra.moe \
--cc=50415@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 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.