-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

>set sent = "+/Sent"
>set trash = "+/Trash"

>Error in ~/foo/.muttrc, line 9: sent: unknown variable

That's because the variable you want is called "record", not "sent". 
(I know, that's not necessarily obvious...)

>The second I encounter an error with when I attempt to quit Mutt:
>
>Purge 12 deleted messages? ([yes]/no): y
>Create .Trash? ([yes]/no): y
>Can't open trash folder

Hrm. Did you define the $folder variable BEFORE defining those 
variables, or after? You need to define it FIRST. The + symbol there 
is actually a reference to the $folder variable.

For example, with the following settings:

     set folder=/tmp
     set record="+/Sent"
     set trash="+/Trash"

... your trash will be stored in /tmp/Trash. Buy the same logic, with 
these settings:

     set folder=$HOME
     set record="+/Sent"
     set trash="+/Trash"

... your trash will be stored in $HOME/Trash. However, with these 
settings:

     set record="+/Sent"
     set trash="+/Trash"
     set folder=/tmp

... your trash will be stored in /Trash. This is because at the time 
that mutt read the "set trash" line, the $folder variable didn't 
contain anything. Make sense?

~Kyle
- -- 
That it is better 100 guilty Persons should escape than that one 
innocent Person should suffer, is a Maxim that has been long and 
generally approved.
                                                   -- Benjamin Franklin
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLXgywAAoJECuveozR/AWe0tcQAJXus5/0rnwd3EXR9Bpb0hbD
tUG87/gnmbJYakoj4OfKBy5BKb3qj+lF5K2uT5B5mrOaJF9Fdocssba8Lq0PiPyu
GcavtZ2Ke/WW3ExV1MqTnl6aXtAsjafQ2YdBTXR0gY3JOSk8w4DKaVqYycfOjwYq
LZv5ri7bfq35j4DggDW86qBf07Jv/JTnxC96A4cIPblEiiDprgpEs4zzTduaa1xt
vBomyGn5z7Y4cGtbDcXqjiz/dLzIfnTX9xKTAiuY544gYyrggKx0kujGzaNK7b/9
V6jkWubhkGxjMYbOOAiksdaD5d6ELxNRTCZ5InvCHqJ7TGQYBvpS72TRYvq7v2d5
u4AbyNWnRnM6l/U6PrQRccMUJAgzZdzchEMv8FNN7w92CrGc+soNoGYUspPvDnLF
kJrsrz6cXc2OZEjNhtZ5uB+I0y0vlVsfPs0F/otm6jWZP8F3+GhC88tazCrKx+gY
ypfkr6LY62Jw9uWvuZQZwOGl5zO5z0qwiyiyQvoPL+Z3A1WgKszxDRIKWMNiRkdN
AwJkLb8E0+bk1muulv26cjQn/rRY6r+BXjf4Vhg8ssd8eHeZgzbU5HF2KEE1GlQ3
fIcItlop3FTqRrpffMf6det4gVkv8jWIK1vqDSsB7HAQ+whQu47BKO6MDPh+j/QZ
UOjVftEtkzGedrbnzRw8
=640B
-----END PGP SIGNATURE-----

Reply via email to