On Mon, 17 Oct 2011 15:11:47 +0200, Thomas Schwinge
wrote:
> Ah, of course, right... Yet, won't yours -- id:\"[^ ]+\" -- match too
> much in this example:
>
> Bla, bla, see id:"some at thing"--"some famous quote" is bla.
>
> How about this one? id:\(\"?\)[^[:space:]"]+\1
You're right,
Hi!
On Mon, 17 Oct 2011 14:13:05 +0200, Daniel Schoepe wrote:
> On Mon, 17 Oct 2011 11:16:45 +0200, Thomas Schwinge
> wrote:
> > Is it permissible for message IDs to contain double quotes? If not (and
> > I hope so), might id:\"[^\"]+\" be a better regexp? (Untested.) As it
> > appears to
On Mon, 17 Oct 2011 11:16:45 +0200, Thomas Schwinge
wrote:
> Is it permissible for message IDs to contain double quotes? If not (and
> I hope so), might id:\"[^\"]+\" be a better regexp? (Untested.) As it
> appears to me, this would allow proper matching in text like this, too:
>
> Bla
Hi!
Good idea!
On Wed, 6 Jul 2011 16:18:01 +0200, Daniel Schoepe wrote:
> +(defun notmuch-show-buttonise-links (start end)
> + "Buttonise URLs and mail addresses between START and END.
> +
> +This also turns id:\"\"-parts into buttons for
> +a corresponding notmuch search."
> +
On Wed, 6 Jul 2011 16:18:01 +0200, Daniel Schoepe wrote:
> This fixes the minor annoyance that message ids were parsed as mail
> addresses by goto-address-mode in notmuch-show buffers.
Due to the frequent references to other threads on this mailing list, I
found my patch quite useful and
On Thu, 07 Jul 2011 10:15:47 +0200, Daniel Schoepe wrote:
> Hi Dmitry,
>
> On Thu, 07 Jul 2011 11:16:03 +0400, Dmitry Kurochkin gmail.com> wrote:
> > Why do we need to remove `goto-address-mode' overlays if it is not
> > enabled ((goto-address-mode t) is below is removed)?
> > [..]
> >
Hi Daniel.
On Wed, 6 Jul 2011 16:18:01 +0200, Daniel Schoepe wrote:
> This fixes the minor annoyance that message ids were parsed as mail
> addresses by goto-address-mode in notmuch-show buffers.
I did not try it yet but it looks like a nice feature. Though I have
some questions on the code
Hi Dmitry,
On Thu, 07 Jul 2011 11:16:03 +0400, Dmitry Kurochkin wrote:
> Why do we need to remove `goto-address-mode' overlays if it is not
> enabled ((goto-address-mode t) is below is removed)?
> [..]
> `goto-address-mode' creates buttons not only for email addresses but
> also for URLs. Do we
On Wed, 6 Jul 2011 16:18:01 +0200, Daniel Schoepe wrote:
> This fixes the minor annoyance that message ids were parsed as mail
> addresses by goto-address-mode in notmuch-show buffers.
> ---
> emacs/notmuch-show.el | 24 +---
> 1 files changed, 21 insertions(+), 3