Joel Uckelman on Mon, 23 Jun 2008 15:46:12 -0700 (MST)

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

Re: [hosers-announce] minor nmh change

Thus spake Joel Uckelman:
> I upgraded nmh this afternoon, and there's one small change you might
> want to make to your own nmh configuration if you'd like to keep seeing
> who messages are To when you scan your outbox:
> 1. Add the following line to your ~/.mh_profile:
> Alternate-Mailboxes: username@xxxxxxxxxxx
> 2. If you have a custom scan format in ~/Mail, then it might be the
> one I modified from the default about 10 years ago. If so, it might
> be called ~/Mail/scan.default and look like this:
> %4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
> %02(mon{date})/%02(mday{date})%<{date} %|*%>\
> %<(null{received})%<{sender}%<(mymbox{sender})%<{to}To:%14(decode(friendly{to
> }))%>%>%>%>\
> %<(zero)%17(decode(friendly{from}))%>  \
> %(decode{subject})%<{body}<<%{body}>>%>
> What you need to do is replace both instances of 'sender' in the third
> line with 'from'.

3. If you're using a custom scan format, also add this to your .mh_profile:

inc: -form scan.default

(where 'scan.default' is the name of your custom scan format).

4. I'm attaching a replacement ~/Mail/replcomps for you if you don't like
the new reply behavior. (Be sure to replace the From with your own address
if you use this, and do what you like with the last line.) Also, I'm in
the process of asking on the nmh list about this, to find out if this is
intentional or a bug. Stay tuned.

%; $Header: /sources/nmh/nmh/etc/replcomps,v 1.5 2003/07/02 02:01:50 gbburkhardt Exp $
%; These next lines slurp in lots of addresses for To: and cc:.
%; Use with repl -query or else you may get flooded with addresses!
%; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in.
%(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%(void(width))%(putaddr To: )
%(void(width))%(putaddr cc: )
Fcc: %<{fcc}%{fcc}%|+outbox%>
Subject: %<{subject}Re: %{subject}%>
%; Make References: and In-reply-to: fields for threading.
%; Use (void), (trim) and (putstr) to eat trailing whitespace.
%<{message-id}In-reply-to: %{message-id}\n%>\
%<{message-id}References: \
%<{references}%(void{references})%(trim)%(putstr) %>\
Comments: In-reply-to \
   message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
From: Joel Uckelman <uckelman@xxxxxxxxx>
Thus spake %(void(pers{from}))%<(nonnull)%(decode)%|%(addr{from})%>:
hosers-announce mailing list