[Linux-disciples] mutt is apparently still confusing to me

Stephen R Laniel steve at laniels.org
Tue May 31 09:07:15 EDT 2005


Riddle me this: I use the following two lines in ~/.muttrc
to specify mutt's behavior when I send text messages to a
Verizon account and when I send to everyone else:

set tmpdir="/home/slaniel/mutt_tmp"
send-hook '~C vtext\.com' 'set abort_nosubject=no;unset signature;set tmpdir="/home/slaniel/mutt_tmp/to_cell"'

(~/.vimrc then bases its message width off the directory in
which it's editing a file -- message width 0 when it's in
~/mutt_tmp/to_cell, 60 when in ~/mutt_tmp.)

But now, if I replace that first line with

send-hook '.' 'set tmpdir="/home/slaniel/mutt_tmp"'

it doesn't work: mutt/vim fall back to what I assume is the
default, which is a message width of 72 or so.

Can anyone explain to me why this happens?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key


More information about the Linux-disciples mailing list