Hi Doug,

According to the man page to scan there is a %{folder} escape, which 
supposedly insert the scan'ed folder in the output. The following 
patch makes that really happen regardless of if a header is printed. 
Please apply.

Thanks,

/Anders





--- nmh-1.0.4/uip/scan.c        Fri Feb  4 21:28:24 2000
+++ nmh-1.0.4/uip/scan.c.new    Tue Jan 15 07:57:48 2002
@@ -316,7 +316,7 @@
 
            switch (state = scan (in, msgnum, 0, nfs, width,
                        msgnum == mp->curmsg, unseen,
-                       hdrflag ? folder : NULL, 0L, 1)) {
+                       folder, 0L, 1)) {
                case SCNMSG: 
                case SCNENC: 
                case SCNERR: 


Reply via email to