unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [Łukasz Stelmach] Bug#864493: notmuch: bash completion eats typed option
@ 2017-06-09 14:04 David Bremner
  2017-08-31 13:50 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2017-06-09 14:04 UTC (permalink / raw)
  To: notmuch


[-- Attachment #0: Type: message/rfc822, Size: 11433 bytes --]

[-- Attachment #1.1: Type: text/plain, Size: 1337 bytes --]

Package: notmuch
Version: 0.23.5-1~bpo8+1
Severity: minor

Dear Maintainer,

When I type in bash

    notmuch search --output=<TAB><TAB>

available options appear

    files     messages  summary   tags      threads   

After typing

    notmuch search --output=fi<TAB>

I end up with

    notmuch search files

instead of 

    notmuch search --output=files


-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (950, 'stable-updates'), (950, 'stable'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: armel, arm64

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages notmuch depends on:
ii  libc6           2.19-18+deb8u9
ii  libglib2.0-0    2.42.1-1+b1
ii  libgmime-2.6-0  2.6.20-1+b1
ii  libnotmuch4     0.23.5-1~bpo8+1
ii  libtalloc2      2.1.2-0+deb8u1
ii  zlib1g          1:1.2.8.dfsg-2+b1

Versions of packages notmuch recommends:
ii  gnupg-agent    2.1.7-2
pn  gpgsm          <none>
ii  notmuch-emacs  0.23.5-1~bpo8+1

notmuch suggests no packages.

-- no debconf information

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Łukasz Stelmach] Bug#864493: notmuch: bash completion eats typed option
  2017-06-09 14:04 [Łukasz Stelmach] Bug#864493: notmuch: bash completion eats typed option David Bremner
@ 2017-08-31 13:50 ` David Bremner
  2017-09-07 19:01   ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2017-08-31 13:50 UTC (permalink / raw)
  To: notmuch


This eventually turned out to be a bug in the "npm" debian package,
since fixed upstream there.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Łukasz Stelmach] Bug#864493: notmuch: bash completion eats typed option
  2017-08-31 13:50 ` David Bremner
@ 2017-09-07 19:01   ` Daniel Kahn Gillmor
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2017-09-07 19:01 UTC (permalink / raw)
  To: David Bremner, notmuch

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

On Thu 2017-08-31 10:50:57 -0300, David Bremner wrote:
> This eventually turned out to be a bug in the "npm" debian package,
> since fixed upstream there.

only if you actually purge npm itself :(

on a system where npm is in the "config-files" state, it's entirely
possible that the old/bad npm tab completion remains:


~$ dpkg -l npm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
rc  npm            1.4.21+ds-2  all          package manager for Node.js
~$ dpkg -L npm
/etc
/etc/bash_completion.d
/etc/bash_completion.d/npm
~$ 

For those (like me) who had this problem, this is fixed with:

    apt purge npm

thanks for tracking it down and mentioning the cause here!

    --dkg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-07 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-09 14:04 [Łukasz Stelmach] Bug#864493: notmuch: bash completion eats typed option David Bremner
2017-08-31 13:50 ` David Bremner
2017-09-07 19:01   ` Daniel Kahn Gillmor

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).