From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74944: 31.0.50; Double TAB does not pop up *Completions* buffer when completing filename with dashes Date: Sat, 21 Dec 2024 13:31:04 +0100 Message-ID: <87cyhlusjb.fsf@ledu-giraud.fr> References: <87msgtyx32.fsf@gmail.com> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36912"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74944@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 13:32:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOyeV-0009Rr-IR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 13:32:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOyeL-0000fI-IL; Sat, 21 Dec 2024 07:32:05 -0500 Original-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 1tOyeI-0000eo-Gh for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 07:32:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOyeI-0007B3-7J for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 07:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=NhlQGI+Vh7TVqrOUZNdXcZ8jdTw6Ox4+ih0WHdx/cLg=; b=A4k0WMOloN6Jx13H+IJfXF9LgFZo0K7NXqQlrsMU9AqYRJPBREwhBET+9U0quR5SFvXF/wNru7TiA6eJ5/9HimUZqAgX8WGOhKRnjBBBxL38WNLL/LBFgDONaWkEMS1Z5Fa9Eu7eQqE9hjdsFbhnXj+S477V1pnZ4Pmw1bQw0NOdM1AYNZzLrOOjQXFrhH675V7nbmvzu592L536P8mJbdY904xFiGnR7MDh3HAQzAazVeWFtlXZBQ8PT5oEF7GKXqufJ80G0Q1De8f8LotcNMDP5hPBjN1W+HnsxjMSdfsqd1wXZdhfbBmLFkESAHSLI0rWYpH0j+LNPVgAIS59uQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOyeI-0007eq-1D for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 07:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 12:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74944 X-GNU-PR-Package: emacs Original-Received: via spool by 74944-submit@debbugs.gnu.org id=B74944.173478427129361 (code B ref 74944); Sat, 21 Dec 2024 12:32:01 +0000 Original-Received: (at 74944) by debbugs.gnu.org; 21 Dec 2024 12:31:11 +0000 Original-Received: from localhost ([127.0.0.1]:45613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOydT-0007dV-2J for submit@debbugs.gnu.org; Sat, 21 Dec 2024 07:31:11 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:42241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOydP-0007dH-QH for 74944@debbugs.gnu.org; Sat, 21 Dec 2024 07:31:09 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=o0JpaKyE Xs4v7FCtwh/f1q/+kE+gjoLHi2im6s8e8FE=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=ENYyqWqs5c36kwW/W+stihqJlTr0iv yPupdrmWQvYIIVRNoVuYhBf4f7VvMggaUNqB24z9500OtCLrYe3VoUCQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=o0JpaKyEXs4v7FCt wh/f1q/+kE+gjoLHi2im6s8e8FE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=jOa4dl+0yFqsLdXguZxdRIbgvyu7JXTAOCBrSD FljvrKhTBbYJVbiks6F7TtgEFNcs5+1yXGenTJCHcmIxB9dklq0WpF0UGPecAjdHID+WON gzoDLNKs9Tuc1bATZcC3zJiu1L8w8rKRzt3GJRKRwUmboLQD94QlXg6Ld/8bLSwEvgMTMv oO54o2oPLpGa9YDS0xaVSf7yFBzAC82FnLxXVeQRhFcpcWQOWJCYu0FB1kn8vt9vJNUbJ0 gAnptLvpeviVu04iPYhv460IXDOki6SbDh47oAHJDej9NMFx3whqRk8W0gaNmysNd38+pI X3p15/4SfKxFrpoqt/UUgGVg== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 5542434a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 21 Dec 2024 13:31:06 +0100 (CET) In-Reply-To: <87msgtyx32.fsf@gmail.com> (Visuwesh's message of "Wed, 18 Dec 2024 18:20:09 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297521 Archived-At: Visuwesh writes: > When completing filenames with dashes in them inside a shell-buffer, > double TAB does not pop open the *Completions* buffer because it > conflicts with argument completion. To reproduce, > > 1. cd /tmp > 2. mkdir test; cd test > 3. touch blah_blah-pos-1.xyz; touch wowow-pos-1.xyz > 4. Go to this directory in a shell buffer > 5. Type rm pos.xyz TAB > 6. Observe how it completes to `rm -pos-1.xyz' > 7. Press TAB again and observe *Completions* buffer not popping up Hi Visuwesh, I can reproduce this. FWIW, by instrumenting `shell-filename-completion' with edebug, I can see that there is a correct *Completions* buffer at some point but it "disappears" later. I'll try to investigate it further. -- Manuel Giraud