🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1919

Re: Refile

#1919
From: Bill Trost
Date: Thu, 08 Jun 1989 23:41
33 lines
1837 bytes
[I cross-posted this to local.computing because enough Reedies use mh that
they may find this useful.  Check followup Newsgroups: fields carefully.]

In article <3462@dx.sei.cmu.edu> bmc@sei.cmu.edu (Brian M. Clapper) writes:
>When I first started using MH, I established a catch-all folder for those
>messages I couldn't or wouldn't categorize properly.  This folder became
>the place to throw anything miscellaneous -- in effect, my default folder.
>However, I could find no way to tell refile that it was to place messages
>in this folder if I didn't explicitly specify one.

>When I found the source, I made a quick hack allowing me to specify a single
>default folder in an environment variable.

This, actually, is unnecessary, at least in mh6.5.  Simple add the line

	refile: +catch-all

to your .mh_profile, and refile will use that as the default folder.  Not
only already there, but it avoids introducing yet another environment
variable as well.

This sort of trick can be used to your advantage elsewhere as well.  For
instance, I have a symlink to scan called "inbox" in my path.  In my
.mh_profile, I have the line

	inbox: +inbox

which lets simply type "inbox" to get the scan listing of my inbox.  (Say
"nifty" :-) ).
-- 
Whaddya mean, these are *my* opinions??  I never wrote that!
Bill Trost
trost@reed.bitnet, but probably ...!tektronix!reed!trost
Technical Details
Message-ID: <12841@reed.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr!tektronix!reed!trost
References: <3462@dx.sei.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr!tektronix!reed!trost
From: trost@reed.UUCP (Bill Trost)
Newsgroups: comp.mail.mh,local.computing
Subject: Re: Refile
Message-ID: <12841@reed.UUCP>
Date: 8 Jun 89 23:41:37 GMT
References: <3462@dx.sei.cmu.edu>
Reply-To: trost@reed.UUCP (Bill Trost)
Distribution: na
Organization: Reed College, Portland OR
Lines: 33