GNU bug report logs - #49777
28.0.50; Incorrect username completion results reported by `read-file-name-internal`

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: Daniel Mendler <mail@HIDDEN>; merged with #49776; dated Thu, 29 Jul 2021 22:19:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 49777) by debbugs.gnu.org; 30 Jul 2021 12:45:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 30 08:45:48 2021
Received: from localhost ([127.0.0.1]:59374 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m9Rtc-0005cw-39
	for submit <at> debbugs.gnu.org; Fri, 30 Jul 2021 08:45:48 -0400
Received: from server.qxqx.de ([178.63.65.180]:34799 helo=mail.qxqx.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>)
 id 1m9RtZ-0005Vu-J0; Fri, 30 Jul 2021 08:45:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de;
 s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:
 MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:
 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=8hiZgOdt+bHMlgpK06DviFQD+a3zM7X/vN0Lv7S0d4g=; b=MYPcAdXPTSQetko1WrgIq6TNyg
 C8haFGtERuIrf2h3t5URUAKMbRi4RqhSgJV0NFdDcjsP/F5sibG+ycIfTzuN/n811qFBwMtbStEC5
 lU0ZFUnCIELZBgfdLLYVYsy5jjgZsqKCQqf/8CU0mGd/+SDPVwUT9+OEprN1SAS1N4nc=;
Subject: Re: bug#49776: 28.0.50; Incorrect username completion results
 reported by `read-file-name-interal`
To: 49776 <at> debbugs.gnu.org, 49777 <at> debbugs.gnu.org
References: <82d07cfd-a345-bf79-0fd4-4386ce2fe381@HIDDEN>
 <87bl6kowfo.fsf@HIDDEN>
From: Daniel Mendler <mail@HIDDEN>
Message-ID: <411b546e-b7c3-77b7-3ea7-5941a1f8e485@HIDDEN>
Date: Fri, 30 Jul 2021 14:45:37 +0200
MIME-Version: 1.0
In-Reply-To: <87bl6kowfo.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49777
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 (---)

A few more examples for comparison:

(all-completions "~/etc/~man" 'read-file-name-internal); /etc/~man/, bug
(all-completions "~/etc/~foo" 'read-file-name-internal); nil, ok
(all-completions "/etc/~man" 'read-file-name-internal); man/, ok
(all-completions "/etc/~man/" 'read-file-name-internal); ~man files, ok
(all-completions "~/etc/~man/" 'read-file-name-internal); ~man files, ok




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#49777; Package emacs. Full text available.
Forcibly Merged 49776 49777. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 29 Jul 2021 22:18:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 29 18:18:10 2021
Received: from localhost ([127.0.0.1]:58419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m9ELy-0004Vd-74
	for submit <at> debbugs.gnu.org; Thu, 29 Jul 2021 18:18:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:58140)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1m9ELw-0004VT-Lq
 for submit <at> debbugs.gnu.org; Thu, 29 Jul 2021 18:18:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40920)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1m9ELw-0005lp-FV
 for bug-gnu-emacs@HIDDEN; Thu, 29 Jul 2021 18:18:08 -0400
Received: from server.qxqx.de ([2a01:4f8:121:346::180]:45011 helo=mail.qxqx.de)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1m9ELu-0000qM-QD
 for bug-gnu-emacs@HIDDEN; Thu, 29 Jul 2021 18:18:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de;
 s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:
 Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=Qu7Mol4DoQ2zSTjMkSxR3kwL3dv1DsleQKYRcKKpJO8=; b=lND7PfYZcC7R1xULCmPBGsEXdF
 fMU5wXpNa9rk905Zh1dZ8k8pE9+0fXzSW1mjWqr6ruRgz1ggpdlEP+gkxh0Mr+2rBoL6VJOvPw2JK
 5gmrHvpeGTYUcSuSei45I2r6IjXHYkNuOr5TTZFSXuOEwfv6eH2lllsQWsSQylimypbQ=;
To: bug-gnu-emacs@HIDDEN
From: Daniel Mendler <mail@HIDDEN>
Subject: 28.0.50; Incorrect username completion results reported by
 `read-file-name-internal`
Message-ID: <c7d8d1ce-9a98-fecc-d7f3-c1408327270f@HIDDEN>
Date: Fri, 30 Jul 2021 00:17:47 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a01:4f8:121:346::180;
 envelope-from=mail@HIDDEN; helo=mail.qxqx.de
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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.4 (--)

`(all-completions "~/.config/~man" #'read-file-name-internal)` returns
the list `("/.config/~man")`. The file completion table incorrectly
recognizes "/.config/~man" as the username instead of only "~man".




Acknowledgement sent to Daniel Mendler <mail@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#49777; 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: Fri, 30 Jul 2021 12:45:02 UTC

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