unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38466: 26.3; Gnus setting large-newsgroup-initial to "All"/nil defaults to gnus-large-newsgroup if display is set to all
@ 2019-12-03  4:23 Allen Li
  2020-07-19 14:55 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Allen Li @ 2019-12-03  4:23 UTC (permalink / raw)
  To: 38466

Setting the group parameter large-newsgroup-initial to nil (meaning
"All") makes the default number of articles to show when prompted to be
the max, when there are more articles than gnus-large-newsgroup.

However, the default is equal to gnus-large-newsgroup if the group
parameter display is also set to all.

This is annoying when viewing nnimap groups where I want to show all
messages by default.  Due to the way group size estimation works by
subtracting min/max article numbers, the estimate for nnimap groups is
often very inflated, so I am almost always prompted to enter the number
of articles to show, which defaults to gnus-large-newsgroup rather than
the max.

I don't want to disable gnus-large-newsgroup entirely since it's useful
for actual newsgroups.

In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
 of 2019-08-29 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12006000
System Description:	Arch Linux





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#38466: 26.3; Gnus setting large-newsgroup-initial to "All"/nil defaults to gnus-large-newsgroup if display is set to all
  2019-12-03  4:23 bug#38466: 26.3; Gnus setting large-newsgroup-initial to "All"/nil defaults to gnus-large-newsgroup if display is set to all Allen Li
@ 2020-07-19 14:55 ` Lars Ingebrigtsen
  2020-08-02 12:32   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-19 14:55 UTC (permalink / raw)
  To: Allen Li; +Cc: 38466

Allen Li <darkfeline@felesatra.moe> writes:

> Setting the group parameter large-newsgroup-initial to nil (meaning
> "All") makes the default number of articles to show when prompted to be
> the max, when there are more articles than gnus-large-newsgroup.
>
> However, the default is equal to gnus-large-newsgroup if the group
> parameter display is also set to all.

Yes...  I can't quite see how this has ever worked?  In general, it's
impossible to distinguish between a parameter not being present and the
parameter being nil, I think?

So the "use all the articles" value has to be something other than nil
for this to work.  Perhaps t?

Or am I misunderstanding something here, and this really does work for
somebody?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#38466: 26.3; Gnus setting large-newsgroup-initial to "All"/nil defaults to gnus-large-newsgroup if display is set to all
  2020-07-19 14:55 ` Lars Ingebrigtsen
@ 2020-08-02 12:32   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-02 12:32 UTC (permalink / raw)
  To: Allen Li; +Cc: 38466

Lars Ingebrigtsen <larsi@gnus.org> writes:

> So the "use all the articles" value has to be something other than nil
> for this to work.  Perhaps t?

I've made the value for "All" the symbol `all' in Emacs 28.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-02 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03  4:23 bug#38466: 26.3; Gnus setting large-newsgroup-initial to "All"/nil defaults to gnus-large-newsgroup if display is set to all Allen Li
2020-07-19 14:55 ` Lars Ingebrigtsen
2020-08-02 12:32   ` Lars Ingebrigtsen

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).