Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-11-12 Thread Jameson Graef Rollins
On Sat, 12 Nov 2011 09:52:51 -0500, David Bremner wrote: > What do you think about the approach in > > id:"1309422050-23241-1-git-send-email-pie...@praet.org" > > I sortof like the idea of having with and without prefix bindings. That seems like a totally reasonable solution to me. > Or m

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-11-12 Thread Jameson Graef Rollins
On Sat, 12 Nov 2011 09:52:51 -0500, David Bremner wrote: > What do you think about the approach in > > id:"1309422050-23241-1-git-send-email-pieter at praet.org" > > I sortof like the idea of having with and without prefix bindings. That seems like a totally reasonable solution to me. > O

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-11-12 Thread David Bremner
On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins wrote: > This modifies the notmuch-show "c i" binding to yank just the > message-id to the kill-ring, without the "id:" prefix. This makes > this yank binding consistent with the rest of the yank bindings in > that they don't include any s

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-11-12 Thread David Bremner
On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins wrote: > This modifies the notmuch-show "c i" binding to yank just the > message-id to the kill-ring, without the "id:" prefix. This makes > this yank binding consistent with the rest of the yank bindings in > that they don't include any

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-28 Thread Tomi Ollila
On Fri 28 Oct 2011 14:06, Daniel Schoepe writes: > On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins > wrote: >> In point of fact, do we need these quotes around message IDs at all? >> Can message IDs have characters that would need to be escaped for the >> shell? > > Message ID syntax i

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-28 Thread Daniel Schoepe
On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins wrote: > In point of fact, do we need these quotes around message IDs at all? > Can message IDs have characters that would need to be escaped for the > shell? Message ID syntax is defined in RFC 2822[1]: > message-id = "Message-

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-28 Thread Tomi Ollila
On Fri 28 Oct 2011 14:06, Daniel Schoepe writes: > On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins > wrote: >> In point of fact, do we need these quotes around message IDs at all? >> Can message IDs have characters that would need to be escaped for the >> shell? > > Message ID syntax i

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-28 Thread Daniel Schoepe
On Wed, 26 Oct 2011 19:52:59 -0700, Jameson Graef Rollins wrote: > In point of fact, do we need these quotes around message IDs at all? > Can message IDs have characters that would need to be escaped for the > shell? Message ID syntax is defined in RFC 2822[1]: > message-id = "Message

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-27 Thread Tomi Ollila
On Thu 27 Oct 2011 05:52, Jameson Graef Rollins writes: > On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge > wrote: >> On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins >> wrote: >> > (defun notmuch-show-get-message-id () >> >"Return the message id of the current message." >> >

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-27 Thread Tomi Ollila
On Thu 27 Oct 2011 05:52, Jameson Graef Rollins writes: > On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge > wrote: >> On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins >> wrote: >> > (defun notmuch-show-get-message-id () >> >"Return the message id of the current message." >> >

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-27 Thread Jameson Graef Rollins
On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge wrote: > On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins > wrote: > > (defun notmuch-show-get-message-id () > >"Return the message id of the current message." > > - (concat "id:\"" (notmuch-show-get-prop :id) "\"")) > > + (con

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-26 Thread Jameson Graef Rollins
On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge wrote: > On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins finestructure.net> wrote: > > (defun notmuch-show-get-message-id () > >"Return the message id of the current message." > > - (concat "id:\"" (notmuch-show-get-prop :id) "\

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-18 Thread Jameson Graef Rollins
On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge wrote: > On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins > wrote: > > (defun notmuch-show-get-message-id () > >"Return the message id of the current message." > > - (concat "id:\"" (notmuch-show-get-prop :id) "\"")) > > + (con

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-18 Thread Jameson Graef Rollins
On Tue, 11 Oct 2011 01:46:43 +0200, Thomas Schwinge wrote: > On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins finestructure.net> wrote: > > (defun notmuch-show-get-message-id () > >"Return the message id of the current message." > > - (concat "id:\"" (notmuch-show-get-prop :id) "\

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-11 Thread Thomas Schwinge
Hi! On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins wrote: > (defun notmuch-show-get-message-id () >"Return the message id of the current message." > - (concat "id:\"" (notmuch-show-get-prop :id) "\"")) > + (concat "\"" (notmuch-show-get-prop :id) "\"")) Shouldn't the double quo

Re: [PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-10 Thread Thomas Schwinge
Hi! On Sun, 9 Oct 2011 15:35:48 -0700, Jameson Graef Rollins wrote: > (defun notmuch-show-get-message-id () >"Return the message id of the current message." > - (concat "id:\"" (notmuch-show-get-prop :id) "\"")) > + (concat "\"" (notmuch-show-get-prop :id) "\"")) Shouldn't the double qu

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-10 Thread Jameson Graef Rollins
This modifies the notmuch-show "c i" binding to yank just the message-id to the kill-ring, without the "id:" prefix. This makes this yank binding consistent with the rest of the yank bindings in that they don't include any search term prefixes. This is a more natural interface and will cause less

[PATCH] emacs: Modify notmuch-show-get-message-id to return message-id unprefixed with "id:".

2011-10-09 Thread Jameson Graef Rollins
This modifies the notmuch-show "c i" binding to yank just the message-id to the kill-ring, without the "id:" prefix. This makes this yank binding consistent with the rest of the yank bindings in that they don't include any search term prefixes. This is a more natural interface and will cause less