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