🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1920

Re: Refile

#1920
From: Brian M. Clapper
Date: Fri, 09 Jun 1989 16:06
31 lines
1820 bytes
In article <12841@reed.UUCP> trost@reed.UUCP (Bill Trost) writes:
>
>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.

I tried this before I ever patched refile, and I just tried it again to 
make sure I didn't screw up the first time.  Verdict: Nope, this doesn't
do what I want.

What I want is for refile to use my default folder only if I don't specify
one on the command line.  If I specify one, I want that one used instead,
hence the use of the term 'default'.  Doing what you suggest results in the
correct behavior when I don't specify a folder on the command line.  However,
if I *do* specify one, my letter gets refiled in two places: the so-called
default specified in .mh_profile *and* the one I specified.

I'd love not to have had to screw around with the source, but I could think
of no other way to do what I wanted.

Nice try, though.
-- 
Brian M. Clapper                              Software Engineering Institute
<bmc@sei.cmu.edu>                                       Pittsburgh, PA 15213

    "I was trying to daydream, but my mind kept wandering." -- S. Wright
Technical Details
Message-ID: <3473@dx.sei.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!sei!bmc
References: <3462@dx.sei.cmu.edu> <12841@reed.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!sei!bmc
From: bmc@sei.cmu.edu (Brian M. Clapper)
Newsgroups: comp.mail.mh
Subject: Re: Refile
Message-ID: <3473@dx.sei.cmu.edu>
Date: 9 Jun 89 16:06:38 GMT
References: <3462@dx.sei.cmu.edu> <12841@reed.UUCP>
Reply-To: bmc@sei.cmu.edu (Brian M. Clapper)
Followup-To: comp.mail.mh
Distribution: na
Organization: Software Engineering Institute, Pittsburgh, PA
Lines: 31