Subject: Re: bug#18951: eshell-pcomplete removes asterisk when attempting completion

From: Daniel Kraus <[email-masked]>
Date: Thu, 02 Nov 2017 15:00:00 +0800

Noam Postavsky <[email-masked]> writes:

> A good start would be to step through eshell-pcomplete with edebug and
> find the piece of code which deletes the asterisk.

It's in `pcomplete-parse-arguments` (in pcomplete.el)
Line 776 on master:
```
      (when (and begin (not pcomplete-show-list))
	(delete-region begin (point))
	(pcomplete-insert-entry "" pcomplete-stub))
```

Hope that helps.