Re: raise Slrn_Query_Group_Cutoff

Marcin Wiśniewski <[email protected]>
Newsgroups gmane.network.slrn.user
Organization not interested / Solipsist Nation
Message-ID <[email protected]>
[*Jörg Sommer*,([email protected])]
[<[email protected]>]
> what do think about the request [1] to raise the default value of
> Slrn_Query_Group_Cutoff from 100 to 1000? Would you do this?
>
> Bye, Jörg.
>
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375015

I'm using this patch from few years:


slrn-0.9.8.1-group_query_mode.patch
diff -urN slrn-0.9.8.1-orig/src/group.c slrn-0.9.8.1/src/group.c
--- src/group.c	2004-08-15 23:09:31.000000000 +0200
+++ src/group.c	2004-11-07 15:48:33.000000000 +0100
@@ -69,6 +69,7 @@
 /*{{{ Global Variables */
 
 int Slrn_Query_Group_Cutoff = 100;
+int Slrn_Query_Group_Mode = 0;
 int Slrn_Groups_Dirty;	       /* 1 == need to write newsrc */
 int Slrn_List_Active_File = 0;
 int Slrn_Write_Newsrc_Flags = 0;       /* if 1, do not save unsubscribed 
@@ -884,6 +885,8 @@
 	char int_prompt_buf[256];
 	if ((prefix & 1) || (Slrn_Query_Group_Cutoff > 0))
 	  {
+	     if (Slrn_Query_Group_Mode > 0)
+	       n = Slrn_Query_Group_Cutoff;
 	     slrn_snprintf (int_prompt_buf, sizeof (int_prompt_buf),
 			    _("%s: Read how many? "),
 			    Slrn_Group_Current_Group->group_name);
diff -urN slrn-0.9.8.1-orig/src/group.h slrn-0.9.8.1/src/group.h
--- src/group.h	2003-07-30 17:10:26.000000000 +0200
+++ src/group.h	2004-11-07 15:32:39.000000000 +0100
@@ -93,6 +93,7 @@
 extern int Slrn_Check_New_Groups;
 extern int Slrn_List_Active_File;
 extern int Slrn_Query_Group_Cutoff;
+extern int Slrn_Query_Group_Mode;
 extern int Slrn_Write_Newsrc_Flags;
 extern int Slrn_Display_Cursor_Bar;
 extern int Slrn_Drop_Bogus_Groups;
diff -urN slrn-0.9.8.1-orig/src/startup.c slrn-0.9.8.1/src/startup.c
--- src/startup.c	2004-03-07 18:08:21.000000000 +0100
+++ src/startup.c	2004-11-07 15:32:39.000000000 +0100
@@ -556,6 +556,7 @@
      {"wrap_method", &Slrn_Wrap_Method},
      {"write_newsrc_flags", &Slrn_Write_Newsrc_Flags},
      {"query_read_group_cutoff", &Slrn_Query_Group_Cutoff},
+     {"read_group_query_mode", &Slrn_Query_Group_Mode},
      {"max_queued_groups", &Slrn_Max_Queued_Groups},
      {"use_header_numbers", &Slrn_Use_Header_Numbers},
      {"use_localtime", &Slrn_Use_Localtime},


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.