From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 29 18:18:10 2021 Received: (at submit) by debbugs.gnu.org; 29 Jul 2021 22:18:10 +0000 Received: from localhost ([127.0.0.1]:58419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9ELy-0004Vd-74 for submit@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 ) id 1m9ELw-0004VT-Lq for submit@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 ) id 1m9ELw-0005lp-FV for bug-gnu-emacs@gnu.org; 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 ) id 1m9ELu-0000qM-QD for bug-gnu-emacs@gnu.org; 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@gnu.org From: Daniel Mendler Subject: 28.0.50; Incorrect username completion results reported by `read-file-name-internal` Message-ID: 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@daniel-mendler.de; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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". From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 30 06:00:20 2021 Received: (at control) by debbugs.gnu.org; 30 Jul 2021 10:00:20 +0000 Received: from localhost ([127.0.0.1]:59024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9PJU-0006iJ-AX for submit@debbugs.gnu.org; Fri, 30 Jul 2021 06:00:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9PJS-0006i4-IE for control@debbugs.gnu.org; Fri, 30 Jul 2021 06:00:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding: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=3n9K7G1Wv0oIgop5KRcQPQF28Xuyv0hyE/trUxXDBHg=; b=cibBkEDAwEtO6SO6Ao+3m7qjbo 7clF5nWGHpTpLFWNNlAGkQRT6OCqo2FJ37krQ3yXRg8QjU3KovLg1cFXoz4VyrQLIQ0lpJZODnUOQ rvLgb0/xKmV6Y6dYVe0uVxPcHcClndrsXY1BwHB4vRFiKRXGTy1QeRcD5noAwuObcTGk=; Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9PJJ-0005zF-Mg for control@debbugs.gnu.org; Fri, 30 Jul 2021 12:00:12 +0200 Date: Fri, 30 Jul 2021 12:00:07 +0200 Message-Id: <87y29oqfyw.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49777 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: forcemerge 49777 49776 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 49777 49776 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 30 08:45:48 2021 Received: (at 49777) by debbugs.gnu.org; 30 Jul 2021 12:45:48 +0000 Received: from localhost ([127.0.0.1]:59374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9Rtc-0005cw-39 for submit@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 ) 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@debbugs.gnu.org, 49777@debbugs.gnu.org References: <82d07cfd-a345-bf79-0fd4-4386ce2fe381@daniel-mendler.de> <87bl6kowfo.fsf@gnus.org> From: Daniel Mendler Message-ID: <411b546e-b7c3-77b7-3ea7-5941a1f8e485@daniel-mendler.de> Date: Fri, 30 Jul 2021 14:45:37 +0200 MIME-Version: 1.0 In-Reply-To: <87bl6kowfo.fsf@gnus.org> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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