[PATCH] Do not query on notmuch-search exit

2011-11-11 Thread Pieter Praet
On Sat, 08 Oct 2011 20:46:44 -0700, Jameson Graef Rollins  wrote:
> On Sat, 27 Aug 2011 14:38:26 +0200, Michal Sojka  
> wrote:
> > 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.
> 
> I would like to advocate that this patch gets pushed soon so that it
> doesn't get lost.
> 
> jamie.
> ___
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Appears to have been merged in by the powers that be: commit 0234a16b

Thanks!


Peace

-- 
Pieter


Re: [PATCH] Do not query on notmuch-search exit

2011-11-10 Thread Pieter Praet
On Sat, 08 Oct 2011 20:46:44 -0700, Jameson Graef Rollins 
jroll...@finestructure.net wrote:
 On Sat, 27 Aug 2011 14:38:26 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
  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.
 
 I would like to advocate that this patch gets pushed soon so that it
 doesn't get lost.
 
 jamie.
 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch

Appears to have been merged in by the powers that be: commit 0234a16b

Thanks!


Peace

-- 
Pieter
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] Do not query on notmuch-search exit

2011-10-08 Thread Jameson Graef Rollins
On Sat, 27 Aug 2011 14:38:26 +0200, Michal Sojka  wrote:
> 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.

I would like to advocate that this patch gets pushed soon so that it
doesn't get lost.

jamie.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: 



Re: [PATCH] Do not query on notmuch-search exit

2011-10-08 Thread Jameson Graef Rollins
On Sat, 27 Aug 2011 14:38:26 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
 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.

I would like to advocate that this patch gets pushed soon so that it
doesn't get lost.

jamie.


pgpdBS7vWt3rl.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] Do not query on notmuch-search exit

2011-08-27 Thread Michal Sojka
On Tue, 23 Aug 2011, Jameson Graef Rollins wrote:
> On Mon, 22 Aug 2011 22:29:03 +0200, Michal Sojka  
> 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---


[PATCH] Do not query on notmuch-search exit

2011-08-23 Thread Jameson Graef Rollins
On Mon, 22 Aug 2011 22:29:03 +0200, Michal Sojka  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.

Thanks, Michal.

jamie.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: 



Re: [PATCH] Do not query on notmuch-search exit

2011-08-23 Thread Jameson Graef Rollins
On Mon, 22 Aug 2011 22:29:03 +0200, Michal Sojka sojk...@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.

Thanks, Michal.

jamie.


pgp389MwSD0Y0.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
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 |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 3d82f0d..8858f3e 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -858,7 +858,9 @@ 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



[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
On Mon, 22 Aug 2011, Jameson Graef Rollins wrote:
> On Mon, 22 Aug 2011 15:49:21 +0200, Michal Sojka  
> wrote:
> > 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.
> 
> Thanks for resubmitting this patch, Michal.  I definitely prefer this
> behavior.
> 
> > --
> 
> fwiw, I think this separator needs to be three dashes long, ie. '---'.
> Otherwise "git am" doesn't seem to recognize it as a separator and
> includes the rest of the text below this in the log.

Oh, sorry. Of course I know that, but I was in hurry when sending the
patch and didn't notice. I'm sending a new version for that is easy to
apply (for cworth).

-Michal


[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Tomi Ollila
On Mon 22 Aug 2011 17:28, Tomi Ollila  writes:

> On Mon 22 Aug 2011 16:49, Michal Sojka  writes:
>> id:"871uwhz228.fsf at servo.factory.finestructure.net". Can anyone check
>> whether this works with emacs earlier than 23.2 or whether we need
>> to check for version or something in the code?
>
> It works with emacs 22.2.1 -- is no-op there...

No-op meaning that killing the process is not asked even
without this patch...

>> -Michal

> Tomi

Tomi


[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Tomi Ollila
On Mon 22 Aug 2011 16:49, Michal Sojka  writes:

> 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.

> --
>
> I'm resending this again as jrollins requested in
> id:"871uwhz228.fsf at servo.factory.finestructure.net". Can anyone check
> whether this works with emacs earlier than 23.2 or whether we need
> to check for version or something in the code?

It works with emacs 22.2.1 -- is no-op there...

>
> -Michal
>

Tomi


[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
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.
--

I'm resending this again as jrollins requested in
id:"871uwhz228.fsf at servo.factory.finestructure.net". Can anyone check
whether this works with emacs earlier than 23.2 or whether we need
to check for version or something in the code?

-Michal


 emacs/notmuch.el |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 3d82f0d..8858f3e 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -858,7 +858,9 @@ 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



[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
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.
--

I'm resending this again as jrollins requested in
id:871uwhz228@servo.factory.finestructure.net. Can anyone check
whether this works with emacs earlier than 23.2 or whether we need
to check for version or something in the code?

-Michal


 emacs/notmuch.el |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 3d82f0d..8858f3e 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -858,7 +858,9 @@ 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

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Tomi Ollila
On Mon 22 Aug 2011 17:28, Tomi Ollila tomi.oll...@nixu.com writes:

 On Mon 22 Aug 2011 16:49, Michal Sojka sojk...@fel.cvut.cz writes:
 id:871uwhz228@servo.factory.finestructure.net. Can anyone check
 whether this works with emacs earlier than 23.2 or whether we need
 to check for version or something in the code?

 It works with emacs 22.2.1 -- is no-op there...

No-op meaning that killing the process is not asked even
without this patch...

 -Michal

 Tomi

Tomi
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
On Mon, 22 Aug 2011, Tomi Ollila wrote:
 On Mon 22 Aug 2011 17:28, Tomi Ollila tomi.oll...@nixu.com writes:
 
  On Mon 22 Aug 2011 16:49, Michal Sojka sojk...@fel.cvut.cz writes:
  id:871uwhz228@servo.factory.finestructure.net. Can anyone check
  whether this works with emacs earlier than 23.2 or whether we need
  to check for version or something in the code?
 
  It works with emacs 22.2.1 -- is no-op there...
 
 No-op meaning that killing the process is not asked even
 without this patch...

Yes, this was the behavior I remember from earlier versions. Thanks.

-Michal
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Jameson Graef Rollins
On Mon, 22 Aug 2011 15:49:21 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
 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.

Thanks for resubmitting this patch, Michal.  I definitely prefer this
behavior.

 --

fwiw, I think this separator needs to be three dashes long, ie. '---'.
Otherwise git am doesn't seem to recognize it as a separator and
includes the rest of the text below this in the log.

jamie.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] Do not query on notmuch-search exit

2011-08-22 Thread James Vasile
Thanks for this, Michal.  I've applied it to my local tree.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] Do not query on notmuch-search exit

2011-08-22 Thread Michal Sojka
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 |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 3d82f0d..8858f3e 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -858,7 +858,9 @@ 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

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch