From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65089: 30.0.50; shell-command filename completion unexpected behavior change Date: Sat, 2 Sep 2023 13:07:45 -0700 Message-ID: References: <7e89aab4-41bb-384a-760d-9fd7830ff6b9@gmail.com> <83pm41sqbs.fsf@gnu.org> <13457d93-12a0-bf24-22b6-0b9e4e6ca4fa@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65089@debbugs.gnu.org, Augusto Stoffel To: Mauro Aranda , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 22:09:17 2023 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 1qcWvl-0001Ne-85 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 22:09:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcWvO-0008AY-Ob; Sat, 02 Sep 2023 16:08:54 -0400 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 1qcWvM-0008AP-SQ for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 16:08:52 -0400 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 1qcWvM-0003pn-KU for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 16:08:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcWvW-0006b1-7s for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 16:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65089 X-GNU-PR-Package: emacs Original-Received: via spool by 65089-submit@debbugs.gnu.org id=B65089.169368528625289 (code B ref 65089); Sat, 02 Sep 2023 20:09:02 +0000 Original-Received: (at 65089) by debbugs.gnu.org; 2 Sep 2023 20:08:06 +0000 Original-Received: from localhost ([127.0.0.1]:38726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcWub-0006Zp-W7 for submit@debbugs.gnu.org; Sat, 02 Sep 2023 16:08:06 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:55691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcWuX-0006ZH-Ul for 65089@debbugs.gnu.org; Sat, 02 Sep 2023 16:08:04 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-500cefc3644so398157e87.3 for <65089@debbugs.gnu.org>; Sat, 02 Sep 2023 13:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693685266; x=1694290066; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=YdefDcFvuM4BxfWp9UBmOI39NZPaTR7Nu8jom2qcZ1I=; b=TgEi5a3y2xgrx5T/PXjd1amMJ4+cM1vwLAR2iUv9wP1OGiLNmHnegOn8ijM7vw9SIS ORB9N42uuKcUFNXfkXc6ZBFXqN/bvrNA/hNS7POIMTC90zq7bcqGXk4jgIpPcNxaqHAa vfR2mBF0RhTkQNpGrhly6/fCgUh1aHwRs6i5Z/HLyWclwgWew6CdmELau4SRsieJj47v Y55fxmU9Amkac7u2ggth+vHyuuGZEWODhu5JehVOxQvxUOvefRbh6axq4puZy3taQ/Xz bGDo73hZ/iT86A0POIVVJYj7LlPAfH5VOG+wPwY4VeA6mZHko4Y79xpx3B6D91zwiJS8 D5oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693685266; x=1694290066; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=YdefDcFvuM4BxfWp9UBmOI39NZPaTR7Nu8jom2qcZ1I=; b=icdDM/nJnBTE2iJp5zK9Iu+HujEhDWvY8DdtrWJ/Xo+OmNMCyXLUcc35nBit0BC5MQ PtKqyivQewVEMZCLEEwrZZYf3NvQ0JE5bmVmkOLN7e5Wm76CNUXFmLSaHctcmC4MoeoJ 9IJbJSlw5iET5mLdduIcYSfMAmw73kVk/Oz3xEH4eVM6xBiucA+GJY6UXHh97zbrQIsB sLCqM9ow+QMa0xLylf1uB2uEOoUIm7UW+lXEoq7jH5LRZMvDc3N2Iux6ABvzWGaVeoZw 4zTisJ/Q2fIwTfu5GGE2wYWciahDg2f7dkck+qbmKBfctty7oEYnU9NZRjBDZiZT4DQ+ K8xA== X-Gm-Message-State: AOJu0YwxRPaqL+pzpsFkJeyadvaSXGXU61mGhGH5ZZEjmgY2H1sO/3UH 17iDYYZkbo8vPS5X3qJxsvCveCVaHfI9co/umxU= X-Google-Smtp-Source: AGHT+IELCIfco9HP0izCjMg24WHXZqTPSXJVlPqqbsCon2Hlxqz1tculrvNqdWlI3R+iN9EnyPFHZXHi5qCa9FEymc0= X-Received: by 2002:a05:6512:2395:b0:4ff:8d9e:d36f with SMTP id c21-20020a056512239500b004ff8d9ed36fmr5354175lfv.39.1693685265891; Sat, 02 Sep 2023 13:07:45 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 2 Sep 2023 13:07:45 -0700 In-Reply-To: <13457d93-12a0-bf24-22b6-0b9e4e6ca4fa@gmail.com> 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:269051 Archived-At: Mauro Aranda writes: > Stefan Monnier writes: > > >>> Now, with emacs -Q: > >>> M-! > >>> ls ~/bug/bar > >>> Put point between "/" and "b" of "bar" and type TAB > >>> emacs says "No match", but I expected it to offer completions, > foo-1 and > >>> foo-2. > >>> > >>> That was the behavior, at least in Emacs 28. Reverting the following > >>> commit, returns this behavior for me: > > > > The patch below adds yet another heuristic to try and handle the > > current case, but really we should rework the pcomplete API so as to > > provide us the right info to start with. > > I see.=C2=A0 Thanks for your explanation.=C2=A0 In the meantime, I confir= m that > your patch fixes this use case. Was this installed? I only see that the bug was left open.