🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54195

[slrn] article header - "ignore" and "unignore" a la mutt

#54195
From: Sven Guckes
Date: Tue, 16 Nov 1999 00:00
68 lines
3106 bytes
* Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>:
> > How do you guys customzie the view of the header in article mode?
> visible_headers specifies a set of headers to display..

OK, got that one now - thanks!  :-)

> ..but there's no guarantee they'll be displayed in the order you want
> (even if you specify complete header names).  You'll need to use a macro
> that redraws the entire article using the replace_article intrinsic.

Sounds complicated..

> So, would a command like this work for you:
>   order_headers (["From:","Reply-To:","Newsgroups:","Subject:",
>                   "Date:","Message-ID:","X-Mailer:"]);

Now, that would be GREAT!  gimme gimme gimme!  :-)

> > Is there a way to emulate mutt's "ignore" and "unignore" with Slang?
> Sure.  As I understand it, both commands take "*" to mean "all headers".
> 'ignore' also takes partial header names (with an implied "*" at the end
> of the partial header name).  'unignore' also takes full header names.
> Is there something else to it?

I think that's about it.
I'll append my mutt's "[un]ignore" settings
so you can see what exactly I want to do with it.

Sven

===
## Ignore everything but the really important lines:
   ignore *
 # The most important lines:
   unignore from date subject to cc reply-to:
 #
 #          Sender:
   unignore sender:
 #
 # Priorities should be heeded - even if M$ Outlook calls it "importance"..
   unignore priority: importance:
 #
 # "Org-Lines" - can be fun to read:
   unignore organization organisation
 #
 # see the identification of the "user agent":
   unignore user-agent: x-agent: x-mailer: x-newsreader: x-mailing-list:
 # see the identification of the used editor:
   unignore x-editor
 #
 # recognize CCs from Usenet:
   unignore message-id: newsgroups: posted-to: x-also-posted-to:
 #
 # Darned Lotus identifies with "X-Lotus-FromDomain" :-(
   unignore x-lotus
 #
 # Recognize resent messages (usually lacking proper headers):
 # Example header lines:
 #   X-Resent-By: Global Message Exchange <forwarder@gmx.net>
 #   X-Resent-For: guckes@gmx.de
 #   X-Resent-To: guckes@math.fu-berlin.de
   unignore resent- x-resent
 #
 # WebTV is invading us!!!  Aiiiee!
   unignore x-webtv
===

Technical Details
Message-ID: <80rqji$16qqd$5@fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <80pmf1$154oi$2@fu-berlin.de> <slrn830ou5.k68.bluemoon@ux6.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <80rqji$16qqd$5@fu-berlin.de>
Subject: [slrn] article header - "ignore" and "unignore" a la mutt
Date: Tue, 16 Nov 1999 00:00:00 +0000
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <80pmf1$154oi$2@fu-berlin.de> <slrn830ou5.k68.bluemoon@ux6.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 549285262
X-Old-Subject: Re: slrn-0957 customization of the header in article mode
X-Trace: fu-berlin.de 942763442 1272653 160.45.41.21 (16 17 19)
Organization: Freie Universitaet Berlin
User-Agent: slrn/0.9.5.7 (UNIX)
Reply-To: guckes-slrn@math.fu-berlin.de
Newsgroups: news.software.readers