unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: david@tethera.net
To: notmuch@notmuchmail.org
Subject: Initial support for selecting what is output
Date: Sat, 24 Apr 2010 08:44:35 -0300	[thread overview]
Message-ID: <1272109478-20686-1-git-send-email-david@tethera.net> (raw)

These are some preliminary patches to add a --output argument to
notmuch show.

	notmuch show --format=json --output=from,subject ${query}

or

	notmuch show --format=json --output=to,body ${query}

I'd like to implement a bit finer control (to get message-id's only is
not possible right now), and it needs documentation and a test, but I
thought I'd toss this out there to see what people think.

             reply	other threads:[~2010-04-24 11:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 11:44 david [this message]
2010-04-24 11:44 ` [PATCH 1/3] remove stale "unused" from around argv and argc in notmuch_show_command david
2010-04-24 11:44 ` [PATCH 2/3] notmuch-output.[ch]: initial implementation of output selection argument handling david
2010-04-24 11:44 ` [PATCH 3/3] notmuch-show.c: control which headers are show for json output david

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=1272109478-20686-1-git-send-email-david@tethera.net \
    --to=david@tethera.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).