From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 05E7F6DE1321 for ; Wed, 23 Aug 2017 03:56:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -4.326 X-Spam-Level: X-Spam-Status: No, score=-4.326 tagged_above=-999 required=5 tests=[AWL=0.706, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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 aaLmm-7uR8ly for ; Wed, 23 Aug 2017 03:56:03 -0700 (PDT) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by arlo.cworth.org (Postfix) with ESMTPS id 958626DE1309 for ; Wed, 23 Aug 2017 03:56:03 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170823105600euoutp02061a2aec9befe25b67ed8eecd971a4c4~ddFVogjuq2188521885euoutp020; Wed, 23 Aug 2017 10:56:00 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170823105600eucas1p27ab9c69a738a273da5021e1af18ed9ed~ddFU9w1bH2528725287eucas1p2h; Wed, 23 Aug 2017 10:56:00 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 93.D4.12867.F3F5D995; Wed, 23 Aug 2017 11:55:59 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170823105559eucas1p18f288bd2e8827bf858c1227cfbc26487~ddFUBCMRr0053000530eucas1p1D; Wed, 23 Aug 2017 10:55:59 +0000 (GMT) X-AuditID: cbfec7f2-f793b6d000003243-3f-599d5f3f108a Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 6A.66.18832.E3F5D995; Wed, 23 Aug 2017 11:55:58 +0100 (BST) Received: from localhost ([106.116.147.110]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OV400I2CX1AKL50@eusync4.samsung.com>; Wed, 23 Aug 2017 11:55:58 +0100 (BST) From: =?utf-8?Q?=C5=81ukasz_Stelmach?= To: Jani Nikula Cc: David Bremner , Notmuch Mail , 864493-maintonly@bugs.debian.org Subject: Re: Bug#864493: notmuch: bash completion eats typed option Date: Wed, 23 Aug 2017 12:55:52 +0200 In-reply-to: Message-id: <87inher1s7.fsf%l.stelmach@samsung.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-version: 1.0 Content-type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMKsWRmVeSWpSXmKPExsWy7djPc7r28XMjDe5vM7RoWLOE3eJGazej RdN0Z4vrN2cyO7B4XNg6icXj1v3X7B7PVt1i9thy6D1zAEsUl01Kak5mWWqRvl0CV8aKP7sZ C04LVqw+3MjcwHiXr4uRk0NCwESive0AK4QtJnHh3nq2LkYuDiGBpYwSrS27WSGcz4wSzftv ADkcYB2P9wVCxJcxSqz7NgOq6AujxJaOk4wgo9gE7CX6j+xjAbFFBBQlNp/cDxZnFiiUOLp1 NTOILSzgLPFq7i02EJtFQFXiy+svYHFOgWCJmQvb2UFsXgFjiYmvL4PNERWwlLjXd5cNIi4o 8WPyPRaImbkSn5r+s0O8sIld4lWDFsShshKbDjBDhF0k3n/6yQRhC0u8Or4FqlxGorPjIBPI /RIC/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ZcWVuYcYVYDGPNqw+gKjFEtefl6qkgjv 44i5kUK8KYmVValF+fFFpTmpxYcYTYH+nMgsJZqcD4z9vJJ4QxNDc0tDI2MLC3MjIyVxXvXL TZFCAumJJanZqakFqUUwfUwcnFINjFKfVWdycXEsz+nqrLwXo7ripc3pQ7M/nymT+HZ17/fq 6Vb7fd98ndle57okQFJjKav2B+4vy5U8/KfrX9gi9HDNRMXF3231Y75XXmHifrfwazd3Q9Hp W7qOuff3fszOWKOTe2BGbvUW4d8ewaXx5XN4zZYwhn/7flLv08RbK+98qdl/LoxNY7kSS3FG oqEWc1FxIgDMiBGgxQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170823105559eucas1p18f288bd2e8827bf858c1227cfbc26487 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?THVrYXN6IFN0ZWxtYWNoG1NSUE9MLVN5c3RlbSAoVFApGw==?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?THVrYXN6IFN0ZWxtYWNoG1NSUE9MLVN5c3RlbSAoVFApG1Nh?= =?UTF-8?B?bXN1bmcgRWxlY3Ryb25pY3MbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTY=?= CMS-TYPE: 201P X-CMS-RootMailID: 20170823105559eucas1p18f288bd2e8827bf858c1227cfbc26487 X-RootMTR: 20170823105559eucas1p18f288bd2e8827bf858c1227cfbc26487 References: X-Mailman-Approved-At: Wed, 23 Aug 2017 06:26:55 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Wed, 23 Aug 2017 10:56:05 -0000 --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Control: reassign -1 npm 1.4.21+ds-2 Dear Maintainer of the npm package. The reassignment of COMP_WORDBREAKS variable in /etc/bash_completion.d/npm causes serious problems described in this bug. It was <2017-08-23 =C5=9Bro 11:27>, when Jani Nikula wrote: > On Wed, Aug 23, 2017 at 11:59 AM, =C5=81ukasz Stelmach > wrote: >> I looked carefuly and I am sure I use only packaged bash-completion >> configuration. I looked also at other commands which use the >> --long-option=3DVALUE pattern (e.g. mkinitrd --with=3D, nslookup -class= =3D) >> and completions for them fail the same way, so it seems more like >> bash-completion issue rather than notmuch one. > > mkinitrd --with=3D and nslookup -class=3D completions work for me just > fine. Indeed does not look like a notmuch specific issue to me either. > >> Is there a general way to tell the completion engine not to replace >> anything before (and including) "=3D"? > > I thought _init_completion -s parameter would cover it. > > What do you have in $COMP_WORDBREAKS? $ printf "$COMP_WORDBREAKS" | hexdump -vC 00000000 20 09 0a 22 27 40 3e 3c 3d 3b 7c 26 28 3a | .."'@><= =3D;|&(:| $ COMP_WORDBREAKS=3D"=3D${COMP_WORDBREAKS}" Bingo! $ fgrep -r COMP_WORDBREAKS /etc And the answer is: /etc/bash_completion.d/npm:COMP_WORDBREAKS=3D${COMP_WORDBREAKS/=3D/} Thank you very much for your assistance. I am reassigning the bug to the npm package. =2D-=20 =C5=81ukasz Stelmach Samsung R&D Institute Poland Samsung Electronics --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJZnV85AAoJELCuHpyYpYAQP30H/3Vx4qCuaKrvfRjjrpQPgdcT 6Nk2B0ygmZHAs0eu6csF2jovaOoKPBcr8pZJjwMmoBp2O/A/0jHhCG0cTU10yUrl K16bxqBlOuSRotnrz7a9sZ44jnFiYsI3gyQpnt4mi+FftwXPtaDiCwGZvUvwVn7k PNwkKZiPKsQID2LidiFeUUwxnSB17Gybq1PEoTI5LzgC3npoKAK4wjSswmvt0JSn oaICe9pjrCtDktVZO6+6jwav/QpSTELqhYJr1AlHVzV9fpXU6whuZc5cYbO+vwTc p5IrvV0SJWhJ8LRAffERGDvetjzQzH/1EeDprdaDlWEQmGfuQ893k74LERykwi8= =Pxax -----END PGP SIGNATURE----- --=-=-=--