From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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: Tue, 07 Jun 2022 11:52:36 -0400 Message-ID: References: <87h7evegav.fsf@debian-BULLSEYE-live-builder-AMD64> <154bd0e9-2779-5a28-5587-a845a982e39f@yandex.ru> <815516d6-262b-4ef1-786e-ec5b4199847c@yandex.ru> <01845bee-7637-76f6-2e86-2e2de91f6f6e@yandex.ru> <0e8cc089-63ae-71b5-9617-ce76478d3ba4@yandex.ru> <602e2d92-7914-0e2b-b06e-0d47d0ac8c99@yandex.ru> <20ee85be-aafc-8942-14ea-b0c2a1abc2c9@yandex.ru> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Christophe , 50470@debbugs.gnu.org, John Wiegley To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 17:53:25 2022 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 1nybWF-0005HF-Ca for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 17:53:23 +0200 Original-Received: from localhost ([::1]:58930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nybWE-0005im-8C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 11:53:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nybVu-0005ia-0c for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 11:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nybVt-00027y-Oh for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 11:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nybVt-0005X6-NY for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2022 11:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2022 15:53:01 +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.165461718021261 (code B ref 50470); Tue, 07 Jun 2022 15:53:01 +0000 Original-Received: (at 50470) by debbugs.gnu.org; 7 Jun 2022 15:53:00 +0000 Original-Received: from localhost ([127.0.0.1]:41197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nybVq-0005Wo-6p for submit@debbugs.gnu.org; Tue, 07 Jun 2022 11:53:00 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nybVc-0005WL-MB for 50470@debbugs.gnu.org; Tue, 07 Jun 2022 11:52:56 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 192F6101045; Tue, 7 Jun 2022 11:52:39 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8E59410022E; Tue, 7 Jun 2022 11:52:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1654617157; bh=trQNF7lC3dPoWIUh+c5NiAqM9tiEP455EKFTS52b5cw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=avLX+973biHRfY9i7hjdMTKXJmz5YQJTcTsu92daWOoGwiUnMQZaEsswpqHkUuASX V0UXhbvoT8rX7A4S8JKhXAxBLgn5s2axYfkQgJWAUbLxMlw00WtNyGl8xsFa76TBCs aBW5v3+CsPKtLqBaWWNxfa99CzuB7TB3tac2JWPg/40lFKb+NJtidD2aSTdhb/Lom7 3frVXVWBTplYykMWwm7EPTVNMxqhM7JD2apED6Xwe6ISctXNv1rgD+1dVieJ9vlpK6 bP0Hs6RD1yb2JpIJNxXwZ6GulQtZZVAgrVKRnug9Ue4vs3kQiegeDYSQW+oI0fVm7h 1fvTU13RzG6Fg== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5DBBD12049B; Tue, 7 Jun 2022 11:52:37 -0400 (EDT) In-Reply-To: <20ee85be-aafc-8942-14ea-b0c2a1abc2c9@yandex.ru> (Dmitry Gutov's message of "Mon, 6 Jun 2022 12:07:58 +0300") 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:233904 Archived-At: Dmitry Gutov [2022-06-06 12:07:58] wrote: > On 06.06.2022 04:34, Stefan Monnier via Bug reports for GNU Emacs, the Swiss > army knife of text editors wrote: >> Still, if you remove the ~/ the behavior is still not great: it seems I get >> "Do*" completed to "Documents/ " where the SPC might not be what I want. > > I think that space comes from exit-function (defined at the end of > pcomplete-completions-at-point). > So it should be orthogonal to the contents of the completion table. Right, but when we complete file names in Eshell, the behavior is better, because the exit-function is different. I don't think there's much we can do about it within `pcomplete.el`, tho. Stefan