[PATCH 2/3] cli: all search mode to include msg-ids with JSON output

2012-11-23 Thread Austin Clements
Quoth Jameson Graef Rollins on Nov 22 at  8:15 am:
> On Fri, Nov 09 2012, Mark Walters  wrote:
> > This adds a --output=with-ids option which gives similar output to the
> > normal search summary output but with a list of message ids
> > too. Currently this is not implemented for text format.
> 
> Hey, Mark.  Very nit-picky comment here, but I'm not sure "with-ids" is
> an appropriate name for an output type.  "with-ids" sounds like a
> modifier, as opposed to a output type unto itself.

In fact, it sounds so much like a modifier that I wonder if it should
be implemented as a modifier.  This isn't the first time that we've
wanted to include something in the JSON output but make it optional
for performance reasons.  For example, show has a boolean --body
argument for this reason.  What if this wasn't a new type of output,
but simply a new --ids=true (or --queries=true) argument?


[PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable

2012-11-23 Thread Tomi Ollila
On Fri, Nov 23 2012, Bernard Hurley wrote:

> On Thu, Nov 22, 2012 at 07:40:36PM +0100, Damien Cassou wrote:
>> Hi,
>> 
>> 
>> you are perfectly right. In the upcoming patch I made the buttons so that
>> TAB won't stop at them ('skip t) but you can still activate them with RET
>> or a mouse click. Is that ok?
>> 
>
> Can I add one little caveat - although from what you say it probably
> doesn't apply in this case. I have set up my computer so that as much as
> possible can be done from the keyboard. I have arthritis in my rignt 
> hand and although I can still type as well as before I find it very 
> difficult to use a mouse. I have recently discovered I am far from alone
> in this. So it is important for me and others that when mouse options 
> are added to software, convienient keyboard options still exist.

I run my 2 notmuch emacs instances on urxvt terminals over ssh connection
-- I don't have any mouse access there (except window focus and some 
cut&paste operations).

I'd be disappointed if my email experience got worse -- and I don't
think that is going to happen :D

> Bernard Hurley

Tomi

>
>> -- 
>> Damien Cassou
>> http://damiencassou.seasidehosting.st


Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON output

2012-11-23 Thread Austin Clements
Quoth Jameson Graef Rollins on Nov 22 at  8:15 am:
> On Fri, Nov 09 2012, Mark Walters  wrote:
> > This adds a --output=with-ids option which gives similar output to the
> > normal search summary output but with a list of message ids
> > too. Currently this is not implemented for text format.
> 
> Hey, Mark.  Very nit-picky comment here, but I'm not sure "with-ids" is
> an appropriate name for an output type.  "with-ids" sounds like a
> modifier, as opposed to a output type unto itself.

In fact, it sounds so much like a modifier that I wonder if it should
be implemented as a modifier.  This isn't the first time that we've
wanted to include something in the JSON output but make it optional
for performance reasons.  For example, show has a boolean --body
argument for this reason.  What if this wasn't a new type of output,
but simply a new --ids=true (or --queries=true) argument?
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 2/3] cli: all search mode to include msg-ids with JSON output

2012-11-23 Thread Tomi Ollila
On Fri, Nov 23 2012, Jameson Graef Rollins  
wrote:

> On Thu, Nov 22 2012, Mark Walters  wrote:
>> On Thu, 22 Nov 2012, Jameson Graef Rollins  
>> wrote:
>>> On Fri, Nov 09 2012, Mark Walters  wrote:
 This adds a --output=with-ids option which gives similar output to the
 normal search summary output but with a list of message ids
 too. Currently this is not implemented for text format.
>>>
>>> Hey, Mark.  Very nit-picky comment here, but I'm not sure "with-ids" is
>>> an appropriate name for an output type.  "with-ids" sounds like a
>>> modifier, as opposed to a output type unto itself.
>>
>> Yes that is true: I am very happy for any suggestions. Perhaps
>> summary-with-ids?
>
> "summary-with-ids" seems fine with me.  This is something that will
> probably only be called by other programs, so having the name be longer
> seems fine with me.

Or ?summary-with-queries? -- to take Austin's suggestion into account ?

> jamie.

Tomi



[PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable

2012-11-23 Thread Bernard Hurley
On Thu, Nov 22, 2012 at 07:40:36PM +0100, Damien Cassou wrote:
> Hi,
> 
> 
> you are perfectly right. In the upcoming patch I made the buttons so that
> TAB won't stop at them ('skip t) but you can still activate them with RET
> or a mouse click. Is that ok?
> 

Can I add one little caveat - although from what you say it probably
doesn't apply in this case. I have set up my computer so that as much as
possible can be done from the keyboard. I have arthritis in my rignt 
hand and although I can still type as well as before I find it very 
difficult to use a mouse. I have recently discovered I am far from alone
in this. So it is important for me and others that when mouse options 
are added to software, convienient keyboard options still exist.

Bernard Hurley

> -- 
> Damien Cassou
> http://damiencassou.seasidehosting.st
> 
> "Success is the ability to go from one failure to another without losing
> enthusiasm."
> Winston Churchill

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



Re: [PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable

2012-11-23 Thread Tomi Ollila
On Fri, Nov 23 2012, Bernard Hurley wrote:

> On Thu, Nov 22, 2012 at 07:40:36PM +0100, Damien Cassou wrote:
>> Hi,
>> 
>> 
>> you are perfectly right. In the upcoming patch I made the buttons so that
>> TAB won't stop at them ('skip t) but you can still activate them with RET
>> or a mouse click. Is that ok?
>> 
>
> Can I add one little caveat - although from what you say it probably
> doesn't apply in this case. I have set up my computer so that as much as
> possible can be done from the keyboard. I have arthritis in my rignt 
> hand and although I can still type as well as before I find it very 
> difficult to use a mouse. I have recently discovered I am far from alone
> in this. So it is important for me and others that when mouse options 
> are added to software, convienient keyboard options still exist.

I run my 2 notmuch emacs instances on urxvt terminals over ssh connection
-- I don't have any mouse access there (except window focus and some 
cut&paste operations).

I'd be disappointed if my email experience got worse -- and I don't
think that is going to happen :D

> Bernard Hurley

Tomi

>
>> -- 
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH 2/3] cli: all search mode to include msg-ids with JSON output

2012-11-23 Thread Tomi Ollila
On Fri, Nov 23 2012, Jameson Graef Rollins  wrote:

> On Thu, Nov 22 2012, Mark Walters  wrote:
>> On Thu, 22 Nov 2012, Jameson Graef Rollins  
>> wrote:
>>> On Fri, Nov 09 2012, Mark Walters  wrote:
 This adds a --output=with-ids option which gives similar output to the
 normal search summary output but with a list of message ids
 too. Currently this is not implemented for text format.
>>>
>>> Hey, Mark.  Very nit-picky comment here, but I'm not sure "with-ids" is
>>> an appropriate name for an output type.  "with-ids" sounds like a
>>> modifier, as opposed to a output type unto itself.
>>
>> Yes that is true: I am very happy for any suggestions. Perhaps
>> summary-with-ids?
>
> "summary-with-ids" seems fine with me.  This is something that will
> probably only be called by other programs, so having the name be longer
> seems fine with me.

Or “summary-with-queries” -- to take Austin's suggestion into account ?

> jamie.

Tomi

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


Re: [PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable

2012-11-23 Thread Bernard Hurley
On Thu, Nov 22, 2012 at 07:40:36PM +0100, Damien Cassou wrote:
> Hi,
> 
> 
> you are perfectly right. In the upcoming patch I made the buttons so that
> TAB won't stop at them ('skip t) but you can still activate them with RET
> or a mouse click. Is that ok?
> 

Can I add one little caveat - although from what you say it probably
doesn't apply in this case. I have set up my computer so that as much as
possible can be done from the keyboard. I have arthritis in my rignt 
hand and although I can still type as well as before I find it very 
difficult to use a mouse. I have recently discovered I am far from alone
in this. So it is important for me and others that when mouse options 
are added to software, convienient keyboard options still exist.

Bernard Hurley

> -- 
> Damien Cassou
> http://damiencassou.seasidehosting.st
> 
> "Success is the ability to go from one failure to another without losing
> enthusiasm."
> Winston Churchill

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

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