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

Re: [Mutt] #3395: save-hook filename parameter in config file is misinterpreted



#3395: save-hook filename parameter in config file is misinterpreted
----------------------------------------------+-----------------------------
 Reporter:  daniell                           |       Owner:  mutt-dev
     Type:  defect                            |      Status:  new     
 Priority:  minor                             |   Milestone:          
Component:  mutt                              |     Version:  1.5.20  
 Keywords:  save-hook folder filename muttrc  |  
----------------------------------------------+-----------------------------

Comment(by Gary Johnson):

 {{{
 On 2010-03-27, Mutt wrote:

 My guess is that you are setting the 'folder' variable in your
 .muttrc _after_ you define the save-hook.  From the mutt manual
 (version 1.4.2.2):

     6.3.48.  folder

     Type: path
     Default: "~/Mail"

     Specifies the default location of your mailboxes.  A `+' or `='
     at the beginning of a pathname will be expanded to the value of
     this variable.  Note that if you change this variable from the
     default value you need to make sure that the assignment occurs
     before you use `+' or `=' for any other variables since
     expansion takes place during the `set' command.

 If that is the problem, then to avoid it, set the 'folder' variable
 early in your .muttrc and before you use either the '+' or '='
 shortcut.

 HTH,
 Gary
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3395#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent