From unknown Thu Aug 14 17:29:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60982 <60982@debbugs.gnu.org> To: bug#60982 <60982@debbugs.gnu.org> Subject: Status: 28.2; Behavior of read-file-name-default / read-file-internal Reply-To: bug#60982 <60982@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:29:04 +0000 retitle 60982 28.2; Behavior of read-file-name-default / read-file-internal reassign 60982 emacs submitter 60982 Frederic Santos severity 60982 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 21 03:49:52 2023 Received: (at submit) by debbugs.gnu.org; 21 Jan 2023 08:49:52 +0000 Received: from localhost ([127.0.0.1]:48018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ9ZN-0003KS-M7 for submit@debbugs.gnu.org; Sat, 21 Jan 2023 03:49:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:48204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ7bk-0008UO-Is for submit@debbugs.gnu.org; Sat, 21 Jan 2023 01:44:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ7bk-00072N-0q for bug-gnu-emacs@gnu.org; Sat, 21 Jan 2023 01:44:08 -0500 Received: from v-zimmta03.u-bordeaux.fr ([147.210.215.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ7bh-0002KX-2x for bug-gnu-emacs@gnu.org; Sat, 21 Jan 2023 01:44:07 -0500 Received: from v-zimmta03.u-bordeaux.fr (localhost [127.0.0.1]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTP id CCF851801388 for ; Sat, 21 Jan 2023 07:43:51 +0100 (CET) Received: from v-zimboxp13.srv.u-bordeaux.fr (v-zimboxp13.srv.u-bordeaux.fr [147.210.219.113]) by v-zimmta03.u-bordeaux.fr (Postfix) with ESMTP id C02321801387 for ; Sat, 21 Jan 2023 07:43:51 +0100 (CET) Date: Sat, 21 Jan 2023 07:43:51 +0100 (CET) From: Frederic Santos To: bug-gnu-emacs@gnu.org Message-ID: <466627201.5564132.1674283431475.JavaMail.zimbra@u-bordeaux.fr> Subject: 28.2; Behavior of read-file-name-default / read-file-internal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [176.181.99.60] X-Mailer: Zimbra 8.8.15_GA_4481 (ZimbraWebClient - FF109 (Linux)/8.8.15_GA_4481) Thread-Index: OaV4WyLFHVaZtbuxozqBVFykKCZZzg== Thread-Topic: 28.2; Behavior of read-file-name-default / read-file-internal X-AV-Checked: ClamAV using ClamSMTP Received-SPF: pass client-ip=147.210.215.83; envelope-from=frederic.santos@u-bordeaux.fr; helo=v-zimmta03.u-bordeaux.fr 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 21 Jan 2023 03:49:47 -0500 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.3 (--) Hi, Not sure if that is a bug or not, but I noticed a strange behavior of find-= file in some specific situations with Emacs 28.2. Say that I have three fil= es in a given directory: . =E2=94=9C=E2=94=80=E2=94=80 landmarks2.tps =E2=94=9C=E2=94=80=E2=94=80 landmarks.tps =E2=94=94=E2=94=80=E2=94=80 script.R 1. Open Emacs with emacs -q in this directory. 2. Doing C-x C-f TAB proposes only one candidate, script.R, when I obviousl= y expected three candidates. (Then, if you start typing 'l' in the minibuff= er, you indeed get landmarks.tps and landmarks2.tps as candidates, but I'm = not sure why they are not proposed initially.) All the best, F. -- In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cair= o version 1.17.6) of 2022-09-12 built on frederik Windowing system distributor 'The X.Org Foundation', version 11.0.12101006 System Description: Manjaro Linux Configured using: 'configure --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --localstatedir=3D/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fundamental From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 21 03:56:18 2023 Received: (at 60982) by debbugs.gnu.org; 21 Jan 2023 08:56:18 +0000 Received: from localhost ([127.0.0.1]:48035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ9fe-0003V0-5Z for submit@debbugs.gnu.org; Sat, 21 Jan 2023 03:56:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ9fd-0003Up-Dx for 60982@debbugs.gnu.org; Sat, 21 Jan 2023 03:56:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ9fY-0006hB-4e; Sat, 21 Jan 2023 03:56:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=UhIUPwULhKzeqsCzLqCHqdUCvjwBbY469p3eRq8jnWE=; b=baCnPp3wkyTopPfBDd9o +9t65uYO16k35dXBFMpeRKlN2YEaPCAzrF2pI+9DADpkskymWuySSFZ+72w5N3Cy/lvWGHHxKHfg4 cWqINtEXNvEHWmDLQc39ksGZN2lzVDUz6DxGFsk0N3oz1C439nDO4FWZ/Oe+dJg4anRrOoeyCZxvk C4yVIoQc6F86M3eTNP8IQtc+8G23Wweytfa5Atl5PdrhJmm4RUPzRRt/axk6s/zPhAHpc2xmwTDuI xlN3BsBvEU0ZeaS1d5qRtxAQZR2rZVmOTl5fnA0V1aU8slWtinj72t07AfceXo3EVf7yyozZbUkJX R0qIMU/kZpb7Tg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ9fX-0004wi-87; Sat, 21 Jan 2023 03:56:11 -0500 Date: Sat, 21 Jan 2023 10:56:12 +0200 Message-Id: <83y1pwl103.fsf@gnu.org> From: Eli Zaretskii To: Frederic Santos In-Reply-To: <466627201.5564132.1674283431475.JavaMail.zimbra@u-bordeaux.fr> (message from Frederic Santos on Sat, 21 Jan 2023 07:43:51 +0100 (CET)) Subject: Re: bug#60982: 28.2; Behavior of read-file-name-default / read-file-internal References: <466627201.5564132.1674283431475.JavaMail.zimbra@u-bordeaux.fr> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60982 Cc: 60982@debbugs.gnu.org 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 (---) > Date: Sat, 21 Jan 2023 07:43:51 +0100 (CET) > From: Frederic Santos > > Not sure if that is a bug or not, but I noticed a strange behavior of find-file in some specific situations with Emacs 28.2. Say that I have three files in a given directory: > > . > ├── landmarks2.tps > ├── landmarks.tps > └── script.R > > 1. Open Emacs with emacs -q in this directory. > 2. Doing C-x C-f TAB proposes only one candidate, script.R, when I obviously expected three candidates. (Then, if you start typing 'l' in the minibuffer, you indeed get landmarks.tps and landmarks2.tps as candidates, but I'm not sure why they are not proposed initially.) The .tps extension is in completion-ignored-extensions (because TeX produces .tps files when it typesets a document). If you have non-trivial files with that extension, customize the variable to remove ".tps" from the list. This is not a bug. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 21 04:01:27 2023 Received: (at 60982) by debbugs.gnu.org; 21 Jan 2023 09:01:27 +0000 Received: from localhost ([127.0.0.1]:48047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ9kd-0005ys-FD for submit@debbugs.gnu.org; Sat, 21 Jan 2023 04:01:27 -0500 Received: from mout.gmx.net ([212.227.17.20]:39043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ9ka-0005ye-W3 for 60982@debbugs.gnu.org; Sat, 21 Jan 2023 04:01:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1674291667; bh=Q9DE7GB0PY9AAxiPbmiQLMfhM/IbFlPl7vZW9Uan8Yk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=JNb4vaSTgJ+oTfumFDuPd1+XYv6GYBSLrDH8vQupCG1L6ZSoFvwt8He1NiCrhtu91 QrZCettoz6YfCorFwKEvYlI7BAUeZWjG4qPyV9q85zoNNlgX0Q17Ib0rhMzH6Iq0PJ ibt6lqzTNvdetqkiD/PzLb3B6hYPPKv1VNa9QKKngQ5OUdrwHGDqPB3xZBARr8pZV2 vMlIx+rWzlxhNaTYDEhOMHElEUbr0hCchNg3C0yPSSAhfNMIW1L8VyE6pEY71utwbb BeGvHP0jHM0bzGNXoIjIG5EWz7h15wn7nV788nHM3iXJyFJpqMynCV/7J4xkAI4oyx YZpzkwJdv7Sqw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.37.45]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MmlTC-1ot8rt2dCo-00joLi; Sat, 21 Jan 2023 10:01:07 +0100 From: Michael Albinus To: Frederic Santos Subject: Re: bug#60982: 28.2; Behavior of read-file-name-default / read-file-internal In-Reply-To: <466627201.5564132.1674283431475.JavaMail.zimbra@u-bordeaux.fr> (Frederic Santos's message of "Sat, 21 Jan 2023 07:43:51 +0100 (CET)") References: <466627201.5564132.1674283431475.JavaMail.zimbra@u-bordeaux.fr> Date: Sat, 21 Jan 2023 10:01:02 +0100 Message-ID: <87fsc4tg6p.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:auirDbI6WRczGROH5o7lZIaM4YaJLRhoNNRiTVgokc55DUOn4X4 AJbXyZglVW7XaPdJQ1DcN3oX0/2VOmSvrOmr4iLXf7NArQqOiy2VaRODKdTBjFZ/FhIG2qH 5X4FlTENuOG7StQalKMF1FRNonTr/nwRvqtCi514qYlz/kaKUrXFjxmcN0aep20EcXoUUMu YexyAcJg1UCqz9n+JUKgw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:z1AthylcMq0=;PJkMbz1blT2tP7frpJqkxpjhDSD xp+uMCdpvutilBSeKhZ+/Z7bmHFPaahhAcd6eP1m4Lms7SgWCcT6orzg+NtPhqaSQmewjTkNz BA0+XrZ8ZvKWWLBTK0+mraBjCFs1yZQcJMEKG50T2Vk6cTcfmj1HXnmcmHp6ikuPVUlUQcSHo fU5pqK/fLxspdaPbmfMbTzoiw23wFnEPLdnpeitwWozsALWWzuK8gk4vXxQ8xCqyoZ1NVXqm8 MpfRPFAm3Uj/rA9ihxR5PDYJC6TaGe4Fv5d02y9e93bagOKP4BGkWEn5coW39N3VJ19eFkC+6 uvTp+2CuLFE66L51VdWJ8SdI+gMlNvfJOmxZRN43ReJm3268xG+x6kRpGw99mBUecchMo6iuz ItA5sYSYlc1wSboAFvYfPKxdAf3JBdjlQAoI3cEodJ6sv+BbNuFxrXqgsuspGFvwqqHUCRDAX uIEMbIF2TSa6wGuhD0IBFNzz6MR7j0CWSdvXbLenhn6qbMlxlVVxB5evN+W/moFsp05qnsiN0 phNeyvAe4dT/hJ8xicQu7Y64ECxnLGL4iFwZs20ke5gTgn9DxnuocCALg7rC3v597YrX7x5DZ hufd/DqvLxcHNy4/ul9Pmaf2uvFfst/7ot6Lh2/l0IoGwXTEKfASkpu89Alp6g9fQlGSr9aij n+UUG7PAoldezntE/PYCUlLaiKE6Hmza0KkvNqjqOVYpRIygzi5pghMdf3ANnnsMrM6plPC4P q379rZOSC3348N8NOiUw8h+reaU8iKxNv2kuZGE+qVbgDWYjaYXqh4dL0e/X0Pazh7Av1/+qh YJ3cdRTOUbQuVc7VZ1wyd21XM19zwxXa+Uq+tSov+1zq5vIfyPllBqaPUT2fGUpa8bMIo9udR Ele+Z5e8tFMuorC1T4kXvHwx3qmWjksXQq8gV5IhBzANR4Qn2FfZrMZlOSOIw6Si0GCap/s1p ZJNkqg== X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: Frederic Santos writes: > Hi, Hi Frederic, Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.37.45 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.20 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 60982 Cc: 60982@debbugs.gnu.org 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: Frederic Santos writes: > Hi, Hi Frederic, Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.20 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.37.45 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Frederic Santos writes: > Hi, Hi Frederic, > Not sure if that is a bug or not, but I noticed a strange behavior of fin= d-file in some specific situations with Emacs 28.2. Say that I have three f= iles in a given directory: > > . > =E2=94=9C=E2=94=80=E2=94=80 landmarks2.tps > =E2=94=9C=E2=94=80=E2=94=80 landmarks.tps > =E2=94=94=E2=94=80=E2=94=80 script.R > > 1. Open Emacs with emacs -q in this directory. > 2. Doing C-x C-f TAB proposes only one candidate, script.R, when I > obviously expected three candidates. (Then, if you start typing 'l' in > the minibuffer, you indeed get landmarks.tps and landmarks2.tps as > candidates, but I'm not sure why they are not proposed initially.) See variable completion-ignored-extensions. It contains ".tps", files with that extension are ignored in completion. When you type "l" these files are offered, because "It does not ignore them if all possible completions end in one of these strings" (from the docstring). > All the best, > F. Best regards, Michael.