[PATCH] doc/reply: Clarify how reply-to header is handled

2015-12-29 Thread Michal Sojka
Current documentation and comments in the code do not correspond to the actual code and tests in the test suite ("Un-munging Reply-To" in T230-reply-to-sender.sh). Fix it. --- doc/man1/notmuch-reply.rst | 6 -- notmuch-reply.c| 2 +- 2 files changed, 5 insertions(+), 3

Re: notmuch-reply doesn't use Reply-To

2015-12-29 Thread Michal Sojka
Hi all, On Fri, Dec 04 2015, Jani Nikula wrote: > On Fri, 04 Dec 2015, Damien Cassou wrote: >> David Bremner writes: >> >>> Damien Cassou writes: >>> "To" : "r...@inria.fr", "Reply-To" :

Re: file-error "not a regular file"

2015-12-29 Thread Peter Salazar
send-message-without-bullets simply turns off org-bullets-mode before doing message-send, since org-bullets-mode seemed to be interfering with org-mime-htmlize. (defun send-message-without-bullets () (interactive) (remove-hook 'org-mode-hook 'org-bullets-mode) (message-send) (add-hook

Re: file-error "not a regular file"

2015-12-29 Thread David Bremner
Peter Salazar writes: > Yes, following your steps, emacs -q followed by "M-x load-library > notmuch", I was able to send an email without the error. It prompted me for > my smtp server, username, and password, then returned this: > [snip] > Does this give us any leads?

[PATCH v2] test: Unset ALTERNATE_EDITOR before running emacsclient

2015-12-29 Thread Michal Sojka
ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the emacs server is not ready. This can collide with intended functionality in test-lib.sh. If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs daemon and tries to connect to it. When this happens the emacs run by

[PATCH] test: Always use paths without symlinks

2015-12-29 Thread Michal Sojka
When notmuch sources are at a symlinked path, some tests fail because one part of the test uses physical path and another uses logical path (with symlinks). For example the following test output is produced when the test is started from /home/src/symlink-to-notmuch, which is a symlink to

Re: [PATCH] lib: have two definitions of NOTMUCH_DEPRECATED macro

2015-12-29 Thread Jani Nikula
On Tue, 11 Aug 2015, Tomi Ollila wrote: > Some compilers (older than gcc 4.5 and clang 2.9) do support > __attribute__ ((deprecated)) but not > __attribute__ ((deprecated("message"))). > > Check (clang) and know (gcc) which versions support which variants > and make two

Re: [PATCH] test: Always use paths without symlinks

2015-12-29 Thread Tomi Ollila
On Tue, Dec 29 2015, Michal Sojka wrote: > When notmuch sources are at a symlinked path, some tests fail because > one part of the test uses physical path and another uses logical > path (with symlinks). For example the following test output is > produced when the test is

Re: [PATCH v2] test: Unset ALTERNATE_EDITOR before running emacsclient

2015-12-29 Thread Tomi Ollila
On Tue, Dec 29 2015, Michal Sojka wrote: > ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the > emacs server is not ready. This can collide with intended > functionality in test-lib.sh. > > If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs >