Thread View: news.software.nn
8 messages
8 total messages
Started by John Henders
Sun, 09 May 1993 23:51
Help with auto-read-mode please
Author: John Henders
Date: Sun, 09 May 1993 23:51
Date: Sun, 09 May 1993 23:51
13 lines
908 bytes
908 bytes
I can't seem to get auto-read-mode to work in my init file. I have the lines on entry rec.audio.pro :set auto-read-mode on end in my init file, but it fails to work. Am I doing something wrong? -- John Henders GO/MU/E d* -p+ c+++ m* s/++ g+ w+++ -x+
Re: Help with auto-read-mode please
Author: Nancy McGough
Date: Mon, 10 May 1993 01:27
Date: Mon, 10 May 1993 01:27
33 lines
1650 bytes
1650 bytes
In <1993May9.235132.5780@jonh.wimsey.bc.ca> jhenders@jonh.wimsey.bc.ca (John Henders) writes: > I can't seem to get auto-read-mode to work in my init file. I >have the lines >on entry rec.audio.pro >:set auto-read-mode on >end > > in my init file, but it fails to work. Am I doing something >wrong? The fine manual gives this as an example, but it also doesn't work for me. If you want to view all unread articles without seeing the menu, try this: on entry rec.audio.pro :set auto-read-mode-limit -1 end If you want to go back to the default after this newsgroup, do this: on entry rec.audio.pro :set auto-read-mode-limit -1 :unset auto-read-mode-limit end Hope this helps, Nancy -- nancym@u.washington.edu
Re: Help with auto-read-mode please
Author: Milt Epstein
Date: Mon, 10 May 1993 02:58
Date: Mon, 10 May 1993 02:58
37 lines
2166 bytes
2166 bytes
In <1skb2vINN1ep@news.u.washington.edu> nancym@stein.u.washington.edu (Nancy McGough) writes: >In <1993May9.235132.5780@jonh.wimsey.bc.ca> jhenders@jonh.wimsey.bc.ca (John Henders) writes: >> I can't seem to get auto-read-mode to work in my init file. I >>have the lines >>on entry rec.audio.pro >>:set auto-read-mode on >>end >> >> in my init file, but it fails to work. Am I doing something >>wrong? > >The fine manual gives this as an example, but it also >doesn't work for me. If you want to view all unread >articles without seeing the menu, try this: > > on entry rec.audio.pro > :set auto-read-mode-limit -1 > end Well, I also saw an example "on entry" macro that used the variable auto-read-mode; the funny thing is, there was no such variable listed in the man page section on variables. Under the description of auto-read-mode-limit, it said that auto-read-mode is entered automatically upon appropriate settings of auto-read-mode-limit (e.g. negative, always; zero, never; positive, if the number of articles in the group is less than the number). Looks like the man page is inaccurate on this one (i.e. the macro example). If any of the maintainers are listening, perhaps this (i.e. correcting the man page) should be put on the "todo" list. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Re: Help with auto-read-mode please
Author: Bill Wohler
Date: Mon, 10 May 1993 11:23
Date: Mon, 10 May 1993 11:23
27 lines
1875 bytes
1875 bytes
Nancy McGough <nancym@stein.u.washington.edu> writes: nancy> If you want to go back to the default after this newsgroup, do nancy> this: nancy> on entry rec.audio.pro nancy> :set auto-read-mode-limit -1 nancy> :unset auto-read-mode-limit nancy> end as milt already noticed, the manual is in error. auto-read-mode is not a user defined variable (the internal variable auto_read_mode is set as described in the manual under auto-read-mode-limit). (this message is cc'd to the nn maintainers list to get stuck in the queue of things to do.) sorry nancy, your example doesn't work either. use: on entry rec.audio.pro :local auto-read-mode-limit -1 end love this group! i didn't know of the existance of this variable, and i have a couple of occasions to use it (ie. this group). Bill Wohler <wohler@sap-ag.de> SAP AG Heidelberg Red Barons Postmaster Ultimate Frisbee Team
Re: Help with auto-read-mode please
Author: Nancy McGough
Date: Mon, 10 May 1993 13:28
Date: Mon, 10 May 1993 13:28
29 lines
1638 bytes
1638 bytes
In <9305101123.AA03126@sap-ag.de> wohler@hw1175.sap-ag.de (Bill Wohler) writes: > >nancy> on entry rec.audio.pro >nancy> :set auto-read-mode-limit -1 >nancy> :unset auto-read-mode-limit >nancy> end > > sorry nancy, your example doesn't work either. Oops, that should be ::unset... and then it should work at least it does for me. > on entry rec.audio.pro > :local auto-read-mode-limit -1 > end This also works and is more concise, thanks. > love this group! i didn't know of the existance of this variable, > and i have a couple of occasions to use it (ie. this group). Yep, me too to both statements. Nancy -- nancym@u.washington.edu
Re: Help with auto-read-mode please
Author: John Henders
Date: Mon, 10 May 1993 20:37
Date: Mon, 10 May 1993 20:37
13 lines
1258 bytes
1258 bytes
Thanks everybody for the help. It seems to work fine now I have the right variable name. What I was actually looking for was something that made nn work more like trn, for trn users so I don't havr to keep trn on line. Hasd anyone found a way to toggle the selection at the article menu screen so the default is all selected? I originally though a macro that worked like pressing "=" "." would be the way, but haven't figured out if I can do that. -- John Henders GO/MU/E d* -p+ c+++ m* s/++ g+ w+++ -x+
Re: Help with auto-read-mode please
Author: Nancy McGough
Date: Tue, 11 May 1993 00:29
Date: Tue, 11 May 1993 00:29
16 lines
1489 bytes
1489 bytes
In <1993May10.203739.3248@jonh.wimsey.bc.ca> jhenders@jonh.wimsey.bc.ca (John Henders) writes: >Hasd anyone found a way to toggle the selection at the article >menu screen so the default is all selected? You could put this line in your ~/.nn/kill file: :+s/:^ This means in all newsgroups select the regular expression ^ So all subjects should be selected (since every Subject line should have a "beginning of line," i.e., regexp ^). Nancy -- nancym@u.washington.edu
Re: Help with auto-read-mode please
Author: Milt Epstein
Date: Tue, 11 May 1993 02:52
Date: Tue, 11 May 1993 02:52
32 lines
1970 bytes
1970 bytes
In <1993May10.203739.3248@jonh.wimsey.bc.ca> jhenders@jonh.wimsey.bc.ca (John Henders) writes: > Thanks everybody for the help. It seems to work fine now I >have the right variable name. > What I was actually looking for was something that made nn >work more like trn, for trn users so I don't havr to keep trn on >line. Hasd anyone found a way to toggle the selection at the article >menu screen so the default is all selected? I originally though >a macro that worked like pressing "=" "." would be the way, but >haven't figured out if I can do that. Here's a couple of macros I wrote some time back (of only the 6 or so I've ever written, so I'm still a macro novice): on entry <list-groups-here> find "." end on entry <list-groups-here> :local auto-read-mode-limit -1 end The first one does just what you asked for (I believe "=" is "find" in selection mode). The second is the one all the previous discussion was about. I believe there is a way to specify all groups where it says "<list-groups-here>". -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads