unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "W. Trevor King" <wking@tremily.us>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH v2] nmbug: Add an 'init' command
Date: Fri, 10 Oct 2014 22:11:53 -0700	[thread overview]
Message-ID: <20141011051153.GA10926@odin.tremily.us> (raw)
In-Reply-To: <8761frgqbs.fsf@maritornes.cs.unb.ca>

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote:
> W. Trevor King writes:
> > but I expect that closing stdin is more portable than the /dev/null
> > path.
> 
> /dev/null is part of POSIX

Maybe folks want to use nmbug on Windows or some other crazy non-POSIX
OS?  I don't know how Windows-compatible the rest of notmuch is (it
looks like Xapian can be built with MSYS+mingw or MSVC [1,2]), and I
don't think supporting non-POSIX OSes is worth a lot of effort, but
using stdin instead here is easy ;).

Cheers,
Trevor

[1]: http://xapian.org/download (this seems to be down now, so see
     here [2] instead)
[2]: https://web.archive.org/web/20140902022239/http://xapian.org/download

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-10-11  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-10 18:31 [PATCH v2] nmbug: Add an 'init' command W. Trevor King
2014-10-11  4:53 ` David Bremner
2014-10-11  5:11   ` W. Trevor King [this message]
2014-10-11  7:02     ` David Bremner
2014-10-11  7:10       ` W. Trevor King

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=20141011051153.GA10926@odin.tremily.us \
    --to=wking@tremily.us \
    --cc=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).