Article View: news.software.readers
Article #38059Re: SLRN: Filtering headers on (F)orward - within vim editor
From: Sven Guckes
Date: Wed, 14 Jan 1998 00:00
Date: Wed, 14 Jan 1998 00:00
32 lines
1893 bytes
1893 bytes
rhh@ct.picker.com (Randall Hopper): > Editing the headers is always the first thing I do on a (F)orward. > Is there a way to request that slrn filter message headers > before sending the composed (F)orward message to the text editor > (or before mailing it, when its not edited)? I do this within my editor, Vim, with these mappings: " First step: Define regexpr for headers. " This makes reading the following mappings much easier. " cab HADDR From\\|Cc\\|To cab HEMAIL ^\(From\\|Cc\\|To\\|Date\\|Subject\\|Message-ID\\|X-\) cab HNEWS ^\(From\\|Cc\\|To\\|Date\\|Subject\\|Message-ID\\|X-\\|Newsgroups\) " nmap ,we vip:v/HEMAIL/d vmap ,we :v/HEMAIL/d nmap ,wp vip:v/HNEWS/d vmap ,wp :v/HNEWS/d So for "weeding" a header that is the current paragraph of within the "visual text" you would use ",we" or ",wp" to weed for "email header" or "post headers" respectively. > Anyone have a SLang solution? I am sure that others might have an SLang solution for you. Anyone? Sven
Technical Details
Message-ID:
<slrn6bp3fk.hg1.guckes@banach.math.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-mailReferences:
<slrn6bg36c.84u.rhh@elmer.ct.picker.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6bp3fk.hg1.guckes@banach.math.fu-berlin.de> Subject: Re: SLRN: Filtering headers on (F)orward - within vim editor Date: Wed, 14 Jan 1998 00:00:00 +0000 From: guckes@math.fu-berlin.de (Sven Guckes) References: <slrn6bg36c.84u.rhh@elmer.ct.picker.com> 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: 315930331 Content-Transfer-Encoding: 8bit X-Editor: vim-5.0u [980112] http://www.vim.org/ Mime-Version: 1.0 Reply-To: guckes@math.fu-berlin.de Mail-Copies-To: guckes@math.fu-berlin.de Content-Type: text/plain; charset=iso-8859-1 Organization: Freie Universitaet Berlin X-Access: 16 17 19 Newsgroups: news.software.readers