GNU bug report logs - #59207
minor inconsistency in filename completion listing

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; Severity: minor; Reported by: Nicolas Graner <nicolas@HIDDEN>; dated Fri, 11 Nov 2022 23:12:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@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; 11 Nov 2022 23:11:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 18:11:43 2022
Received: from localhost ([127.0.0.1]:47027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1otdBX-0001BA-9x
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2022 18:11:43 -0500
Received: from lists.gnu.org ([209.51.188.17]:43984)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nicolas@HIDDEN>) id 1otdBV-0001B3-Aq
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2022 18:11:42 -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 <nicolas@HIDDEN>)
 id 1otdBV-0000uh-6b
 for bug-gnu-emacs@HIDDEN; Fri, 11 Nov 2022 18:11:41 -0500
Received: from ouvsmtp1.octopuce.fr ([194.36.166.50])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nicolas@HIDDEN>)
 id 1otdBT-0007SP-AY
 for bug-gnu-emacs@HIDDEN; Fri, 11 Nov 2022 18:11:40 -0500
Received: from panel.vitry.ouvaton.coop (unknown [194.36.166.20])
 by ouvsmtp1.octopuce.fr (Postfix) with ESMTPS id 531421721
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Nov 2022 00:11:34 +0100 (CET)
Received: from hypra-graner (215.124.67.86.rev.sfr.net [86.67.124.215])
 by panel.vitry.ouvaton.coop (Postfix) with ESMTPSA id E83A35E2903
 for <bug-gnu-emacs@HIDDEN>; Sat, 12 Nov 2022 00:11:33 +0100 (CET)
From: Nicolas Graner <nicolas@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: minor inconsistency in filename completion listing
Date: Sat, 12 Nov 2022 00:11:33 +0100
Message-ID: <8735apulwa.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=194.36.166.50; envelope-from=nicolas@HIDDEN;
 helo=ouvsmtp1.octopuce.fr
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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 (--)

When reading a file name in the minibuffer, in some very specific cases
the names listed in the completion buffer are shown with their directory
instead of just the base name.

This is only a display problem, it doesn-t affect the file name actually
read.

Example (starting from emacs -Q):

M-x mkdir ~/d1<RET>
M-x mkdir ~/d2<RET>
M-x mkdir ~/x<RET>
M-x cd  ~/x<RET>
M-x cd ~/d<TAB>

The *Completions* buffer now shows:
    x/~/d1
    x/~/d2

instead of:
    d1
    d2

This seems to be an old bug (found in emacs 26, I haven't checked
before) still present in 29 master.

Nicolas




Acknowledgement sent to Nicolas Graner <nicolas@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#59207; 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, 12 Nov 2022 20:30:02 UTC

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