"KL" == Ken Lauffenburger <ken(_at_)efficient(_dot_)com> writes:
KL> Message indexes in my inbox have grown to beyond 13000 messages.
KL> But exmh can't display any message with index greater than 9999
KL> (five digits). The first line of these messages show up in the
KL> Table of Contents, but nothing appears in the Message Display
KL> window. The message index for these messages shows up as three
KL> digits pre-pended by a '?', e.g. '?368'. If I click on a message
KL> with index less than 10000 (no '?'), then the message appears in
KL> the Message Display window.
It's no limitation of nmh...
IIRC (it's been 2 years since I stopped using ExMH and switched to
Gnus), there was an FAQ with ExMH that answered this - you need to
change your scan format file.
Ah, here we go :
18. How do I change the folder table of contents listing?
This is a feature of the scan and inc MH programs. They take a
macro file that describes how to generate this display. The
default is buried in your MH lib directory as scan.form, or
scan.default
Here is what I have for the default:
%; NOTE: This file is supplied for reference only; it shows the
default
%; format string (for non-UK sites) which was compiled into
"scan".
%; See the source file "h/scansbr.h" for details.
%4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
%02(mon{date})/%02(mday{date})%<{date} %|*%>\
%<(mymbox{from})%<{to}To:%14(friendly{to})%>%>%<(zero)%17(frien
dly{from})%> \ %{subject}%<{body}<<%{body}>>%>
Copy this into ~/Mail/scan.form Add
scan: -form scan.form inc: -form scan.form
to your .mh_profile
NOTE: Exmh depends on the output of the scan form to have the
message number come first, followed by a character that can be
either a space or a plus '+' to mark the current message So -
leave this magic at the front (you can change the 4 as noted
below)
%4(msg)%<(cur)+%| %>
Now edit the form as described below.
18a. Remove the leading words of the message
Remove the trailing "%<{body}<<%{body}>>%>" from the scan.form
18b. Handle message numbers > 9999
Change the leading "%4(msg)" to "%5(msg)" (or %6 to allow >
99999
[ etc. ]
Enjoy,
Andrew
--
Andrew J Cosgriff <ajc(_at_)bing(_dot_)wattle(_dot_)id(_dot_)au> exterminate
all rational thought !
love fax sound trip bite