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

Re: Can't get %y expansion to work



From: Travis H. <travis+ml-mutt@xxxxxxxxxxxxxxxxx>
Date: Tue, Dec 26, 2006 at 12:44:09PM -0600
> 
> I've got formmail/procmail working to put the X-Original-To into
> X-Label, but when it comes to populating the Sent-To line,
> all that my_hdr can give me is, literally,
> 
> Sent-To: %y
> 
> That is, my sent-to line doesn't have an email address on it,
> it has a literal percent sign followed by the letter y.
> 
> I can't figure out how to get it to expand to the X-Label:
> content in the original email.  Is that supposed to happen
> before you edit the reply, or after you send it, or what?
> 

It's supposed to happen before. Some data about my setup:

Mutt 1.5.13 (2006-08-11)
Copyright (C) 1996-2006 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.19-rc5-mm1 (x86_64) [using ncurses 5.5] [using libidn 0.6.5 
(compiled with 0.6.5)]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK   +USE_INODESORT   
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  
+HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+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  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +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/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.11.rr.compressed.1
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.5.1.nt.xtitles.3.ab.1
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.6.tt.assumed_charset.1


ignore *
unignore From To Envelope-To Reply-To Subject Date Cc X-XS4ALL-DNSBL-Warning 
X-XS4ALL-Junk X-Spam-Level X-Spam-Status X-Bogosity X-Label
#
# options
#
set mark_old=no
set delete=yes
set editor="/usr/local/bin/vi72.sh"
set mbox="/var/spool/mail/jurriaan"
set mbox_type="Maildir"
set pager_index_lines=8
set edit_headers=yes
set signature="/home/jurriaan/.signature-no-delimiter.txt"
source ~/.mutt-colors-`if [ "$TERM" = "linux" ] ; then echo "console" ; else 
echo "x" ; fi`
set index_format="%4C %Z %{%d-%m-%y} %-15.15L (%6c) %s"
set attribution="From: %n <%a>\nDate: %d\nSent-To: %y\n"
set read_inc=500
auto_view text/html

the relevant part of vi72.sh you already have.

Kind regards,
Jurriaan
-- 
I see your point . . . and raise you a line.
        Elliot Smorodinsky
Debian (Unstable) GNU/Linux 2.6.19-rc5-mm1 2x4826 bogomips load 0.28
the Jack Vance Integral Edition: http://www.integralarchive.org