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#27919: 25.2.50; dired + eshell-ls: fallback to external ls fails Date: Thu, 03 Aug 2017 00:59:31 +0900 Message-ID: <87lgn2vu3g.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501689644 30659 195.159.176.226 (2 Aug 2017 16:00:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 16:00:44 +0000 (UTC) Cc: john wiegley To: 27919@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 02 18:00:37 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 1dcw4a-0007Tz-Jx for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Aug 2017 18:00:36 +0200 Original-Received: from localhost ([::1]:48439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcw4g-0002Xi-EF for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Aug 2017 12:00:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcw48-0002BU-85 for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 12:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcw44-0007VV-5x for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 12:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcw44-0007V4-1a for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 12:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcw43-0007HO-ID; Wed, 02 Aug 2017 12:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: jwiegley@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Aug 2017 16:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27919 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: john wiegley Original-Received: via spool by submit@debbugs.gnu.org id=B.150168959027921 (code B ref -1); Wed, 02 Aug 2017 16:00:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2017 15:59:50 +0000 Original-Received: from localhost ([127.0.0.1]:38596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcw3p-0007GH-Pe for submit@debbugs.gnu.org; Wed, 02 Aug 2017 11:59:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcw3p-0007G4-11 for submit@debbugs.gnu.org; Wed, 02 Aug 2017 11:59:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcw3i-0007L6-Uj for submit@debbugs.gnu.org; Wed, 02 Aug 2017 11:59:43 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcw3i-0007Kt-RM for submit@debbugs.gnu.org; Wed, 02 Aug 2017 11:59:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcw3h-00025a-LL for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 11:59:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcw3d-0007Iv-Lf for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 11:59:41 -0400 Original-Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]:34221) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcw3d-0007If-FP for bug-gnu-emacs@gnu.org; Wed, 02 Aug 2017 11:59:37 -0400 Original-Received: by mail-pg0-x22f.google.com with SMTP id u185so22834831pgb.1 for ; Wed, 02 Aug 2017 08:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=M57OFvGBO0os0mcFTWnlfnBHUtwJcrI1b/ABLbWdDwo=; b=upLJHrlD5s4Da8jQiSAd1prYiyNTzCWF+Gysasoq5+vvPfhTgUIze3i3jYu9caPWyK yBYZpzI76yQ2LD5QQEEXwUeZKi3eb8fovkuKjSzrf94nsBcvbD7boA5Jzf8PXOcOEZBl 0wNjbfpl6OyEZBU0wXtwGrmEi43KGFMoLufB1j8/1TdJ2YwF0romGqY5tRE8/gdCZOqn W38bzzGQJMJPzVTGOQEvi97vNBn8AYOqAQF8qWJ8awKV7JFSw+wAjpjCzsMvrVajRICv YBK7YxO5Ntbun5+N+gq91dYsE6qDVlBlHesUMw/P2WVlpd+CEdKNu+H9HVQQH6j02KVV fi8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=M57OFvGBO0os0mcFTWnlfnBHUtwJcrI1b/ABLbWdDwo=; b=YFhNk+bTROs5uQoIW/uXw+E/Q/5LHx8/KZkcPT//LcxWMfXhYglJNdFz9tDzWwgOd2 r1VzFqUR/8s77r8+6msg4EBmFHn2m07MSkG24Wkio5FLZKLZa3DIRBhQvVI2nT4u05eU 6KPVSbxqPYR3pI3u+5NBw95fxF1nn80XMcMcfPi8zwZnuLuaiOHYPGIF5VKPRgZMENOR AapQSK7VSZshOaP3kpJ+R9v327AfseboIz7hWMxpZxlobLfIiubNy0pU+JEB0pg9mJxK owU+ACwJktQm5cCNq7cNpjmld8ozLTe/ThtcQYSwhmKV4OxAYOq85aZqKIppB7HlF+LW HLXg== X-Gm-Message-State: AIVw110sAM1xuy6X0rW4ybAVY5g7PJJE1sUi/MFjppLaZaeuPjQ+DHWs 6AngCF63NmWh5pCq X-Received: by 10.98.11.65 with SMTP id t62mr8814982pfi.119.1501689575993; Wed, 02 Aug 2017 08:59:35 -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 p126sm53429764pfp.28.2017.08.02.08.59.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Aug 2017 08:59:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:135242 Archived-At: X-Debbugs-CC: John Wiegley emacs -r -Q -l em-ls -l esh-cmd -eval "(customize-set-variable 'eshell-ls-use-in-dired t)" M-: (dired source-directory "-lg") RET ;; Signal eshell-interactive-output-p: (wrong-type-argument arrayp nil) It fails because eshell-current-handles is nil. Even if this variable is set, then (throw 'eshell-external ... in `eshell--do-opts' won't be catched. The following works: M-x eshell RET ls -lg (eval source-directory) RET In GNU Emacs 25.2.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-08-03 built on calancha-pc Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9.1 (stretch)