GNU bug report logs - #60982
28.2; Behavior of read-file-name-default / read-file-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: Frederic Santos <frederic.santos@HIDDEN>; dated Sat, 21 Jan 2023 08:50:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 60982) by debbugs.gnu.org; 21 Jan 2023 08:56:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 21 03:56:18 2023
Received: from localhost ([127.0.0.1]:48035 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pJ9fe-0003V0-5Z
	for submit <at> 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 <eliz@HIDDEN>) id 1pJ9fd-0003Up-Dx
 for 60982 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Frederic Santos <frederic.santos@HIDDEN>
In-Reply-To: <466627201.5564132.1674283431475.JavaMail.zimbra@HIDDEN>
 (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@HIDDEN>
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 <at> debbugs.gnu.org
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 (---)

> Date: Sat, 21 Jan 2023 07:43:51 +0100 (CET)
> From: Frederic Santos <frederic.santos@HIDDEN>
> 
> 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.




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

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


Received: (at submit) by debbugs.gnu.org; 21 Jan 2023 08:49:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 21 03:49:52 2023
Received: from localhost ([127.0.0.1]:48018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pJ9ZN-0003KS-M7
	for submit <at> 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 <frederic.santos@HIDDEN>) id 1pJ7bk-0008UO-Is
 for submit <at> 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 <frederic.santos@HIDDEN>)
 id 1pJ7bk-00072N-0q
 for bug-gnu-emacs@HIDDEN; 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 <frederic.santos@HIDDEN>)
 id 1pJ7bh-0002KX-2x
 for bug-gnu-emacs@HIDDEN; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; Sat, 21 Jan 2023 07:43:51 +0100 (CET)
Date: Sat, 21 Jan 2023 07:43:51 +0100 (CET)
From: Frederic Santos <frederic.santos@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Message-ID: <466627201.5564132.1674283431475.JavaMail.zimbra@HIDDEN>
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@HIDDEN; 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 <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.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




Acknowledgement sent to Frederic Santos <frederic.santos@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#60982; 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: Sat, 21 Jan 2023 09:00:02 UTC

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