🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156813

Re: [slrn] sort-headers.sl macro no longer working (PING: Thomas)

#156813
From: DC
Date: Sat, 09 Oct 2004 22:07
65 lines
2660 bytes
Thomas Schultz wrote:
> * DC [2004-09-08 20:23] :
> [...]
>> I have verified all of my settings and they appear to be in order.  The
>> macro is loaded on slrn startup and the hooks are in place.

> The macro still works for me. You could try if typing

> SortHeaders->sort();

> at the S-Lang prompt (i.e., hit Ctrl-X ESC while an article is shown in
> the pager) will sort header lines. If it does, you should check your
> hooks again.


I've checked everything.  Here's my setup:


~/.slrnrc (snippet)

#v+
% sort-headers.sl - sorted output of header lines
interpret sort-headers.sl
interpret my_hooks.sl
#v-


~/News/macros/sort-headers.sl (snippet)

#v+
% Set preferences %{{{
Prefs["method"] = 3;
Prefs["order"] = "From:,Subject:,Newsgroups:";
%}}}
#v-


~/News/macros/my_hooks.sl (entire file)

#v+
public define read_article_hook()
  {
      SortHeaders->sort();
  }


define pipe_to_urlview ()
{
        pipe_article ("urlview");
}
definekey ("pipe_to_urlview", "^u", "article");
#v-


After you had me run the above command, sorting worked for the duration
of my login session, even after closing slrn.  I then tried a reboot and
now sorting isn't working again.

What could I be missing, here?

-- 
DC                                       Linux RU #1000111011000111001

Health nuts are going to feel stupid someday, lying in hospitals dying
of nothing.
Technical Details
Message-ID: <slrncmgo8h.403.dcmoose@moosemeat.ca.INVALID>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <slrncjuqim.4a3.dcmoose@moosemeat.ca.INVALID> <slrncmg7au.2qh.tststs@b192.ryd.student.liu.se>

Show Full Headers
Complete Article Headers
Message-ID: <slrncmgo8h.403.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [slrn] sort-headers.sl macro no longer working (PING: Thomas)
Date: Sat, 09 Oct 2004 22:07:13 +0000
From: DC <dcmoose@myrealbox.com>
References: <slrncjuqim.4a3.dcmoose@moosemeat.ca.INVALID> <slrncmg7au.2qh.tststs@b192.ryd.student.liu.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 65
X-Trace: news.uni-berlin.de Go3f4Sadh0BZEqDX7QhZqgiMgfPcesAo6EE4KdzvcguHlZqgid
X-Operating-System: Mandrake Linux 10.0 (Kernel 2.6.3-7mdk)
X-Face: 6k$Xf_V^i#2X;
 X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
 ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.1 (Linux)