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

[Mutt] #3130: change folder in macro



#3130: change folder in macro
--------------------+-------------------------------------------------------
 Reporter:  shih    |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  minor   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------
 When we use change folder command to "^" it's working.

 But if we do the same in a macro with something like
 {{{
 macro index,pager y "<enter-command>set editor=\"~/bin/editlabel
 append\"\n\<edit><sync-mailbox>\n<change-folder>=^<enter-command>set
 editor=\"vi\n\"" "Append label"
 }}}

 or

 {{{
 macro index,pager y "<enter-command>set editor=\"~/bin/editlabel
 append\"\n\<edit><sync-mailbox>\n<change-folder>=\^<enter-command>set
 editor=\"vi\n\"" "Append label"
 }}}

 or

 {{{
 macro index,pager y "<enter-command>set editor=\"~/bin/editlabel
 append\"\n\<edit><sync-mailbox>\n<change-folder>='^'<enter-command>set
 editor=\"vi\n\"" "Append label"
 }}}


 it's not working, mutt tell me the mailbox don't exist.

 I'm using mutt-devel
 {{{
 Mutt 1.5.18 (2008-05-17)
 Copyright (C) 1996-2008 Michael R. Elkins et autres.
 Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE�; pour les d�tails tapez `mutt
 -vv'.
 Mutt est un logiciel libre, et vous �tes libre de le redistribuer
 sous certaines conditions�; tapez `mutt -vv' pour les d�tails.

 System: FreeBSD 7.1-PRERELEASE (i386)
 ncurses: ncurses 5.6.20080503 (compiled with 5.6)
 libiconv: 1.11
 libidn: 1.9 (compiled with 1.8)
 Options de compilation�:
 -DOMAIN
 -DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
 -USE_FCNTL  +USE_FLOCK
 +USE_POP  +USE_IMAP  +USE_SMTP  +USE_GSS  +USE_SSL_OPENSSL
 -USE_SSL_GNUTLS  -USE_SASL  +HAVE_GETADDRINFO
 +HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED
 +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
 +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
 +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
 -CRYPT_BACKEND_GPGME
 -EXACT_ADDRESS  -SUN_ATTACHMENT
 +ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
 +HAVE_LANGINFO_YESEXPR
 +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE
 -ISPELL
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 PKGDATADIR="/usr/local/share/mutt"
 SYSCONFDIR="/usr/local/etc"
 EXECSHELL="/bin/sh"
 -MIXMASTER
 Pour contacter les d�veloppeurs, veuillez �crire � <mutt-dev@xxxxxxxx>.
 Pour signaler un bug, veuillez aller sur http://bugs.mutt.org/.

 vvv.quote
 patch-1.5.0.ats.date_conditional.1
 dgc.deepif.1
 vvv.initials
 rr.compressed

 }}}

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