Article View: news.software.readers
Article #71381[slrn] angle brackets in Message-ID
From: Daniel E. Macks
Date: Wed, 31 Jan 2001 17:21
Date: Wed, 31 Jan 2001 17:21
32 lines
1561 bytes
1561 bytes
After the zillionth time forgetting the angle brackets when pasting in
a Message-ID and then questioning my sanity when slrn couldn't locate
the message, a dinky hack was born:
definekey ("better_locate_header_by_messageid","\el","article");
variable search_msgid="";
define better_locate_header_by_messageid ()
{
variable length;
search_msgid = read_mini ("Enter Message-Id","","");
search_msgid = str_delete_chars(search_msgid,"<>");
search_msgid = strtrim(search_msgid);
!if(strlen(search_msgid))
return;
search_msgid = sprintf("<%s>",search_msgid);
() = locate_header_by_msgid(search_msgid,1);
}
Now you can forget 'em or include 'em, and it just doesn't matter.
dan
--
Daniel Macks
dmacks@a.chem.upenn.edu
dmacks@netspace.org
http://www.netspace.org/~dmacks
Technical Details
Message-ID:
<slrn97gicc.etj.dmacks@mail2.sas.upenn.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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news.misty.com!nntp.upenn.edu!dmacksShow Full Headers
Complete Article Headers
Message-ID: <slrn97gicc.etj.dmacks@mail2.sas.upenn.edu> Subject: [slrn] angle brackets in Message-ID Date: Wed, 31 Jan 2001 17:21:16 +0000 From: dmacks@mail.sas.upenn.edu (Daniel E. Macks) 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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news.misty.com!nntp.upenn.edu!dmacks Newsgroups: news.software.readers Organization: University of Pennsylvania Lines: 31 NNTP-Posting-Host: mail2.sas.upenn.edu User-Agent: slrn/0.9.5.7 (UNIX)