* Patrick Ben Koetter <p...@state-of-mind.de> [02-11-11 04:48]: > * Monte Stevens <montk...@yahoo.ca>: > > For each special folder-hook line add one > > > > folder-hook . 'set variable=default-case' > > > > , where variable and default-case are not literal. The "folder-hook ." > > lines need to be read by mutt before the special case ones, e.g., put > > them above the special case lines in the same muttrc file. > > > > The dotted lines tell mutt what to do in the default case, while the > > lines you've created tell mutt what to do in the specific case. > > Did that. I wasn't aware a default folder-hook needs to be defined. I had > thought the default settings (not assigned to any hook) would take precedence > when mutt would be in a non-special folder.
iianm, you do need the "dot" line above, but only once as the first folder-hook. Once mutt sets a vairable, that var remains set untill it is set again. The "dot" matches all cases and comming first will be the default unless your "special" case is matched. Note: there are a couple of exceptions to this "dot" line being defined first but they don't immediately come to mind, check the fine manual for hooks. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org