From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christophe via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50470: 27.1; 'company-mode' 'eshell' Date: Fri, 10 Sep 2021 07:11:52 +0200 Message-ID: <87h7etvwtj.fsf@debian-BULLSEYE-live-builder-AMD64> References: <87h7evegav.fsf@debian-BULLSEYE-live-builder-AMD64> <154bd0e9-2779-5a28-5587-a845a982e39f@yandex.ru> <87wnnq47v7.fsf@debian-BULLSEYE-live-builder-AMD64> <0479d79f-651a-d1d6-428a-9ca9d71a64ba@yandex.ru> <87tuitzyix.fsf@debian-BULLSEYE-live-builder-AMD64> Reply-To: Christophe Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50470@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 10 07:13:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOYqf-0002e5-5i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 07:13:13 +0200 Original-Received: from localhost ([::1]:43434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOYqd-0003jR-Pn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 01:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOYqU-0003j4-Qx for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOYqU-0006wd-Im for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOYqU-0007nH-4g for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christophe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 05:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50470 X-GNU-PR-Package: emacs Original-Received: via spool by 50470-submit@debbugs.gnu.org id=B50470.163125072529890 (code B ref 50470); Fri, 10 Sep 2021 05:13:02 +0000 Original-Received: (at 50470) by debbugs.gnu.org; 10 Sep 2021 05:12:05 +0000 Original-Received: from localhost ([127.0.0.1]:36659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOYpZ-0007m0-Fc for submit@debbugs.gnu.org; Fri, 10 Sep 2021 01:12:05 -0400 Original-Received: from smtp-outgoing-1803.laposte.net ([160.92.124.104]:40349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOYpX-0007lU-9f for 50470@debbugs.gnu.org; Fri, 10 Sep 2021 01:12:04 -0400 X-mail-filterd: {"version":"1.3.1", "queueID":"4H5PB10msfz1qqhq", "contextId":"189f37a4-f562-48a7-82e1-8e30f19d2540"} Original-Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0119.laposte.net (SMTP Server) with ESMTP id 4H5PB10msfz1qqhq; Fri, 10 Sep 2021 07:11:53 +0200 (CEST) X-mail-filterd: {"version":"1.3.1", "queueID":"4H5PB064MMz1qqhn", "contextId":"e13ab5fe-f803-4212-b99f-8d02af2c0909"} X-lpn-mailing: LEGIT X-lpn-spamrating: 46 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgedvtddrudegtddgkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffkhffvjgfufhestddtredttddttdenucfhrhhomhepvehhrhhishhtohhphhgvuceotghhrdgsohhllhgrrhgusehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpeeutdejleefleeujeeiffefteehtddvudekleeuteehfffggeegueelfeetvdfhveenucfkphepkeekrdduvdehrdduieekrdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepkeekrdduvdehrdduieekrdeipdhhvghlohepkhgrmhgvhhhouhhsvgdpmhgrihhlfhhrohhmpegthhdrsgholhhlrghrugeslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopeehtdegjedtseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepughguhhtohhvseihrghnuggvgidrrhhu Original-Received: from kamehouse (unknown [88.125.168.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0119.laposte.net (SMTP Server) with ESMTPSA id 4H5PB064MMz1qqhn; Fri, 10 Sep 2021 07:11:52 +0200 (CEST) In-Reply-To: (message from Dmitry Gutov on Fri, 10 Sep 2021 02:30:19 +0300) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1631250716; bh=19H3scx4/TKSZ79EldMZujTWL0ywHV7gf4QqysrEjLw=; h=Date:Message-Id:From:To:Cc:In-Reply-To:Subject:References; b=ifM5NZ9NOcy++4/aXxH1/VPEEuxEm8ZQ8oAJi9ICDxrAtvUqsIhF2Cr8KnVAq0bbYWuis8S6VKBAFsMySInmkg8WTXd1ve0xoQTqjzvgLGjd/sUHzrCvpzTx9N3PI3Ur8liuaErIZnGhcumpDGlkfeMN86pV36Q2YtC4YWVwgLssp93K0KOv3z6T0qK/WwRWuRa11Tiaen3f/+FlZPT48fZn3NBoDgyB31pMdUY5pJkYupnn2IqAiXL0swmd+ahc21mbTvHvyTZnRgdYIcPXfYXOfuDKDq7PjZkRSGBUAFmCp+4/dBVsEPPfIgemJqYk2/vZQKM9/jEAQPCQd22lDw==; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213960 Archived-At: 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 "") (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