Thread View: news.software.readers
5 messages
5 total messages
Started by Jack Bryans
Tue, 25 Jun 1991 12:29
Re: GNUS posting problem
Author: Jack Bryans
Date: Tue, 25 Jun 1991 12:29
Date: Tue, 25 Jun 1991 12:29
20 lines
1483 bytes
1483 bytes
In article <91175.183558DOUG@ysub.ysu.edu> Doug Sewell <DOUG@ysub.ysu.edu> writes:
> A parting question: how do you convince gnus to include the "lines"
> field in articles?
Get your news admin to uncomment the "Lines header" generation code in inews,
or your emacs admin to add the following to site-init.el or default.el, or add
it to your .emacs:
(setq gnus-Inews-article-hook
'(lambda()
;;Count the number of lines in the current posting and insert the
;;header line Lines into the message.
(if (search-forward "\n\n")
(let ((lines (count-lines (point) (point-max))))
(forward-line -1)
(insert-string "Lines: " lines "\n")))))
Jack
Re: GNUS posting problem
Author: Kai 'Kaizzu' Kein{nen
Date: Wed, 26 Jun 1991 09:18
Date: Wed, 26 Jun 1991 09:18
39 lines
2233 bytes
2233 bytes
In <JBRYANS.91Jun25122912@beach.csulb.edu> jbryans@beach.csulb.edu (Jack Bryans) writes:
>Get your news admin to uncomment the "Lines header" generation code in inews,
>or your emacs admin to add the following to site-init.el or default.el, or add
>it to your .emacs:
>(setq gnus-Inews-article-hook
> '(lambda()
> ;;Count the number of lines in the current posting and insert the
> ;;header line Lines into the message.
> (if (search-forward "\n\n")
> (let ((lines (count-lines (point) (point-max))))
> (forward-line -1)
> (insert-string "Lines: " lines "\n")))))
I prefer this:
(setq news-inews-hook
'(lambda ()
(let (lines)
(save-excursion
(goto-char (point-min))
(search-forward mail-header-separator)
(setq lines (- (count-lines (point) (point-max)) 1))
(mail-position-on-field "Lines")
(insert (format "%d" lines))))))
I use this because I have GNUS to send articles directly to relaynews
(kids, don't try this at home :)) when posting locally. Much faster
than waiting for C-news' inews.
I seem to be moving towards nn, though... with GNUS you end up
reading a whole bunch of articles you're not interested in.
--
------------------------------------------------------
- Kai 'Kaizzu' Kein{nen < - > kmk@cc.tut.fi -
- Tampere University of Technology, Computing Center -
------------------------------------------------------
Re: GNUS posting problem
Author: Dan_Jacobson
Date: Wed, 26 Jun 1991 16:44
Date: Wed, 26 Jun 1991 16:44
8 lines
1169 bytes
1169 bytes
>>>>> "Kai" == Kai 'Kaizzu' Kein{nen <kmk@cc.tut.fi> writes:
Lines: 5
Kai> I seem to be moving towards nn, though... with GNUS you end up
Kai> reading a whole bunch of articles you're not interested in.
Examine gnus-thread-hide-subtree and gnus-Subject-hide-all-threads,
gnus-Subject-show-all-threads.
Re: GNUS posting problem
Author: Kai 'Kaizzu' Kein{nen
Date: Thu, 27 Jun 1991 06:20
Date: Thu, 27 Jun 1991 06:20
31 lines
1740 bytes
1740 bytes
In <DANJ1.91Jun26124423@ihburn.ATT.COM> Dan_Jacobson@ATT.COM writes:
>>>>>> "Kai" == Kai 'Kaizzu' Kein{nen <kmk@cc.tut.fi> writes:
>Kai> I seem to be moving towards nn, though... with GNUS you end up
>Kai> reading a whole bunch of articles you're not interested in.
>Examine gnus-thread-hide-subtree and gnus-Subject-hide-all-threads,
>gnus-Subject-show-all-threads.
I did. Still, to read one thread of articles in one group I need to:
* GNUS
move with C-s or arrows to the thread I want to read, then
read them, then c y to get the next group.
* nn
press e* SPC to get the thread starting with the fifth article,
and after I'm done with them, I'm automatically in the next group.
Also, I don't get any headers if I don't want to (good for
reading long debates.)
--
------------------------------------------------------
- Kai 'Kaizzu' Kein{nen < - > kmk@cc.tut.fi -
- Tampere University of Technology, Computing Center -
------------------------------------------------------
Re: GNUS posting problem
Author: Scott J. Kramer
Date: Mon, 08 Jul 1991 07:38
Date: Mon, 08 Jul 1991 07:38
33 lines
1757 bytes
1757 bytes
In article <1991Jun26.091800.28971@cc.tut.fi> kmk@cc.tut.fi (Kai 'Kaizzu' Kein{nen) writes:
From: kmk@cc.tut.fi (Kai 'Kaizzu' Kein{nen)
Newsgroups: news.software.readers
Date: 26 Jun 91 09:18:00 GMT
References: <91175.183558DOUG@ysub.ysu.edu> <JBRYANS.91Jun25122912@beach.csulb.edu>
Organization: Tampere University of Technology, Finland
In <JBRYANS.91Jun25122912@beach.csulb.edu> jbryans@beach.csulb.edu (Jack Bryans) writes:
. . .
>(setq gnus-Inews-article-hook
> '(lambda()
> ;;Count the number of lines in the current posting and insert the
> ;;header line Lines into the message.
I added:
(goto-char (point-min))
> (if (search-forward "\n\n")
...
I prefer this:
(setq news-inews-hook
...
That one didn't count .signature lines.
--
Scott J. Kramer UUCP: {sun,ucbvax}!pixar!aura!sjk
P.O. Box 3392 Internet: sjk@aura.nbn.com
San Rafael, CA 94912
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