From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#27844: 26.0.50; Dired w/ eshell-ls doesn't support wildcards in file name Date: Tue, 01 Aug 2017 12:00:39 +0900 Message-ID: <87lgn4j8ko.fsf@calancha-pc> References: <878tjasgom.fsf@calancha-pc> <87h8xyutc3.fsf@calancha-pc> <83inib393n.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501556489 1681 195.159.176.226 (1 Aug 2017 03:01:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 03:01:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27844@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 01 05:01:14 2017 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 1dcNQm-0007ox-9U for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 05:01:12 +0200 Original-Received: from localhost ([::1]:34196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNQn-0005Oo-7N for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jul 2017 23:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNQh-0005NQ-JG for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcNQc-0000iK-MJ for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcNQc-0000i5-Jc for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcNQc-0005t4-4r for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Aug 2017 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27844-submit@debbugs.gnu.org id=B27844.150155645222608 (code B ref 27844); Tue, 01 Aug 2017 03:01:02 +0000 Original-Received: (at 27844) by debbugs.gnu.org; 1 Aug 2017 03:00:52 +0000 Original-Received: from localhost ([127.0.0.1]:35955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcNQS-0005sa-C6 for submit@debbugs.gnu.org; Mon, 31 Jul 2017 23:00:52 -0400 Original-Received: from mail-pf0-f173.google.com ([209.85.192.173]:33104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcNQQ-0005sN-V7 for 27844@debbugs.gnu.org; Mon, 31 Jul 2017 23:00:51 -0400 Original-Received: by mail-pf0-f173.google.com with SMTP id d67so2121634pfc.0 for <27844@debbugs.gnu.org>; Mon, 31 Jul 2017 20:00:50 -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=ikWjAy3DCJDIfmUL6s3HFuTZCODxSdsqgnZ04ByN1VM=; b=QUiAr6ZDJ6aPv2m8s9TF/HShpG1YWBZx8sDh3HTkV9pYuT0eqcsXrgCRL5b+f1dcpt HnrFGg1U4gFbVwsDQEQRsp/1DlZXG+IvQgJWQnFkxIDL/+0gQyl05X3wp4k9UW6qDa6k Zrk0SqaFI4QP/DYiEnQFi7VbjKrs5uXt9+l9meEAWKHRCiAANrHoMvTDi02DbNBIIem/ U8IiEtI9g6e8Qr4dJGn8VG4TFY4HPxi17x+C62Se4TNKWe9m46qy7PpbASoZbDBvpzJ0 mNC0SqHCBFVMU8TlqQflkI+w/wGuq34brW1hTZc1U13y3Xb5eG0jkHLoqNZgux0mp2Ti oZtQ== 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=ikWjAy3DCJDIfmUL6s3HFuTZCODxSdsqgnZ04ByN1VM=; b=oDZkk/IZewKhsyD4AMGwim5jomGrLXw7b5Z3A/gLD5wmcoIMERwcPjWR77GY9wbyzW PsYDJLOn/bOhCU2OrDw55A9OqYs/s3aBDb7c3yxzBY/4KBtdbqgpm3IVhDn2Z6zuOcbx 7KtcTdqFeyyg3UopFurtS5n42Oo96fzohK0B+ulrmvX8PX7yyZrp5r6Vp7rWWxFSixik 1zNIeuKeW6vLXttplpjuL/kjYZQtrSQ/NWXtkLDgUJflI66EfJqOqB0xF1A9mdf4rRoc SuY0SMGgEOj9NnCcJNQ6fHsYBIPjxtk+6nqJoUIQ/TNbIvPmm00AJI0KGnjsZZHuE11B ddBg== X-Gm-Message-State: AIVw1101GaoGZBXIjq72V5bWyQJrFJTIjofpcCV8JgCLLiQhlVq6q8Te 5o7YN8w518ejP5Oz X-Received: by 10.98.89.22 with SMTP id n22mr17706191pfb.326.1501556444352; Mon, 31 Jul 2017 20:00:44 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id d127sm51273132pfa.171.2017.07.31.20.00.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Jul 2017 20:00:43 -0700 (PDT) In-Reply-To: <83inib393n.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Jul 2017 12:06:52 +0300") 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:135202 Archived-At: Eli Zaretskii writes: >> From: Tino Calancha >> Date: Thu, 27 Jul 2017 18:23:08 +0900 >> >> `eshell-extended-glob' returns a list of matches on success, otherwise >> it returns FILE; if no match i think we should signal an error. > > Whether this should be an error or just FILE is a matter of personal > preferences, I think. Some shells behave this way, others the other > way. So either we should leave your original patch as it was, or > introduce a defcustom to produce an error if the user so wants. Indeed such defcustom already does exist: eshell-error-if-no-glob (default to nil). You can see at the end of `eshell-extended-glob': (if eshell-error-if-no-glob (error "No matches found: %s" glob) glob) John designed this package very well.