[Paul Wise] Bug#825886: notmuch: allow separation of command-line options and their...
authorDavid Bremner <david@tethera.net>
Tue, 31 May 2016 09:24:52 +0000 (06:24 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:55 +0000 (16:21 -0700)
f4/6339fbd3b789f1894966b479509283786f00cb [new file with mode: 0644]

diff --git a/f4/6339fbd3b789f1894966b479509283786f00cb b/f4/6339fbd3b789f1894966b479509283786f00cb
new file mode 100644 (file)
index 0000000..75198bd
--- /dev/null
@@ -0,0 +1,257 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id D37B16DE01D0\r
+ for <notmuch@notmuchmail.org>; Tue, 31 May 2016 02:25:03 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.012\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5\r
+ tests=[AWL=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id DcIaoyQKgAY3 for <notmuch@notmuchmail.org>;\r
+ Tue, 31 May 2016 02:24:56 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 06CCA6DE00DA\r
+ for <notmuch@notmuchmail.org>; Tue, 31 May 2016 02:24:55 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1b7ful-0007ix-9S; Tue, 31 May 2016 05:24:43 -0400\r
+Received: (nullmailer pid 4355 invoked by uid 1000);\r
+ Tue, 31 May 2016 09:24:52 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [Paul Wise] Bug#825886: notmuch: allow separation of command-line\r
+ options and their values: --option foo\r
+User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 31 May 2016 06:24:52 -0300\r
+Message-ID: <87k2iah95n.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: message/rfc822\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 31 May 2016 09:25:03 -0000\r
+\r
+Return-path: <bounces+20160531-bremner=debian.org@tracker.debian.org>\r
+Envelope-to: david@tethera.net\r
+Delivery-date: Tue, 31 May 2016 03:48:03 -0400\r
+Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72])\r
+       by fethera.tethera.net with esmtp (Exim 4.84)\r
+       (envelope-from <bounces+20160531-bremner=debian.org@tracker.debian.org>)\r
+       id 1b7ePD-0006bw-Ih\r
+       for david@tethera.net; Tue, 31 May 2016 03:48:03 -0400\r
+Received: from ticharich.debian.org ([2001:41c8:1000:21::21:23])       from\r
+ C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP\r
+ CA,CN=ticharich.debian.org,EMAIL=hostmaster@ticharich.debian.org (verified)\r
+       by mailly.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\r
+       (Exim 4.84_2)   (envelope-from\r
+ <bounces+20160531-bremner=debian.org@tracker.debian.org>)     id 1b7ePM-0006x5-Oq\r
+       for david@tethera.net; Tue, 31 May 2016 07:48:12 +0000\r
+Received: from localhost ([::1] helo=ticharich.debian.org)\r
+       by ticharich.debian.org with esmtp (Exim 4.84_2)\r
+       (envelope-from <bounces+20160531-bremner=debian.org@tracker.debian.org>)\r
+       id 1b7ePM-0004M3-Eo\r
+       for david@tethera.net; Tue, 31 May 2016 07:48:12 +0000\r
+Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72])      from\r
+ C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP\r
+ CA,CN=mailly.debian.org,EMAIL=hostmaster@mailly.debian.org (verified) by\r
+ ticharich.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\r
+       (Exim 4.84_2)   (envelope-from <debbugs@buxtehude.debian.org>)  id\r
+ 1b7ePM-0004Lw-9b      for dispatch+notmuch@tracker.debian.org; Tue, 31 May 2016\r
+ 07:48:12 +0000\r
+Received: from quantz.debian.org ([2001:41c8:1000:21::21:28])  from\r
+ C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP\r
+ CA,CN=quantz.debian.org,EMAIL=hostmaster@quantz.debian.org (verified) by\r
+ mailly.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)       (Exim\r
+ 4.84_2)       (envelope-from <debbugs@buxtehude.debian.org>)  id 1b7ePL-0006x0-Uv\r
+       for dispatch+notmuch@tracker.debian.org; Tue, 31 May 2016 07:48:12 +0000\r
+Received: from qa by quantz.debian.org with local (Exim 4.84_2)\r
+       (envelope-from <debbugs@buxtehude.debian.org>)\r
+       id 1b7ePL-0001qZ-Ki\r
+       for dispatch+notmuch@tracker.debian.org; Tue, 31 May 2016 07:48:11 +0000\r
+Received: from buxtehude.debian.org ([2607:f8f0:610:4000:2015:12:0:147])       from\r
+ C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP\r
+ CA,CN=buxtehude.debian.org,EMAIL=hostmaster@buxtehude.debian.org (verified)\r
+       by quantz.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\r
+       (Exim 4.84_2)   (envelope-from <debbugs@buxtehude.debian.org>)  id\r
+ 1b7ePL-0001qA-DC      for notmuch@packages.qa.debian.org; Tue, 31 May 2016\r
+ 07:48:11 +0000\r
+Received: from debbugs by buxtehude.debian.org with local (Exim 4.84_2)\r
+       (envelope-from <debbugs@buxtehude.debian.org>)\r
+       id 1b7ePJ-0006fM-VD; Tue, 31 May 2016 07:48:09 +0000\r
+X-Loop: owner@bugs.debian.org\r
+Subject: Bug#825886: notmuch: allow separation of command-line options and\r
+ their values: --option foo\r
+Reply-To: Paul Wise <pabs@debian.org>, 825886@bugs.debian.org\r
+Resent-From: Paul Wise <pabs@debian.org>\r
+Resent-To: debian-bugs-dist@lists.debian.org\r
+Resent-CC: Carl Worth <cworth@debian.org>\r
+X-Loop: owner@bugs.debian.org\r
+Resent-Date: Tue, 31 May 2016 07:48:06 +0000\r
+Resent-Message-ID: <handler.825886.B.146468051123447@bugs.debian.org>\r
+X-Debian-PR-Message: report 825886\r
+X-Debian-PR-Package: notmuch\r
+X-Debian-PR-Keywords: \r
+X-Debian-PR-Source: notmuch\r
+Received: via spool by submit@bugs.debian.org id=B.146468051123447\r
+          (code B); Tue, 31 May 2016 07:48:06 +0000\r
+Received: (at submit) by bugs.debian.org; 31 May 2016 07:41:51 +0000\r
+X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02\r
+       (2014-02-07) on buxtehude.debian.org\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-18.2 required=4.0 tests=BAYES_00,FOURLA,\r
+       FROMDEVELOPER,HAS_PACKAGE,PGPSIGNATURE,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD\r
+       autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02\r
+X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 150; neutral, 149; spammy,\r
+       0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--H*c:pgp-sha512,\r
+       0.000-+--H*o:Debian, 0.000-+--UD:8.dfsg-2, 0.000-+--H*F:U*pabs\r
+Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001])      from\r
+ C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP\r
+ CA,CN=master.debian.org,EMAIL=hostmaster@master.debian.org (verified) by\r
+ buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\r
+       (Exim 4.84_2)   (envelope-from <pabs@debian.org>)       id 1b7eJC-00065x-Vf     for\r
+ submit@bugs.debian.org; Tue, 31 May 2016 07:41:51 +0000\r
+Received: from localhost ([::1] helo=chianamo)\r
+       by master.debian.org with esmtp (Exim 4.84_2)\r
+       (envelope-from <pabs@debian.org>)\r
+       id 1b7eJA-00079E-SD\r
+       for submit@bugs.debian.org; Tue, 31 May 2016 07:41:49 +0000\r
+Message-ID: <1464680502.8236.24.camel@debian.org>\r
+From: Paul Wise <pabs@debian.org>\r
+To: Debian Bug Tracking System <submit@bugs.debian.org>\r
+Date: Tue, 31 May 2016 15:41:42 +0800\r
+Organization: Debian\r
+Content-Type: multipart/signed; micalg="pgp-sha512";\r
+       protocol="application/pgp-signature"; boundary="=-klDiajzocHYv6lgU3FKw"\r
+X-Mailer: Evolution 3.20.2-2 \r
+Mime-Version: 1.0\r
+Delivered-To: submit@bugs.debian.org\r
+Delivered-To: notmuch@packages.qa.debian.org\r
+Delivered-To: dispatch+notmuch@tracker.debian.org\r
+X-Loop: dispatch@tracker.debian.org\r
+X-Distro-Tracker-Package: notmuch\r
+X-Distro-Tracker-Keyword: bts\r
+List-Id: <notmuch.tracker.debian.org>\r
+X-Debian-Package: notmuch\r
+X-Debian: tracker.debian.org\r
+X-PTS-Package: notmuch\r
+X-PTS-Keyword: bts\r
+Precedence: list\r
+List-Unsubscribe:\r
+ <mailto:control@tracker.debian.org?body=unsubscribe%20notmuch>\r
+\r
+\r
+--=-klDiajzocHYv6lgU3FKw\r
+Content-Type: text/plain; charset="UTF-8"\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Package: notmuch\r
+Version: 0.22-1\r
+Severity: wishlist\r
+\r
+It would be nice if notmuch would allow separation between=C2=A0command-lin=\r
+e=20\r
+options and their values so that I could run dump and not get an error.\r
+\r
+pabs@chianamo ~ $=C2=A0notmuch dump --gzip --output ~/.../notmuch-tags.gz\r
+Option "output" needs a string argument.\r
+Unrecognized option: --output\r
+pabs@chianamo ~ $ notmuch dump --gzip --output=3D~/.../notmuch-tags.gz\r
+Bad output file ~/.../notmuch-tags.gz\r
+\r
+I don't want to have to manually type my home dir whenever I dump tags,\r
+which I currently have to do since notmuch requires =3D as a separator.\r
+\r
+pabs@chianamo ~ $ notmuch dump --gzip --output=3D/home/pabs/.../notmuch-tag=\r
+s.gz\r
+\r
+Separation of long options and their values is a standard feature of\r
+programs on Debian so it is surprising this doesn't work by default.\r
+\r
+pabs@chianamo ~ $ ls -s --block-size M ~/.../notmuch-tags.gz\r
+XXXM /home/pabs/.../notmuch-tags.gz\r
+pabs@chianamo ~ $ ls -s --block-size=3DM ~/.../notmuch-tags.gz\r
+XXXM /home/pabs/.../notmuch-tags.gz\r
+\r
+-- System Information:\r
+Debian Release: stretch/sid\r
+=C2=A0 APT prefers testing-debug\r
+=C2=A0 APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing=\r
+-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'bui=\r
+ldd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, '=\r
+buildd-experimental')\r
+Architecture: amd64 (x86_64)\r
+\r
+Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)\r
+Locale: LANG=3Den_AU.utf8, LC_CTYPE=3Den_AU.utf8 (charmap=3DUTF-8)\r
+Shell: /bin/sh linked to /bin/dash\r
+Init: systemd (via /run/systemd/system)\r
+\r
+Versions of packages notmuch depends on:\r
+ii=C2=A0=C2=A0libc6=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=\r
+=C2=A0=C2=A02.22-9\r
+ii=C2=A0=C2=A0libglib2.0-0=C2=A0=C2=A0=C2=A0=C2=A02.48.1-1\r
+ii=C2=A0=C2=A0libgmime-2.6-0=C2=A0=C2=A02.6.20-1+b1\r
+ii=C2=A0=C2=A0libnotmuch4=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00.22-1\r
+ii=C2=A0=C2=A0libtalloc2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02.1.6-1\r
+ii=C2=A0=C2=A0zlib1g=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=\r
+=C2=A01:1.2.8.dfsg-2+b1\r
+\r
+Versions of packages notmuch recommends:\r
+ii=C2=A0=C2=A0alot=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=\r
+=A0=C2=A00.3.6-1\r
+ii=C2=A0=C2=A0gnupg-agent=C2=A0=C2=A0=C2=A0=C2=A02.1.11-7\r
+pn=C2=A0=C2=A0gpgsm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=\r
+=C2=A0<none>\r
+ii=C2=A0=C2=A0notmuch-emacs=C2=A0=C2=A00.22-1\r
+ii=C2=A0=C2=A0notmuch-mutt=C2=A0=C2=A0=C2=A00.22-1\r
+\r
+notmuch suggests no packages.\r
+\r
+--=20\r
+bye,\r
+pabs\r
+\r
+https://wiki.debian.org/PaulWise\r
+\r
+--=-klDiajzocHYv6lgU3FKw\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: This is a digitally signed message part\r
+Content-Transfer-Encoding: 7bit\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+\r
+iQIcBAABCgAGBQJXTUA2AAoJEDEWul6f+mmjDGMQAKhyTA+IPlQjrV0KCs4dqx4T\r
+0K/KjG6uiqFtgyMwTlhkPq2ExtRnXT+/QQvsXbISxqRDxGhHzS7wgD+AUnJzsFfd\r
+FqJjzH+rJRsnB6JjHmXxcGV0IQyugOw3k0C7Xkq76v852r62IrpR9tp52gvpebzr\r
+8Wmld/qpcFZi/VyNM6+vOuKVetl7Iv1ZAn/EVvKWhevWZvZ4P/V+uh72X7O3E/jQ\r
+egRemjen6heXcVNZBoqH2eCJVrV4ceKiQIqY/W63/lStT2a6rEpGuSpEKm9zontW\r
+Q+UzRf6gZrED/U8Rn+/s0t8uVyb+12emM2bOFo3otZO2JVP7sYIfovRDEarmMaBe\r
+rdmjJau9MAx8GopkArq6eDzRgEwVr0mUBM8eGHRg8HcemR5U6J6/vU4fjIVOdTnN\r
+AvTxFdJHRwXSBy1eYhjmVr1hz9wmFuTvG40yfKDYquRuPgKaWgqhUyedFit75/nW\r
+7NV960KgBXgZ9YgwdrPsnD9Jab2CA0mK62M2y+lwvmugq2+HNpIJyslg1ex9DL8H\r
+wPUqSeINSvjMJ+rNgrupwReeg54hwLdP4kh8GHb0ngFTxehaLXrgXcqEm/qQehyP\r
+AXdoSLMYvBScFBc8vBGlDIZORI+y0qwaJTuLXfdB9Qn+5ChxaQI2a7v7yLvOLEvL\r
+ftK2RyGxFmOgYr+2ue3q\r
+=lMLg\r
+-----END PGP SIGNATURE-----\r
+\r
+--=-klDiajzocHYv6lgU3FKw--\r
+\r