bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#699: grep in eshell incorrect


From: Glenn Morris
Subject: bug#699: grep in eshell incorrect
Date: Tue, 12 Aug 2008 22:42:49 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Actually, it seems this is easy to fix.
(Except that now eshell/ls behaves differently to normal ls at the end
of pipeline, but that's probably less common.)

*** em-ls.el    7 Jun 2008 02:37:12 -0000       1.33
--- em-ls.el    13 Aug 2008 02:37:48 -0000
***************
*** 635,641 ****
    "Output a list of FILES.
  Each member of FILES is either a string or a cons cell of the form
  \(FILE .  ATTRS)."
!   (if (memq listing-style '(long-listing single-column))
        (eshell-for file files
        (if file
            (eshell-ls-file file size-width copy-fileinfo)))
--- 635,642 ----
    "Output a list of FILES.
  Each member of FILES is either a string or a cons cell of the form
  \(FILE .  ATTRS)."
!   (if (or eshell-in-pipeline-p
!         (memq listing-style '(long-listing single-column)))
        (eshell-for file files
        (if file
            (eshell-ls-file file size-width copy-fileinfo)))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]