From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31495: 26.1; filename completion -vs- "*" Date: Wed, 20 Jun 2018 08:36:35 -0400 Message-ID: <87d0wlskh8.fsf@gmail.com> References: <877eo1gern.fsf@tromey.com> <87wovzzs8c.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529498515 20134 195.159.176.226 (20 Jun 2018 12:41:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 12:41:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Tom Tromey , Michael Albinus , 31495@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 14:41:51 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVcQo-000575-KI for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 14:41:50 +0200 Original-Received: from localhost ([::1]:49208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVcSv-0000cR-LH for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 08:44:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVcMD-0002zH-Dr for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 08:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVcMA-0001yQ-A3 for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 08:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49253) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVcMA-0001yG-5d for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 08:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVcM9-0002qF-V8 for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 08:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jun 2018 12:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31495-submit@debbugs.gnu.org id=B31495.152949820810904 (code B ref 31495); Wed, 20 Jun 2018 12:37:01 +0000 Original-Received: (at 31495) by debbugs.gnu.org; 20 Jun 2018 12:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:57150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVcLu-0002ph-Gc for submit@debbugs.gnu.org; Wed, 20 Jun 2018 08:36:46 -0400 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:38053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVcLs-0002pP-Mb; Wed, 20 Jun 2018 08:36:44 -0400 Original-Received: by mail-io0-f171.google.com with SMTP id l19-v6so3294714ioj.5; Wed, 20 Jun 2018 05:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=huzaM4gUThgr96bYs52MYjn1URXouJ3z2ze7LDBh1BQ=; b=suJjrdyIbt+LSdrSc8m839PlQOIUk/S8Kxp30X0zKkKGraD2dPhiWAhshfDCOFQhVG akx+W8r9G/SUnG4uQ8iDI1NaR2iXXmSS2IkQiC/QCt1n+zeKADqUtTfMYIthebmw3eUT w7h0oOZoqEva+nY4ePlo9lpPTRffUZ7IK7Utr1YYSMycW2mgBjAHpAmnTNE3a6e+3SdM 9zLuVKnMdK2mgF8/W8TO2XuvMDSSq1K1QH5fJRiSlW2JjdIe9tTCd5JvefCe/Zx2+Mna 3YrCi2oxZmRhSJqSZpKoombAvztOMOO+CaphxqiBjR8TN4o/T0/UR87kmxBEWlL1OEwA x/Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=huzaM4gUThgr96bYs52MYjn1URXouJ3z2ze7LDBh1BQ=; b=gRhSX/lCTtASX1lRphjfE/zxkWFiVfbsiCGQfK5pJb0wPeMOMWs1V1TppXxpE2kQzJ y8u9be71dhxEEdGm4LUBIpoElqLLPzxQl5+9yMrzNhNJqMPILY+SYWgAySjv9XBw00ny 1XnAVuI7sZigIMIiUwJPqKdIGAzidNqlMHvpi5dEp0oLN1n44IWraYuGM1iUeEkAzLvG bcMpvHgKyqZsrtdHAclrp1RoD+zPVgqHGbrGumvjyrfbVXfU6hFZQyLhG5/wxmSkyr1A BmWUjpIxEkSA/NGsZVD0ApPFhSHVy/G5B6LPzVjwU+DGjRzqwcOX0OqdDajlyVUeqYYs ChPg== X-Gm-Message-State: APt69E3+SAMJ1PrDlWqqU2wlO7hokmlr60fDJntTaVLRiWZgcDRb1GTL /GyHJyhNmpFb0TSaEwubmHpGHw== X-Google-Smtp-Source: ADUXVKJeuu6edzQA2fMqk4ZgjaNwJUpMTyXokgWlUtsd4otCELHrGLlI/xbOCsfWxbtic8BXcjJWng== X-Received: by 2002:a6b:a155:: with SMTP id k82-v6mr17132237ioe.46.1529498198953; Wed, 20 Jun 2018 05:36:38 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id h81-v6sm7272965ith.2.2018.06.20.05.36.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 05:36:37 -0700 (PDT) In-Reply-To: <87wovzzs8c.fsf@gmail.com> (Tino Calancha's message of "Sat, 19 May 2018 22:32:03 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147653 Archived-At: severity 31495 minor quit Tino Calancha writes: > Tom Tromey writes: > >> Now in Emacs, C-x C-f /tmp/a/*/c TAB >> >> On the first TAB, a "/" is appended, and then point moves to the "/" >> before "c". > Yeah, it's broken. > In this example adding a '/' makes the completion works > C-x C-f /tmp/a/*/c/ TAB Hmm, that makes it seem like the different behaviour without the trailing slash is on purpose (though I can't see what that would be). > +(defconst dired-enable-globstar-in-shell > + '(("ksh" . "set -G") > + ("bash" . "shopt -s globstar")) > + "Alist of (SHELL . COMMAND), where COMMAND enables globstar in SHELL. > +If `dired-maybe-use-globstar' is non-nil, then `dired-insert-directory' > +checks this alist to enable globstar in the shell subprocess.") Shouldn't this be a defvar or a defcustom? Using defconst makes it seem like the code wouldn't handle it being changed.