emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build: pcomplete


From: Stefan Monnier
Subject: Re: Towards a cleaner build: pcomplete
Date: Mon, 17 Jun 2019 09:23:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>> In pcomplete/tar:
>>> pcmpl-gnu.el:162:47:Warning: `pcomplete-suffix-list' is an obsolete variable
>>>     (as of 24.1).
[...]
> Actually, looking at the code further, I don't quite understand this one
> at all...  These functions are the ones that are called when you hit TAB
> in M-x shell buffers (and the like)?  So "tar --v<TAB>" will complete
> over the completions like "--verbose"?

Right.

> And, as we can see, that function is not called from pcomplete/tar, so
> the binding of pcomplete-insert-entry in pcomplete/tar doesn't seem like
> it could possibly affect anything?

I think you're right: this binding is likely the result of
a misunderstanding (contrary to the setting of pcomplete-suffix-list in
lisp/eshell/em-cmpl.el).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]