On Thursday, September 19, 2013 3:10:02 PM UTC-4, Josef Bailey wrote: > Hello > > > > I'm trying to use the abook app to add an anddressbook into mut (If im > correct it uses alias) > > > > Here is what i have done so far > > > > wajing install abook > > > > (wajing, apt-get, aptitude) = same thing > > > > Edit your ~/.muttrc file to include a macro for abook > > > > > > set alias_file=~/.mutt-alias > > source ~/.mutt-alias > > set query_command= "abook --mutt-query '%s'" macro index,pager A > "<pipe-message>abook --add-email-quiet<return>" "add the sender address to > abook > > > > If you have no ~/.mutt-alias, be sure to create one before running mut > > > > touch ~/.mutt-alias > > mutt > > > > Once i run mutt i get an error > > > > Error in /home/jcbjoe/.muttrc, line 87: macro: unknown variable > > source: errors in /home/jcbjoe/.muttrc > > > > sed -n -87p .muttrc shows me this > > > > set query_command= "abook --mutt-query '%s'" macro index,pager A > "<pipe-message>abook --add-email-quiet<return>" "add the sender address to > abook" > > > > > > Any ideas > > > > Thanks > > Josef > > > > > > -- > > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > Archive: http://lists.debian.org/20130919190325.GA7773@debian
this works for me # Use abook with Mutt set query_command="abook --mutt-query '%s'" macro index a "|abook --add-email\n" 'add sender to abook' macro pager a "|abook --add-email\n" 'add sender to abook' -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e64e7c5b-5703-4605-9601-03bdd748c...@googlegroups.com