GNU bug report logs - #51130
29.0.50; shell completion fails to complete filenames

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Carlos Pita <carlosjosepita2@HIDDEN>; dated Mon, 11 Oct 2021 05:45:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 14 Sep 2022 15:20:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 11:20:28 2022
Received: from localhost ([127.0.0.1]:55800 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYUBg-00013E-1n
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 11:20:28 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oYUBd-00012n-MM
 for 51130 <at> debbugs.gnu.org; Wed, 14 Sep 2022 11:20:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=IKJzHEkqmoFVSAf3+kxTiqnu7WMrUm57eOCLFCBtOqE=; b=GESbOjaz8rRccOCivZBoF444e4
 zA/CQ+0Vbevv1XCnycnFgw6JNLEqn533MFm98sXU0XRccruov1J1EVUg3drGsuabrFY16Qiost8go
 M72FAgkMjKEy3RvQn81Zeov9RPNUAs4FA+3dQbPMgXfNkGxCZGZMGESUm/oU3WSJpRVo=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oYUBT-0007mV-Ng; Wed, 14 Sep 2022 17:20:17 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <jwvzgf211da.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Wed, 14 Sep 2022 10:27:37 -0400")
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
 <jwvzgf464zk.fsf-monnier+emacs@HIDDEN> <87k0674j4k.fsf@HIDDEN>
 <jwvmtb35roj.fsf-monnier+emacs@HIDDEN> <878rmmb0np.fsf@HIDDEN>
 <jwvzgf211da.fsf-monnier+emacs@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVXCCuhExf7LAHx
 EQX///+EbqWtAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJDg8IKWAxEiQAAAG0SURBVDjLjZSNkeMw
 CIWF3YCQGlhQA0b039s+kOxk93I3p5mMHL4Ajx+nlEL66ZR/AseZOubAB1/mwJUAT+P/Qg2eCZhv
 g6+7cgswmvSWZpwEiB5AGly3HSIS6A3iqz+kLA/txnekkeQqrXQjlT7SIWvwKUc4EQO0mfYNB3QC
 VBrc+YvCjrrh4qXVGR5CVK9rRhKY4XIS6jgN4Kr1arqSq9tZ+IhQ8GC2NiKRukSymckF+REcOifA
 Zd36bCu5IT6MI4AwtNxAfwB7AdnAlwdOixwjOpI5llz0wTXk6upgqNKkTfagVOW4+ghjxJsd4l8A
 sbLpYNL7A6hCZQ4QTJhvYJWJjzV2atGBDfjLiM4lgg7U+4AhHaHCPtE4LqGqxA9tyBq5K9VWMkfJ
 DcPZu0AYD9q+PaB8rzBk2ZhPqMywt+re3eXh0n4vdbmfPd8C9fEGxBs6spqyurkBl3psufnaPMDJ
 yDG6t/XddZAXrp0+gRNrXP8ERU4UXHesN+A6bRljSfjVK4z8wj4F6OaxcA9wqxZOhnWd8gPYxXlh
 MVnfAS8P3NLnW69QcI8b3Vx/AEU/nb+Cb7VUjESWM2HrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy
 LTA5LTE0VDE1OjA4OjQxKzAwOjAwHtKitAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0xNFQx
 NTowODo0MSswMDowMG+PGggAAAAASUVORK5CYII=
X-Now-Playing: Don Cherry's New Researches featuring =?utf-8?Q?Nan=C3=A1?=
 Vasconcelos's
 _Organic Music Theatre Festival de Chateauvallon 1972 (1)_: "Resa"
Date: Wed, 14 Sep 2022 17:20:15 +0200
Message-ID: <878rmm6l00.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Stefan Monnier <monnier@HIDDEN> writes: > I wish
 someone could take the time to try and understand what >
 `shell-filename-completion`
 and `comint-filename-completion` do there > really (I mean, I understand
 what they're supposed to do, but [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Monnier <monnier@HIDDEN> writes:

> I wish someone could take the time to try and understand what
> `shell-filename-completion` and `comint-filename-completion` do there
> really (I mean, I understand what they're supposed to do, but I don't
> understand why they're both there), how they compare to what
> `pcomplete-default-completion-function` does by default (which should be
> very similar), and then fix bug#51130 The Right Way.

It would indeed be nice if somebody did that.  *whistles*




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 14 Sep 2022 14:27:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 10:27:49 2022
Received: from localhost ([127.0.0.1]:55696 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYTMi-0003hH-NG
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:27:49 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:12025)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1oYTMg-0003h2-2P
 for 51130 <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:27:47 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 41893807A5;
 Wed, 14 Sep 2022 10:27:40 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9F57D804BD;
 Wed, 14 Sep 2022 10:27:38 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1663165658;
 bh=vQHlYMiRYQ9spX9KG1q5cQBi68dH0IE4LOcrgqmARR0=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=WHxzuBvVmjlhS7muROJN788EPpyGYvpJaJwr5gFxaspAVUvSKPGLOWzpp+thIfVy7
 vZlPKv1zlrIJKTubStjukqCQgAdYQ/TvzalS+kp4+V1kqmrvYq9lX5XxzLI1wgUD85
 bIzkOJheCsL8Sa8ZRuEZ4/0FyOJDxaXw9ytAeaetyt4P1ettWaChS8RnO7m+0nJL0k
 nUmjZYdPqNfi3ji5ZMjAkuWI/Y2PXF143kIFHBvQZbLHNMl0Pl+QCmnGAKhpMwmSLO
 0jmXYCEJTFeQtl+YB/SW6fCds30U5hDtltQtxUg7qfX2Pv9irrrSLGqcUhEdRFeIat
 zBm9OYrmKSfKA==
Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 89B741209CD;
 Wed, 14 Sep 2022 10:27:38 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <878rmmb0np.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Wed,
 14 Sep 2022 14:28:26 +0200")
Message-ID: <jwvzgf211da.fsf-monnier+emacs@HIDDEN>
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
 <jwvzgf464zk.fsf-monnier+emacs@HIDDEN> <87k0674j4k.fsf@HIDDEN>
 <jwvmtb35roj.fsf-monnier+emacs@HIDDEN> <878rmmb0np.fsf@HIDDEN>
Date: Wed, 14 Sep 2022 10:27:37 -0400
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.189 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> The change I introduced tried to preserve as much of the existing
>> completion as possible, by only using the non-fallback pcomplete
>> rules and keeping the existing `shell-filename-completion` and
>> `comint-filename-completion` thingies as the fallback.
>>
>> I don't know that it's the best choice.  It was just the
>> conservative choice.
>
> Could just put an additional function at the end of the list there
> that does what pcomplete-completions-at-point does when
> pcomplete-default-completion-function isn't set to #'ignore?

Could be.  Tho it feels like adding yet another hack upon more hacks
just because we don't know what the other code does.
[ Which is exactly what I did as well when I set
  `pcomplete-default-completion-function` to `ignore`.  ]

I wish someone could take the time to try and understand what
`shell-filename-completion` and `comint-filename-completion` do there
really (I mean, I understand what they're supposed to do, but I don't
understand why they're both there), how they compare to what
`pcomplete-default-completion-function` does by default (which should be
very similar), and then fix bug#51130 The Right Way.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 14 Sep 2022 12:28:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 08:28:43 2022
Received: from localhost ([127.0.0.1]:54045 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYRVT-0008MT-Br
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 08:28:43 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48260)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oYRVR-0008MB-RR
 for 51130 <at> debbugs.gnu.org; Wed, 14 Sep 2022 08:28:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=/K90YlOMCjaga52fVLpPuZklNGS02lriIGvnFm16ZCg=; b=OlEguwart+0+a5fkY7BllcB5eM
 IZkrSCa2G8dSbdd4ErlyrGHDUaKC3UC8SxSVHpfYyKg2x9XQQk7PT2n1mqDpbYcdfwypzM8Dkn+ig
 Mor19f+AQUaxEmX+Qx/FVNSwGtmJRLsAp2NhWIHBh8oYCRms1XiGKuYKOj+g18nLBi5E=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oYRVC-0006Or-M3; Wed, 14 Sep 2022 14:28:28 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <jwvmtb35roj.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Tue, 13 Sep 2022 09:32:43 -0400")
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
 <jwvzgf464zk.fsf-monnier+emacs@HIDDEN> <87k0674j4k.fsf@HIDDEN>
 <jwvmtb35roj.fsf-monnier+emacs@HIDDEN>
X-Now-Playing: Mia Doi Todd's _Ten Views of Music Life_: "Music Life
 (Georgia Anne Muldrow Remix)"
Date: Wed, 14 Sep 2022 14:28:26 +0200
Message-ID: <878rmmb0np.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Monnier <monnier@HIDDEN> writes: > Look at
 `shell-dynamic-complete-functions`: > > (defcustom
 shell-dynamic-complete-functions
 > '(comint-c-a-p-replace-by-expanded-history >
 shell-environment-variable-completion
 > shell-command-compl [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Monnier <monnier@HIDDEN> writes:

> Look at `shell-dynamic-complete-functions`:
>
>     (defcustom shell-dynamic-complete-functions
>       '(comint-c-a-p-replace-by-expanded-history
>         shell-environment-variable-completion
>         shell-command-completion
>         shell-c-a-p-replace-by-expanded-directory
>         pcomplete-completions-at-point
>         shell-filename-completion
>         comint-filename-completion)
>       "List of functions called to perform completion.
>     This variable is used to initialize `comint-dynamic-complete-functions' in the
>     shell buffer."
>       :type '(repeat function)
>       :group 'shell)
>
> if `pcomplete-default-completion-function` is left at its default value,
> then `pcomplete-completions-at-point` will never return nil, so the
> functions that appear after it in the above list will just never
> be used.

Ah, the detail I missed was that pcomplete-completions-at-point is
(partially) controlled by pcomplete-default-completion-function -- from
the documentation, I assumed that pcomplete-default-completion-function
was run after all of the other completion functions had finished.

> The change I introduced tried to preserve as much of the existing
> completion as possible, by only using the non-fallback pcomplete rules
> and keeping the existing `shell-filename-completion` and
> `comint-filename-completion` thingies as the fallback.
>
> I don't know that it's the best choice.  It was just the
> conservative choice.

Could just put an additional function at the end of the list there that
does what pcomplete-completions-at-point does when
pcomplete-default-completion-function isn't set to #'ignore?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 13 Sep 2022 13:39:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 09:39:25 2022
Received: from localhost ([127.0.0.1]:49340 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oY68K-0006LW-PL
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2022 09:39:25 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46743)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1oY68G-0006LG-Of
 for 51130 <at> debbugs.gnu.org; Tue, 13 Sep 2022 09:39:23 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F2D0180740;
 Tue, 13 Sep 2022 09:32:45 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5C16D80159;
 Tue, 13 Sep 2022 09:32:44 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1663075964;
 bh=Z6qaGBIh+h6OWne9zLaMgpnB8oXiTnU8G5RKrCBVwEw=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=W5rl8Fue07Lxabil8WuBtOmRWaHoudokzHcm/MiC0RB7lzfFpwlWEevSX0TVRFEcy
 Qq0MJtIbQqOVX5P4hj4r9JPYWPK1x0kh63YvROh7Auc+eTvpOU2zBkFENgkica4jSr
 1G28d9zZj6ToBSSweWJAkDP6J2IPTvWZLR4pli8W+hK4GL08nRqylcYmQKKTpTgva+
 ne78iFXhPLpfxwveadL4lPWJ+FY2HljHeXQr7JCi4vHFt6LzFG1uh0FN3gioFAD6Jb
 xUyO589pGMG1AGYciSKBzkmey8mnevbFvZJ7Fg4dytNTyB3ELIaHIP4vo5MHGIjdXU
 WDrjScQyt8OFA==
Received: from pastel (unknown [157.52.9.190])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 231CE12051F;
 Tue, 13 Sep 2022 09:32:44 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <87k0674j4k.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue,
 13 Sep 2022 13:19:07 +0200")
Message-ID: <jwvmtb35roj.fsf-monnier+emacs@HIDDEN>
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
 <jwvzgf464zk.fsf-monnier+emacs@HIDDEN> <87k0674j4k.fsf@HIDDEN>
Date: Tue, 13 Sep 2022 09:32:43 -0400
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.067 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen [2022-09-13 13:19:07] wrote:

> Stefan Monnier <monnier@HIDDEN> writes:
>
>>>     * lisp/shell.el: Require and use pcomplete.
>>>     (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
>>>     (shell-completion-vars): Set pcomplete-default-completion-function.
>>>
>>> Just leaving pcomplete-default-completion-function alone seems to give
>>> better results in shell-mode (after testing very briefly), so I'm not
>>> sure why that was added.
>>
>> It was added because leaving `pcomplete-default-completion-function`
>> alone means that the functions after `pcomplete-completions-at-point` in
>> `shell-dynamic-complete-functions` are not used any more.
>
> Uhm...  I don't follow the logic at all.
> pcomplete-default-completion-function is documented to be applied if
> everything else has failed to do completion, isn't it?

Look at `shell-dynamic-complete-functions`:

    (defcustom shell-dynamic-complete-functions
      '(comint-c-a-p-replace-by-expanded-history
        shell-environment-variable-completion
        shell-command-completion
        shell-c-a-p-replace-by-expanded-directory
        pcomplete-completions-at-point
        shell-filename-completion
        comint-filename-completion)
      "List of functions called to perform completion.
    This variable is used to initialize `comint-dynamic-complete-functions' in the
    shell buffer."
      :type '(repeat function)
      :group 'shell)

if `pcomplete-default-completion-function` is left at its default value,
then `pcomplete-completions-at-point` will never return nil, so the
functions that appear after it in the above list will just never
be used.

The change I introduced tried to preserve as much of the existing
completion as possible, by only using the non-fallback pcomplete rules
and keeping the existing `shell-filename-completion` and
`comint-filename-completion` thingies as the fallback.

I don't know that it's the best choice.  It was just the
conservative choice.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 13 Sep 2022 11:19:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 07:19:19 2022
Received: from localhost ([127.0.0.1]:49036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oY3wl-0002Kx-1I
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2022 07:19:19 -0400
Received: from quimby.gnus.org ([95.216.78.240]:35298)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oY3wj-0002Kl-Q7
 for 51130 <at> debbugs.gnu.org; Tue, 13 Sep 2022 07:19:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ynaH8hNw5PCMiiZ9aqXEDIT+8I34nolXyVbqtAOd8YI=; b=VnN4Qby7hXp5E/pV0sr7W80MUS
 yM6JAB6a9cNffJ0owggAUnaluCUT9sZVSJ+UhfgPSsYA6pJhHEHzIZdO0ZWs4jp+Ypz6P7/5qhm/g
 nMg02hfNvY3YyB5bZci6gQwKAT0D4RYUqYL8PVKOfMlXbA5AxqvedrZWinUCIJ2qvZpw=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oY3wa-00023n-4O; Tue, 13 Sep 2022 13:19:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <jwvzgf464zk.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Mon, 12 Sep 2022 10:33:35 -0400")
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
 <jwvzgf464zk.fsf-monnier+emacs@HIDDEN>
X-Now-Playing: Laurel Halo's _Quarantine_: "Mk Ultra"
Date: Tue, 13 Sep 2022 13:19:07 +0200
Message-ID: <87k0674j4k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Monnier <monnier@HIDDEN> writes: >> *
 lisp/shell.el:
 Require and use pcomplete. >> (shell-dynamic-complete-functions): Add
 pcomplete-completions-at-point.
 >> (shell-completion-vars): Set pcomplete-default-completion-function. >>
 >> J [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Monnier <monnier@HIDDEN> writes:

>>     * lisp/shell.el: Require and use pcomplete.
>>     (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
>>     (shell-completion-vars): Set pcomplete-default-completion-function.
>>
>> Just leaving pcomplete-default-completion-function alone seems to give
>> better results in shell-mode (after testing very briefly), so I'm not
>> sure why that was added.
>
> It was added because leaving `pcomplete-default-completion-function`
> alone means that the functions after `pcomplete-completions-at-point` in
> `shell-dynamic-complete-functions` are not used any more.

Uhm...  I don't follow the logic at all.
pcomplete-default-completion-function is documented to be applied if
everything else has failed to do completion, isn't it?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 12 Sep 2022 14:33:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 12 10:33:57 2022
Received: from localhost ([127.0.0.1]:47554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXkVZ-0000mx-Hh
	for submit <at> debbugs.gnu.org; Mon, 12 Sep 2022 10:33:57 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:45221)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1oXkVV-0000mi-0U
 for 51130 <at> debbugs.gnu.org; Mon, 12 Sep 2022 10:33:56 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 71471803DC;
 Mon, 12 Sep 2022 10:33:46 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7F839803C3;
 Mon, 12 Sep 2022 10:33:40 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1662993220;
 bh=kugkl6ify+gDU9wXj15uoXzpV4o+TMa19TqPUcjCpIw=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=Q9mEg4XGl/14BZ6ZxuVIo9hZiiVxctsW+TmT0enplU45lmYE/Cf9xsPi+b2i6CGmw
 HNhy3B0vWfg5ZEj9DxyNCUsBE/FiXQO2BKUDFSPmGte5leOWWvugaS28EO2eGK1n/Q
 h/EfU78e1JU8T/HC+gE78FNeQX7uErFQZJj46oREnSW2ayF4SZVLiwRczc+ACbyM30
 N1PRE2rC5J1oWLdf1kOEmoQBqgep8wWkRNVE8EqdIKUcoeN4U9gKmSWveb6Y/XxFWb
 f/Ug95siWxzTQEyIQkW54thuWjijF2wNjnEAy9AGZfK+/N1jAsI9iMxzq/7oKFgUBV
 yKc9HfqslzzVQ==
Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 761371201B4;
 Mon, 12 Sep 2022 10:33:40 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <87a67496rq.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon,
 12 Sep 2022 13:22:33 +0200")
Message-ID: <jwvzgf464zk.fsf-monnier+emacs@HIDDEN>
References: <m2r1cs6yxo.fsf@HIDDEN> <87a67496rq.fsf@HIDDEN>
Date: Mon, 12 Sep 2022 10:33:35 -0400
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.191 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Carlos Pita <carlosjosepita2@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> commit e17d9003618cef75852a0b88334cea66a5c4b016
> Author:     Stefan Monnier <monnier@HIDDEN>
> AuthorDate: Sat Jun 4 09:31:34 2011 -0300
>
>     * lisp/shell.el: Require and use pcomplete.
>     (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
>     (shell-completion-vars): Set pcomplete-default-completion-function.
>
> Just leaving pcomplete-default-completion-function alone seems to give
> better results in shell-mode (after testing very briefly), so I'm not
> sure why that was added.

It was added because leaving `pcomplete-default-completion-function`
alone means that the functions after `pcomplete-completions-at-point` in
`shell-dynamic-complete-functions` are not used any more.

Maybe that's indeed what we want.

I don't use `shell` enough to make such a decision.
[ And I don't understand why there's both `shell-filename-completion`
  and `comint-filename-completion` in there either, which makes it even
  more clear to me that I don't know what such changes imply.  ]


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 51130 <at> debbugs.gnu.org:


Received: (at 51130) by debbugs.gnu.org; 12 Sep 2022 11:22:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 12 07:22:52 2022
Received: from localhost ([127.0.0.1]:44357 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXhWe-0007BE-9x
	for submit <at> debbugs.gnu.org; Mon, 12 Sep 2022 07:22:52 -0400
Received: from quimby.gnus.org ([95.216.78.240]:51568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oXhWW-0007Ac-7b
 for 51130 <at> debbugs.gnu.org; Mon, 12 Sep 2022 07:22:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=UGFAbdsjuafKppGScri9nxK8SM15g2Uhwtb4FpuOcgU=; b=Nbmw7R5hDc8zCA0XXZz+6hHH9g
 3vrYvMiQiHrPIJThwdKIoN8qH2c5O/6xA0HV09Sg0UM8cjDx4K+wsVlSbgKx6J0lMXMutKW6LVzSK
 4XNxkHKkXduiOrzYYLOk0BylnJYlvNkTtsLVi1a8W6vayGzrO3EukG2HtvgOCpGx4Vss=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oXhWL-0005bb-Vw; Mon, 12 Sep 2022 13:22:36 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Carlos Pita <carlosjosepita2@HIDDEN>
Subject: Re: bug#51130: 29.0.50; shell completion fails to complete filenames
In-Reply-To: <m2r1cs6yxo.fsf@HIDDEN> (Carlos Pita's message of "Mon, 11 Oct
 2021 00:08:19 -0300")
References: <m2r1cs6yxo.fsf@HIDDEN>
X-Now-Playing: Django Django's _Django Django (Remaster)_: "Wor"
Date: Mon, 12 Sep 2022 13:22:33 +0200
Message-ID: <87a67496rq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Carlos Pita <carlosjosepita2@HIDDEN> writes: > Now, many
 usual commands like cp don't have a pcomplete handler so they > behave very
 poorly regarding completion, take for example: > > cp <TAB> > > this doesn't
 give me any completion candidate! 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 51130
Cc: 51130 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Carlos Pita <carlosjosepita2@HIDDEN> writes:

> Now, many usual commands like cp don't have a pcomplete handler so they
> behave very poorly regarding completion, take for example:
>
>      cp <TAB>
>
> this doesn't give me any completion candidate!

[...]

> In shell.el we have:
>
>   ;; Don't use pcomplete's defaulting mechanism, rely on
>   ;; shell-dynamic-complete-functions instead.
>   (setq-local pcomplete-default-completion-function #'ignore)
>
> So pcomplete is falling back to the ignore (no-op) function. If you
> kill the local binding in the shell buffer, then the default of the
> default does complete paths.

This was possibly added by:

commit e17d9003618cef75852a0b88334cea66a5c4b016
Author:     Stefan Monnier <monnier@HIDDEN>
AuthorDate: Sat Jun 4 09:31:34 2011 -0300

    * lisp/shell.el: Require and use pcomplete.
    (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
    (shell-completion-vars): Set pcomplete-default-completion-function.

Just leaving pcomplete-default-completion-function alone seems to give
better results in shell-mode (after testing very briefly), so I'm not
sure why that was added.

Perhaps Stefan has some comments; added to the CCs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Oct 2021 05:44:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 11 01:44:40 2021
Received: from localhost ([127.0.0.1]:56230 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mZo73-0007zf-Bu
	for submit <at> debbugs.gnu.org; Mon, 11 Oct 2021 01:44:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:41794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlosjosepita2@HIDDEN>) id 1mZlfw-0003uo-Lr
 for submit <at> debbugs.gnu.org; Sun, 10 Oct 2021 23:08:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35434)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <carlosjosepita2@HIDDEN>)
 id 1mZlfw-00024a-0N
 for bug-gnu-emacs@HIDDEN; Sun, 10 Oct 2021 23:08:28 -0400
Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:46609)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <carlosjosepita2@HIDDEN>)
 id 1mZlfs-0004kB-TA
 for bug-gnu-emacs@HIDDEN; Sun, 10 Oct 2021 23:08:27 -0400
Received: by mail-vs1-xe34.google.com with SMTP id o15so12579918vsr.13
 for <bug-gnu-emacs@HIDDEN>; Sun, 10 Oct 2021 20:08:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=H/6dTSzL4I31LG6aO+790NKD3uT7UeDxGu66K81o/YE=;
 b=nHAs5rapWMIs+iNqwU8LSve4GaleFBA4DYi+Sx0GE6o67/7EVvRe3eo6e/Ezm1ZBvR
 L92MfnosAuzsdJsjjFeraerlyLPVmCKVCoDDYOOUsNlRPxKNtdqvM5/tI9zPyuFp5V+L
 c0ij3o7TLllYdB3a/XOK3R0v5B7OxOdkUv2cXuaQvetovDbMHAeq/56bed4YcSAgwxS2
 gf5GiYuJymVUOnzGAFeGm8ZDuZJ9wn+IZ7RgOD0KKpEHZY0voOd+Y9qUcBNfDJM5y7I+
 B/tyKxocH7VMPe0W+wAFelKEa6yY6fgJKWHjuzOHMCgAIs7oWtyD/SNvYbn41uRnpATa
 oJpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=H/6dTSzL4I31LG6aO+790NKD3uT7UeDxGu66K81o/YE=;
 b=eOJ52EtssGzxBA6oXn8lZBYZcA2gvZNyEMuCh/B8hafYdLCKnj2PWkXQuX1AGZF6vH
 QCq7YgiRXi/dkICIM1u7ruzyVk41yYBa2dE9T8tCcuGGEgRJ+9zwYxDCgwyeQ0g/pc9b
 0//Ri+AaltGFXz6VFftEXs50t3qWOrM3yV+tN25jMDVjYl4vX4AINjZFJOICd0d8CXA6
 v5pvMKhwrS7n/13JYHLjNJJ/FWMMJITcEDONhGstPfI80SbqLheKz6Hk0EIbkBHFV+uA
 NDFKeqG9FO/qwAZnRSZJmNpwxd8/ecBkdvUutdhpJKUidEqYrQOODZvYGnzgGuNeDNnV
 XRpw==
X-Gm-Message-State: AOAM532ON+/Nl7hpUkieWznJTHBfEyiJce6Jm8ptKi0DhKTGu5myChBt
 tFbKPzNRgoVkzL14RB1ePKM9edkbS+gTFQ==
X-Google-Smtp-Source: ABdhPJzPeAdCsckHDYaMCOgSG7+bw6IAC9QyTQlzH+BubKZNyr7OC295hGQly8BWOu2OX0dvnJiSwg==
X-Received: by 2002:a67:6f02:: with SMTP id k2mr21012852vsc.24.1633921702445; 
 Sun, 10 Oct 2021 20:08:22 -0700 (PDT)
Received: from Carloss-MacBook-Pro.local ([186.136.138.53])
 by smtp.gmail.com with ESMTPSA id r203sm2127087vkr.12.2021.10.10.20.08.21
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 10 Oct 2021 20:08:22 -0700 (PDT)
From: Carlos Pita <carlosjosepita2@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; shell completion fails to complete filenames
Date: Mon, 11 Oct 2021 00:08:19 -0300
Message-ID: <m2r1cs6yxo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::e34;
 envelope-from=carlosjosepita2@HIDDEN; helo=mail-vs1-xe34.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 11 Oct 2021 01:44:36 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

Hi,

I've asked about this in gmane.emacs.help but then realized that it
might be a bug.

In shell-mode there are a number of c-a-p functions registered:

   comint-c-a-p-replace-by-expanded-history
   shell-environment-variable-completion
   shell-command-completion
   shell-c-a-p-replace-by-expanded-directory
   pcomplete-completions-at-point
   shell-filename-completion
   comint-filename-completion

Most of the time it is pcomplete-completions-at-point the one which
returns the completion candidates, and this works great as long as the
there is a pcomplete/xxx function registered for the command xxx.

Now, many usual commands like cp don't have a pcomplete handler so they
behave very poorly regarding completion, take for example:

     cp <TAB>

this doesn't give me any completion candidate! If I instead do:

     cp ./<TAB>

I then get filename completions (although not from pcomplete). I find
this behavior very inconvenient since often commands take filenames as
arguments and I would prefer filename completion to be triggered by
default for commands not known by pcomplete.

Doing some debugging reveals that this might be a bug.

In shell.el we have:

  ;; Don't use pcomplete's defaulting mechanism, rely on
  ;; shell-dynamic-complete-functions instead.
  (setq-local pcomplete-default-completion-function #'ignore)

So pcomplete is falling back to the ignore (no-op) function. If you
kill the local binding in the shell buffer, then the default of the
default does complete paths.

And what are those dynamic complete functions that are favored in lieu of
pcomplete's default? I don't know, but next in the completion sequence
we have:

	(defun comint-filename-completion ()
      "Return completion data for filename at point, if any."
      (when (comint--match-partial-filename)
        (comint--complete-file-name-data)))

Here (comint--match-partial-filename) will never be true so, ultimately,
we get no completion at all.

Anyone knows what might be the reason to set
pcomplete-default-completion-function to #'ignore when the next
functions in the sequence are unable to do a better job?

Best regards,
Carlos

---

In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165))
 of 2021-10-07 built on Carloss-MacBook-Pro.local
Repository revision: d2611920685ca415a1d85ffb9567b968518028d6
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.6

Configured using:
 'configure --without-native-compilation'

Configured features:
ACL DBUS GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE
NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Article

Minor modes in effect:
  recentf-mode: t
  shell-dirtrack-mode: t
  treemacs-icons-dired-mode: t
  treemacs-filewatch-mode: t
  treemacs-follow-mode: t
  treemacs-git-mode: t
  treemacs-fringe-indicator-mode: t
  ivy-mode: t
  company-box-mode: t
  winner-mode: t
  global-flycheck-mode: t
  global-company-mode: t
  company-mode: t
  which-key-mode: t
  override-global-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  electric-pair-mode: t
  minions-mode: t
  doom-modeline-mode: t
  ns-auto-titlebar-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/carlos/.emacs.d/straight/build/transient/transient hides /Applications/Emacs.app/Contents/Resources/lisp/transient
/Users/carlos/.emacs.d/straight/build/org/ob-exp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/carlos/.emacs.d/straight/build/org/ob-emacs-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/carlos/.emacs.d/straight/build/org/oc hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc
/Users/carlos/.emacs.d/straight/build/org/ob-css hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/carlos/.emacs.d/straight/build/org/ob-lob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/carlos/.emacs.d/straight/build/org/ol-irc hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/carlos/.emacs.d/straight/build/org/ob-forth hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/carlos/.emacs.d/straight/build/org/org-macs hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/carlos/.emacs.d/straight/build/org/ob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob
/Users/carlos/.emacs.d/straight/build/org/org-version hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-version
/Users/carlos/.emacs.d/straight/build/org/ob-scheme hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/carlos/.emacs.d/straight/build/org/ox hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox
/Users/carlos/.emacs.d/straight/build/org/ob-C hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/carlos/.emacs.d/straight/build/org/org-capture hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/carlos/.emacs.d/straight/build/org/ob-ref hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/carlos/.emacs.d/straight/build/org/ob-clojure hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/carlos/.emacs.d/straight/build/org/org-mouse hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/carlos/.emacs.d/straight/build/org/org-ctags hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/carlos/.emacs.d/straight/build/org/org-entities hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/carlos/.emacs.d/straight/build/org/org-archive hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/carlos/.emacs.d/straight/build/org/ob-screen hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/carlos/.emacs.d/straight/build/org/ol-bibtex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/carlos/.emacs.d/straight/build/org/ob-haskell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/carlos/.emacs.d/straight/build/org/org-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/carlos/.emacs.d/straight/build/org/ol-eww hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/carlos/.emacs.d/straight/build/org/ox-org hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/carlos/.emacs.d/straight/build/org/org-num hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/carlos/.emacs.d/straight/build/org/org-plot hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/carlos/.emacs.d/straight/build/org/ol-rmail hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/carlos/.emacs.d/straight/build/org/ob-awk hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/carlos/.emacs.d/straight/build/org/ob-groovy hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/carlos/.emacs.d/straight/build/org/ob-octave hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/carlos/.emacs.d/straight/build/org/org-faces hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/carlos/.emacs.d/straight/build/org/oc-biblatex hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-biblatex
/Users/carlos/.emacs.d/straight/build/org/org-colview hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/carlos/.emacs.d/straight/build/org/ob-R hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/carlos/.emacs.d/straight/build/org/org-refile hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-refile
/Users/carlos/.emacs.d/straight/build/org/org-timer hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/carlos/.emacs.d/straight/build/org/org-mobile hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/carlos/.emacs.d/straight/build/org/ob-fortran hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/carlos/.emacs.d/straight/build/org/ob-shell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/carlos/.emacs.d/straight/build/org/ob-perl hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/carlos/.emacs.d/straight/build/org/ob-sqlite hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/carlos/.emacs.d/straight/build/org/oc-basic hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-basic
/Users/carlos/.emacs.d/straight/build/org/ob-sed hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/carlos/.emacs.d/straight/build/org/org-list hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/carlos/.emacs.d/straight/build/org/ob-ruby hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/carlos/.emacs.d/straight/build/org/ob-eval hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/carlos/.emacs.d/straight/build/org/org-habit hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/carlos/.emacs.d/straight/build/org/org-clock hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/carlos/.emacs.d/straight/build/org/org-goto hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/carlos/.emacs.d/straight/build/org/ox-html hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/carlos/.emacs.d/straight/build/org/org-src hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/carlos/.emacs.d/straight/build/org/ob-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/carlos/.emacs.d/straight/build/org/ol-eshell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/carlos/.emacs.d/straight/build/org/ob-ditaa hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/carlos/.emacs.d/straight/build/org/org-pcomplete hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/carlos/.emacs.d/straight/build/org/org-lint hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/carlos/.emacs.d/straight/build/org/ox-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/carlos/.emacs.d/straight/build/org/ob-sass hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/carlos/.emacs.d/straight/build/org/ob-tangle hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/carlos/.emacs.d/straight/build/org/ob-calc hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/carlos/.emacs.d/straight/build/org/ob-java hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/carlos/.emacs.d/straight/build/org/ox-icalendar hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-icalendar
/Users/carlos/.emacs.d/straight/build/org/ol-mhe hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/carlos/.emacs.d/straight/build/org/org-attach-git hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-attach-git
/Users/carlos/.emacs.d/straight/build/org/ox-md hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/carlos/.emacs.d/straight/build/org/ox-beamer hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/carlos/.emacs.d/straight/build/org/org-element hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-element
/Users/carlos/.emacs.d/straight/build/org/oc-natbib hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-natbib
/Users/carlos/.emacs.d/straight/build/org/org-protocol hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/carlos/.emacs.d/straight/build/org/ob-gnuplot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/carlos/.emacs.d/straight/build/org/org-tempo hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/carlos/.emacs.d/straight/build/org/ob-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/carlos/.emacs.d/straight/build/org/ol-w3m hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/carlos/.emacs.d/straight/build/org/org-id hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/carlos/.emacs.d/straight/build/org/ox-man hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/carlos/.emacs.d/straight/build/org/ol-doi hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-doi
/Users/carlos/.emacs.d/straight/build/org/org-feed hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/carlos/.emacs.d/straight/build/org/ob-julia hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-julia
/Users/carlos/.emacs.d/straight/build/org/ob-lua hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/carlos/.emacs.d/straight/build/org/ob-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/carlos/.emacs.d/straight/build/org/ob-ocaml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/carlos/.emacs.d/straight/build/org/oc-csl hides /Applications/Emacs.app/Contents/Resources/lisp/org/oc-csl
/Users/carlos/.emacs.d/straight/build/org/ol-gnus hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/carlos/.emacs.d/straight/build/org/org-indent hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/carlos/.emacs.d/straight/build/org/ob-lilypond hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/carlos/.emacs.d/straight/build/org/ob-matlab hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/carlos/.emacs.d/straight/build/org/org-datetree hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/carlos/.emacs.d/straight/build/org/ol-docview hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/carlos/.emacs.d/straight/build/org/ob-python hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/carlos/.emacs.d/straight/build/org/ob-makefile hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-makefile
/Users/carlos/.emacs.d/straight/build/org/org-duration hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-duration
/Users/carlos/.emacs.d/straight/build/org/org-agenda hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/carlos/.emacs.d/straight/build/org/ob-dot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/carlos/.emacs.d/straight/build/org/ob-js hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/carlos/.emacs.d/straight/build/org/ox-publish hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/carlos/.emacs.d/straight/build/org/org-inlinetask hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/carlos/.emacs.d/straight/build/org/ob-org hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/carlos/.emacs.d/straight/build/org/org-keys hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/carlos/.emacs.d/straight/build/org/ob-core hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/carlos/.emacs.d/straight/build/org/org-compat hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/carlos/.emacs.d/straight/build/org/ol hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol
/Users/carlos/.emacs.d/straight/build/org/ox-odt hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/carlos/.emacs.d/straight/build/org/ol-info hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/carlos/.emacs.d/straight/build/org/ob-plantuml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/carlos/.emacs.d/straight/build/org/ob-eshell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/carlos/.emacs.d/straight/build/org/ox-ascii hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/carlos/.emacs.d/straight/build/org/org-loaddefs hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-loaddefs
/Users/carlos/.emacs.d/straight/build/org/ox-koma-letter hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-koma-letter
/Users/carlos/.emacs.d/straight/build/org/ob-maxima hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/carlos/.emacs.d/straight/build/org/org hides /Applications/Emacs.app/Contents/Resources/lisp/org/org
/Users/carlos/.emacs.d/straight/build/org/ol-bbdb hides /Applications/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/carlos/.emacs.d/straight/build/org/org-macro hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/carlos/.emacs.d/straight/build/org/ob-sql hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/carlos/.emacs.d/straight/build/org/org-attach hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/carlos/.emacs.d/straight/build/org/ob-processing hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-processing
/Users/carlos/.emacs.d/straight/build/org/ox-texinfo hides /Applications/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/carlos/.emacs.d/straight/build/org/org-crypt hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/carlos/.emacs.d/straight/build/org/org-footnote hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/carlos/.emacs.d/straight/build/org/org-install hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-install
/Users/carlos/.emacs.d/straight/build/org/ob-comint hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/carlos/.emacs.d/straight/build/let-alist/let-alist hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist

Features:
(shadow emacsbug sendmail canlock flyspell ispell nndoc sort smiley
gnus-cite mail-extr gnus-async gnus-bcklg gnus-draft gnus-ml disp-table
nndraft nnmh nnfolder utf-7 epa-file gnutls network-stream nsm
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr
kinsoku svg dom browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
url-vars mailcap gnus-group gnus-undo gnus-start gnus-dbus dbus xml
gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601
gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa
derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
rmail rmail-loaddefs auth-source password-cache rfc2047 rfc2045
ietf-drums mail-utils mm-util mail-prsvr cus-edit cus-start cus-load
cl-print pcmpl-unix recentf tree-widget wid-edit treemacs-bookmarks
bookmark pp edebug backtrace vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src
vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher jka-compr time-date
eieio-opt speedbar ezimage dframe shortdoc help-fns radix-tree shell
pcomplete thingatpt ivy-hydra hydra lv counsel xdg dired-x
treemacs-icons-dired treemacs-all-the-icons treemacs
treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-interface treemacs-extensions treemacs-mouse-interface
treemacs-tags imenu treemacs-persistence treemacs-filewatch-mode
filenotify treemacs-follow-mode treemacs-rendering treemacs-async
treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator treemacs-scope eieio eieio-core eieio-loaddefs
pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils
pfuture inline hl-line ht treemacs-logging treemacs-customization
treemacs-macros dired dired-loaddefs compile text-property-search comint
swiper ivy delsel ivy-faces ivy-overlay colir color company-box
company-box-doc frame-local company-box-icons display-line-numbers
noutline outline server pdf-tools-autoloads tablist-autoloads winner
org-roam-autoloads emacsql-sqlite-autoloads emacsql-autoloads
lsp-pyright-autoloads pyvenv eshell esh-cmd esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util pyvenv-autoloads
exec-path-from-shell exec-path-from-shell-autoloads hl-todo-autoloads
flycheck ansi-color json map find-func flycheck-autoloads
let-alist-autoloads pkg-info-autoloads epl-autoloads dap-mode-autoloads
bui-autoloads lsp-treemacs-autoloads lsp-ivy-autoloads lsp-ui-autoloads
lsp-mode-autoloads markdown-mode-autoloads spinner-autoloads
treemacs-all-the-icons-autoloads treemacs-icons-dired-autoloads
treemacs-persp-autoloads persp-mode-autoloads treemacs-magit-autoloads
magit-autoloads magit-section-autoloads git-commit-autoloads
with-editor-autoloads transient-autoloads treemacs-projectile-autoloads
treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads
pfuture-autoloads ace-window-autoloads projectile-autoloads
ivy-hydra-autoloads hydra-autoloads lv-autoloads counsel-autoloads
swiper-autoloads ivy-autoloads company-box-autoloads
frame-local-autoloads company-oddmuse company-keywords company-etags
etags fileloop generator xref project ring company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company pcase company-autoloads which-key advice
which-key-autoloads visual-fill-column visual-fill-column-autoloads
wgrep-autoloads edmacro kmacro avy-autoloads use-package-bind-key
bind-key easy-mmode undo-tree diff undo-tree-autoloads elec-pair minions
minions-autoloads doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core shrink-path rx f s all-the-icons all-the-icons-faces
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons dash doom-modeline-autoloads
shrink-path-autoloads f-autoloads dash-autoloads s-autoloads
all-the-icons-autoloads doom-themes-ext-org doom-themes-ext-treemacs
doom-themes-ext-visual-bell face-remap doom-solarized-light-theme
doom-themes doom-themes-base doom-themes-autoloads finder-inf
ns-auto-titlebar ns-auto-titlebar-autoloads use-package-core
use-package-autoloads bind-key-autoloads straight-autoloads info cl-seq
cl-extra help-mode seq byte-opt straight subr-x cl-macs gv cl-loaddefs
cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 455037 48688)
 (symbols 48 32723 3)
 (strings 32 113488 5335)
 (string-bytes 1 3951202)
 (vectors 16 58019)
 (vector-slots 8 775007 32747)
 (floats 8 2271 1187)
 (intervals 56 6864 2248)
 (buffers 992 37))




Acknowledgement sent to Carlos Pita <carlosjosepita2@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#51130; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Sep 2023 08:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.