unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: 27919@debbugs.gnu.org
Cc: john wiegley <jwiegley@gmail.com>
Subject: bug#27919: 25.2.50; dired + eshell-ls: fallback to external ls fails
Date: Thu, 03 Aug 2017 00:59:31 +0900	[thread overview]
Message-ID: <87lgn2vu3g.fsf@calancha-pc> (raw)

X-Debbugs-CC: John Wiegley <jwiegley@gmail.com>

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)





             reply	other threads:[~2017-08-02 15:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 15:59 Tino Calancha [this message]
2017-08-02 19:06 ` bug#27919: 25.2.50; dired + eshell-ls: fallback to external ls fails John Wiegley
2017-08-03  3:16   ` Tino Calancha
2017-08-03 18:47     ` John Wiegley
2017-08-03 21:35       ` Glenn Morris
2017-08-03 21:46         ` John Wiegley
2017-08-04  6:04           ` Eli Zaretskii
2017-08-04 17:05             ` John Wiegley
2017-08-04 17:23               ` Eli Zaretskii
     [not found]               ` <<83shh7w8le.fsf@gnu.org>
2017-08-04 17:37                 ` Drew Adams
2017-08-04  8:34           ` Tino Calancha
2022-02-10  7:59 ` Lars Ingebrigtsen
     [not found] <<87lgn2vu3g.fsf@calancha-pc>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgn2vu3g.fsf@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=27919@debbugs.gnu.org \
    --cc=jwiegley@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).