unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Matthieu Lemerre <racin@free.fr>
To: micah anderson <micah@riseup.net>, notmuch <notmuch@notmuchmail.org>
Subject: Re: Org-mode support
Date: Thu, 17 Mar 2011 00:28:30 +0100	[thread overview]
Message-ID: <87aagubq75.fsf@free.fr> (raw)
In-Reply-To: <87lj0fhg3g.fsf@algae.riseup.net>


Hi Micah,

> Thanks so much for sending this, its very interesting! I've just started
> trying it and have managed to use M-x org-store-link on your email to
> add an org-mode todo item to try out org-mode support for notmuch :)

Great, that's how it is supposed to be used! :)

> I have one question, how do you add multiple query arguments? For
> example, in my org file I tried 'notmuch-search:tag:notmuch' - this
> worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org'
> the link only works up until the first space.

This is because org-mode links must be url encoded (this is a org-mode
limitation, could do nothing about it). So in links that contain spaces,
such as yours, spaces must be replaced by %20, like this:

[[notmuch-search:toto%20and%20tata][Notmuch search: toto and tata]]

> I also noticed that David Bremner has done something similar[0] and I
> wonder if you have looked at his code[1], or if David has looked at
> yours. Perhaps the start of a collaboration?

If I remember correctly, I specifically forbid myself to look into this
code because David had copyright issues with its employer. But I believe
that both codes are doing essentially the same thing.

Matthieu

  reply	other threads:[~2011-03-16 23:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 21:22 Org-mode support Matthieu Lemerre
2011-02-13 19:25 ` Darren McGuicken
2011-02-13 22:24   ` Matthieu Lemerre
2011-02-15  7:40     ` Albin Stjerna
2011-02-15 21:46       ` Darren McGuicken
2011-03-16  3:57 ` micah anderson
2011-03-16 23:28   ` Matthieu Lemerre [this message]
2011-03-20 15:40     ` micah anderson
2011-04-14 12:55     ` Florian Friesdorf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aagubq75.fsf@free.fr \
    --to=racin@free.fr \
    --cc=micah@riseup.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).