nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] .mh_profile question


From: Jon Steinhart
Subject: [Nmh-workers] .mh_profile question
Date: Sat, 31 Jan 2015 13:20:39 -0800

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]