<<< Date Index >>>     <<< Thread Index >>>

Re: Where did these headers come from?



* Rem P Roberti <remegius@xxxxxxxxxxx> 01.03.2009
> On 2009.03.01 11:08:55 +0000, Rem P Roberti wrote:
> > On 2009.03.01 13:25:40 +0000, Ed Blackman wrote:
> > > On Sun, Mar 01, 2009 at 09:41:50AM -0800, Rem P Roberti wrote:
> > > >I installed muttprint a while back, and I'm quite satisfied with its
> > > >performance.  However, I discovered that once I print an email Mutt then
> > > >starts to include every (and I do mean every) header when an email is
> > > >viewed.  A page of headers.  It's as though the 'ignore' statement in
> > > >.muttrc is no longer active.  The only way I can fix the problem is by
> > > >closing and reopening Mutt.  Anyone know what's going on here?
> > > 
> > > Maybe your macro for muttprint unsets 'weed'?  If you type ':set ?weed' 
> > > before printing in a new Mutt session, what does Mutt respond with?  
> > > After printing?
> > > 
> > > If mutt responds with "weed is set" before and "weed is unset" after, 
> > > that's the problem, and I can think of two solutions.
> > > 
> > What you describe is precisely what happens: muttprint unsets 'weed'.
> > Since I don't have a dedicated macro for muttprint (I just hit 'p' to
> > print), and since hitting 'h' is such an easy solution to toggle back
> > weed, I think that I will just stay with that for the time being.  I'm
> > pretty new to mutt and muttprint, and haven't explored dedicated macros
> > (except for my abook macro).  I will say that that seems like a much
> > more elegant solution :)
> 
> Whoa. It turns out that there is a macro in my .muttrc.  Here it is:
> 
> macro index p "<display-toggle-weed> <print-message>
> <display-toggle-weed> <exit>"

Hello Rem,

you can set the headers which you want to print in your 
$HOME/.muttprintrc

I have this in my muttprintrc and mutt prints only these headers.

--------------------------------------------------------+
# Choose of the printed headers, separation with "_"    |
# /Header/ : italic printing                            |
# *Header* : bold printing                              |
# If the header does not exist, it is not printed.      |
PRINTED_HEADERS="/Date/_To_From_CC_Newsgroups_*Subject*"|
--------------------------------------------------------+

Hth Michael

-- 
"Kindness is a language which the deaf can hear 
 and the blind can see." 
               --Mark Twain

Attachment: signature.asc
Description: Digital signature