🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #95

Re: GNUS posting problem

#95
From: Jack Bryans
Date: Tue, 25 Jun 1991 12:29
20 lines
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
Technical Details
Message-ID: <JBRYANS.91Jun25122912@beach.csulb.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!wuarchive!csus.edu!beach.csulb.edu!jbryans
References: <91175.183558DOUG@ysub.ysu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <JBRYANS.91Jun25122912@beach.csulb.edu>
Subject: Re: GNUS posting problem
Date: Tue, 25 Jun 1991 12:29:12 +0000
From: jbryans@beach.csulb.edu (Jack Bryans)
References: <91175.183558DOUG@ysub.ysu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!wuarchive!csus.edu!beach.csulb.edu!jbryans
Newsgroups: news.software.readers
Sender: news@beach.csulb.edu (News Administration/Rumor Bureau)
Organization: Cal State Long Beach
Lines: 20
In-Reply-To: Doug Sewell's message of Monday, 24 Jun 1991 18:35:58 EDT