Mutt and an address book
========================

More I  use mutt more  I like  it. At the  first moment its  text user
interface  could be  mysterious,  but after  a while  I  feel it  very
natural. Some aspects are coming after several uses.

So what about address book. Mutt doesn't offer an address book, but it
has possibility  to use other  utilities to accomplish that  need. And
there is a simple program called  abook, which could be connected with
mutt, by adding several lines to .muttrc config file.

``
	set query_command = "abook --mutt-query '%s'"
	macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
	macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"

So we  define a  query command  which is  launched by  Q key,  and set
CTRL+a  and A  key. We  can also  launch abook  from the  shell, as  a
separate program. It's easy and enough.

--
szczezuja.space CC BY-SA
@Sun 07 Aug 2022 05:26:50 PM CEST