On Tue, 23 Aug 2011, Jameson Graef Rollins wrote: > On Mon, 22 Aug 2011 22:29:03 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote: > > - (set-process-filter proc 'notmuch-search-process-filter)))) > > + (set-process-filter proc 'notmuch-search-process-filter) > > + (set-process-query-on-exit-flag proc nil))) > > + ) > > As very minor stylistic point, I think we tend to group all closing > parens together on the same line. Otherwise I think this patch looks > great. Hi, here is the version without standalone paren. (Note: This patch can be applied directly with 'git am -c'). -Michal --8<---------------cut here---------------start------------->8--- Emacs 23.2 queries by default about killing existing processes. This is annoying when one wants to interrupt long search with 'q' key. Disable this behavior for notmuch. --- emacs/notmuch.el | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 3d82f0d..4430219 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -858,7 +858,8 @@ The optional parameters are used as follows: "--sort=newest-first") query))) (set-process-sentinel proc 'notmuch-search-process-sentinel) - (set-process-filter proc 'notmuch-search-process-filter)))) + (set-process-filter proc 'notmuch-search-process-filter) + (set-process-query-on-exit-flag proc nil)))) (run-hooks 'notmuch-search-hook))) (defun notmuch-search-refresh-view () -- 1.7.5.4 --8<---------------cut here---------------end--------------->8---