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

2015-12-28 Thread Tomi Ollila
On Mon, Dec 28 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 >

[PATCH] test: Unset ALTERNATE_EDITOR before running emacsclient

2015-12-28 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

Re: [PATCH] emacs: address completion, allow sender/recipient and filters

2015-12-28 Thread Michal Sojka
Hi Mark, I tried this patch. When I set the variable to 'received, first completion candidates are generated incorrectly. The query looked as "(to:sojk...@fel.cvut.cz) and (to:prefix*)". It should be "... (from:prefix*)". This "to:" comes from notmuch-address-options or from notmuch-company so

Re: file-error "not a regular file"

2015-12-28 Thread David Bremner
fauno writes: > Peter Salazar writes: > >> Hello, >> >> I'm using notmuch-mode from within Emacs to send email using async/mbsync >> through Gmail. However, every time I send email from within Emacs, I get >> this error: > > i got this message too for

Re: file-error "not a regular file"

2015-12-28 Thread Peter Salazar
Hi David, Thanks for looking into this. Much appreciated. 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: Sending email Sending email done

Re: file-error "not a regular file"

2015-12-28 Thread fauno
David Bremner writes: > I guess the tl;dr is that I can't duplicate this problem. Looking at the > traceback Peter provided, it looks like he is using > "send-message-without-bullets" to send the message. Since this isn't a > notmuch function, it's likely bypassing the notmuch