printf -v ARGS "%q " "$@"
exec ssh notmuch notmuch ${ARGS}
-and give it execute permissons: `chmod +x remote-notmuch.sh`
+and give it execute permissions: `chmod +x remote-notmuch.sh`
Now you can run `remote-notmuch.sh new`, or other notmuch commands. You
can call the script anything you like. (You could also call it `notmuch`
(setq notmuch-command "/path/to/your/remote-notmuch.sh")
-If you use Fcc, you may want to do something like this on the client, to
-Bcc mails to yourself:
+If you use Fcc and Notmuch older than 0.23, you may want to do something like
+this on the client, to Bcc mails to yourself:
(setq notmuch-fcc-dirs nil)
(add-hook 'message-header-setup-hook
(notmuch-user-name)
(notmuch-user-primary-email))))))
+Starting from 0.23, Fcc is also done through notmuch-command.
+
## Problems ##
Some things probably won't work perfectly, and there might be some