From 2645e72d2c67ee76d7c669316909af9d72980031 Mon Sep 17 00:00:00 2001 From: Maximilian Mehnert Date: Sun, 27 Oct 2013 20:29:09 +0100 Subject: [PATCH] add instructions for akonadi email address completion --- emacstips.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/emacstips.mdwn b/emacstips.mdwn index 09c4b77..77055cf 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -482,6 +482,32 @@ programs above. You can add the sender of a message to Google Contacts by piping the message (`notmuch-show-pipe-message`) to `goobook add`. +### Akonadi + + git clone https://github.com/mmehnert/akonadimailsearch + +Install the development packages for kdepim on your system. +Enter the cloned repository and create a build directory: + + mkdir build + cd build + cmake ..; make; + +You will find the akonadimailsearch binary in the build/src directory. +Create a ~/bin/akonadimailsearch.sh file with the following content and make it executable: +(Adjust the path for the akonadimailsearch binary.) + + #!/bin/sh + akonadimailsearch $@ 2>/dev/null + +As described above, you can now add the following settings to your ~/.emacs file: + + (require 'notmuch-address) + (setq notmuch-address-command "~/bin/akonadimailsearch.sh") + (notmuch-address-message-insinuate) + + + ## How to sign/encrypt messages with gpg Messages can by signed using gpg by invoking -- 2.43.0