GNU bug report logs - #27843
26.0.50; Dired w/ eshell insert subdirs content when dir-or-list is a cons

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Thu, 27 Jul 2017 03:20:01 UTC

Severity: minor

Found in version 26.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 27843 <at> debbugs.gnu.org
Subject: bug#27843: 26.0.50; Dired w/ eshell insert subdirs content when dir-or-list is a cons
Date: Sat, 29 Jul 2017 12:07:35 +0300
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Thu, 27 Jul 2017 18:26:53 +0900
> 
> Tino Calancha <tino.calancha <at> gmail.com> writes:
> 
> > @@ -276,8 +276,10 @@ eshell-ls--insert-directory
> >            (let ((insert-func 'insert)
> >                  (error-func 'insert)
> >                  (flush-func 'ignore)
> > -                eshell-ls-dired-initial-args)
> > -            (eshell-do-ls (append switches (list file)))))))))
> > +                (switches (append eshell-ls-dired-initial-args
> > +                                  (and (consp dired-directory) (list "-d"))
> > +                                  switches)))
> > +            (eshell-do-ls (nconc switches (list file)))))))))
> Not just when dired-directory is a cons, _also_ if WILDCARD is non-nil
> we must just list the directory entry.

OK, thanks.




This bug report was last modified 7 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.