GNU bug report logs -
#50470
27.1; 'company-mode' 'eshell'
Previous Next
Reported by: Christophe <ch.bollard <at> laposte.net>
Date: Wed, 8 Sep 2021 06:25:02 UTC
Severity: normal
Found in version 27.1
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 50470 <at> debbugs.gnu.org (full text, mbox):
I used something like this in the 26.1 (I've found in a site stackoverflow or stackexchange):
(defun my-eshell-remove-pcomplete ()
"Remove anoying tab insert when no completion found by company."
(remove-hook 'completion-at-point-functions #'pcomplete-completions-at-point t))
(add-hook 'eshell-mode-hook #'my-eshell-remove-pcomplete)
And like yours, actually if I use this I have no more autocompletion in eshell.
(Except fore the path if that start by ./)
So I have to add this now:
(add-hook 'eshell-mode-hook
(lambda ()
(define-key eshell-mode-map (kbd "<tab>")
(lambda () (interactive) (pcomplete-std-complete)))))
But that's less efficient.
(except for the wildcards and the blank spaces that's appears after single and
double quotes)
Thanks for the time spent on this, at least I have no more blank
spaces/wildcards issues and I can use the tab for the autocompletion.
--
Christophe BOLLARD
This bug report was last modified 2 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.