Maybe someone can see what I'm doing stupidly here as I'm going blind.
I have some folders that have ?9999 messages that I don't want to break
up, so I want to go to a 5 digit message number in scan

If I type the following, taken from /etc/nmh/scan.defaults with the 4
changed to 5 it works fine.

scan -format '%5(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %> 
%02(mon{date})/%02(mday{date})%<{date} %|*%> 
%<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%> 
%<(zero)%17(decode(friendly{from}))%> %(decode{subject})%<{body}<<%{body}>>%>'

If I put the following

scan: -format '%5(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %> 
%02(mon{date})/%02(mday{date})%<{date} %|*%> 
%<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%> 
%<(zero)%17(decode(friendly{from}))%> %(decode{subject})%<{body}<<%{body}>>%>'

into my .mh_profile, it says

scan: bad message list %>%<{replied}-%?{encrypted}E%|

Is there something special that I need to do in .mh_profile?
Does something need extra escaping?

Thanks,
        Jon

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to