Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mstar!mstar.morningstar.com!bob From: bob@MorningStar.Com (Bob Sutterfield) Newsgroups: news.sysadmin Subject: Re: is there a macro to produce sort by subject list with rn? Message-ID: Date: 12 Feb 90 20:24:47 GMT References: <525@icdi10.UUCP> Sender: news@MorningStar.COM (USENET Administrator) Reply-To: bob@MorningStar.Com (Bob Sutterfield) Organization: Morning Star Technologies Lines: 27 In-Reply-To: fr@icdi10.UUCP's message of 10 Feb 90 06:06:11 GMT In article <525@icdi10.UUCP> fr@icdi10.UUCP (Fred Rump from home) writes: I'm running a script that lists subject and author upon hitting the = key. I would love this script even more if it could follow the same path as the n key by subject. Is there such an animal within the rn world? If I understand your question, it's a major reason I left rn behind in favor of GNUS: (setq gnus-Select-group-hook '(lambda () ;; First of all, sort by date. (gnus-sort-headers '(lambda (a b) (gnus-date-lessp (gnus-header-date a) (gnus-header-date b)))) ;; Then sort by subject string ignoring `Re:'. ;; If case-fold-search is non-nil, case of letters is ignored. (gnus-sort-headers '(lambda (a b) (gnus-string-lessp (gnus-simplify-subject (gnus-header-subject a) 're) (gnus-simplify-subject (gnus-header-subject b) 're) ))))) This nicely groups discussion threads together in a useful order. Sorry, I don't know of an easy way to accomplish it with rn macros.