]> diplodocus.org Git - nmh/blobdiff - etc/scan.YYYYMMDD
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / etc / scan.YYYYMMDD
index 626ab7424561125feb41b1059b53565db26f7b16..97016c2cfe69c77f310c4cc7d41d0c0f205feff1 100644 (file)
@@ -1,11 +1,10 @@
 %; scan.YYYYMMDD
 %;
 %; Like scan.default, but the date is printed in YYYY-MM-DD format rather than
 %; scan.YYYYMMDD
 %;
 %; Like scan.default, but the date is printed in YYYY-MM-DD format rather than
-%; MM/DD.  Allows one less column for the message number and leaves out the
-%; apparently little-used replied/encrypted column in order to make space.
+%; MM/DD.
 %;
 %;
-%3(msg)%<(cur)+%| %>\
+%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
 %4(year{date})-%02(mon{date})-%02(mday{date})%<{date} %|*%>\
 %4(year{date})-%02(mon{date})-%02(mday{date})%<{date} %|*%>\
-%<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\
-%<(zero)%17(decode(friendly{from}))%>  \
+%<(mymbox{from})%<{to}To:%14(unquote(decode(friendly{to})))%>%>\
+%<(zero)%17(unquote(decode(friendly{from})))%>  \
 %(decode{subject})%<{body}<<%{body}>>%>
 %(decode{subject})%<{body}<<%{body}>>%>