| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#11
| |||
| |||
| * Erwan David on Friday, June 15, 2007: > macro index "<Esc>j" "<enter-command>set resolve=no\n<clear-flag>N<save-message>=spam\n\n<enter-command>set resolve=yes\n" Following works here (you might want to use line continuation for better readability): macro index "<Esc>j" "<enter-command> \ set resolve=no confirmappend=no<enter>\ <clear-flag>N<save-message>+spam<enter>\ <enter-command> \ set confirmappend=yes resolve=yes<enter>" or with a recent version of Mutt, supporting personal $my_variables: macro index "<Esc>j" "<enter-command> \ set my_resolve=\$resolve my_confirmappend=\$confirmappend \ resolve=no confirmappend=no<enter>\ <clear-flag>N<save-message>+spam<enter>\ <enter-command> \ set confirmappend=\$my_confirmappend resolve=\$my_resolve \ &my_confirmappend &my_resolve<enter>" Mind you, I might still have forgotten some setting that interferes. c -- Python Mutt utilities <http://www.blacktrash.org/hg/muttils/> |
|
#12
| |||
| |||
| Erwan David <erwan@rail.eu.org> wrote: > But now my macro > macro index "<Esc>j" "<enter-command>set resolve=no\n<clear-flag>N<save-message>=spam\n\n<enter-command>set resolve=yes\n" > > is not accepted by mutt : too many arguments. This I do not see > where it can come from... See http://WIKI.mutt.org/?DebugConfig for clues. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give. |
|
#13
| |||
| |||
| Rado S <rado-news@spam-is.invalid> wrote : > Erwan David <erwan@rail.eu.org> wrote: >> But now my macro >> macro index "<Esc>j" "<enter-command>set resolve=no\n<clear-flag>N<save-message>=spam\n\n<enter-command>set resolve=yes\n" >> >> is not accepted by mutt : too many arguments. This I do not see >> where it can come from... > > See http://WIKI.mutt.org/?DebugConfig for clues. Thanks, I did not know this site. -- À peu près tout ce qu'on peut imaginer de débile en informatique finit par exister un jour ou l'autre. (BB) |
|
#14
| |||
| |||
| * Christian Ebert (2007-06-15): > * André Berger on Friday, June 15, 2007: > > * Erwan David (2007-06-14): > >> However, using <clear-flag>N changes to next message, breaking my macro > >> (which is <clear-flag>N<save-message>=spam\n\n) > >> Thus the wrong message is saved to the spam folder (used to > >> train the bayesian filter). > > > > set reverse=no > > Shouldn't that be "set resolve=no" ? You sure know better than me Sorry, I was too much in a hurry.-André -- May as well be hung for a sheep as a lamb! Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.