Re: Partitioning lines in FTOC ?

"Robert Wirth" <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
[email protected] wrote:
> 
> On Wed, 01 Sep 2010 11:55:43 +0200, Robert Wirth said:
> 
> > is there a chance to change the splitting of the lines in the FTOC?
> > Actually, only the first 24 characters of the messages' subject lines
> > are displayed.  I'd like to see more of the subjects (and less of the
> > messages' body preview)
> 
> This is set by whatever format you have for the 'scan' command.
> I have in .mh_profile:
> 
> scan: -form scan/timely
> 
> and then down in Mail/scan/timely:
> 
> %5(msg)%<(cur)+%| %>\
> %<{x-priority}%01{x-priority}%| %> \
> %<{Replied}R%|%<(unseen)U%| %>%>%<{In-reply-to}*%| %>\
> %(void{content-type})\
> %<(match text/plain) \
> %?(match multipart/signed)S\
> %?(match multipart/encrypted)E\
> %|%<{content-type}M%|?%>%> \
> %(void(rclock{date}))\
> %<(gt 31356000)%02(mday{date}) %03(month{date}) %(void(year{date}))%02(modulo 10
> 0)%|\
> %<(gt 86400)%(day{date}) %2(mday{date})%03(month{date})%|\
> %02(hour{date}):%02(min{date}) %3(tzone{date})%>%>\
> %<{date} %|*%> %6(size) \
> %<(mymbox{from})To:%14(decode(friendly{to}))%|\
> %(void(addr{from}))\
> %<(match mailer@)%17(host{from})\
> %?(match mailer-daemon@)%17(host{from})\
> %?(match listserv@)%17(host{from})\
> %?(match listbit@)%17(host{from})\
> %?(match mailbit@)%17(friendly{to})\
> %?(match postoffice@)%17(host{from})\
> %?(match postmaster@)%17(host{from})\
> %?(match root@)%17(host{from})\
> %|%17(decode(friendly{from}))%>%>  \
> %(decode{subject})\
> %(void{content-type})\
> %<(match multipart)%|\
> %<{body} <<%{body}%>\
> %>
> 
> (yeah it's ugly, Deal with it., :)
> 
> Most likely, whatever scan format you have says something like:
> 
> %24%(decode{subject})
> 
> to limit it to 24 characters.  Nuking the %24 will remove that width restriction.

YEAH!  That's it!  Tnank you!

While I were at it, I added this pretty "decode" function, and, now,
the subject lines using special characters are readable!  ;-)
Thank you again.

	Robert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.