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

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

Re: Optimal emacs shell for coding


From: David Hansen
Subject: Re: Optimal emacs shell for coding
Date: Tue, 12 Aug 2008 21:14:46 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Tue, 12 Aug 2008 21:30:55 +0300 Eli Zaretskii wrote:

>> From: Tim X <address@hidden>
>> Date: Tue, 12 Aug 2008 18:06:59 +1000
>> 
>> >> ~/web/emacs $ which grep
>> >> eshell/grep is a compiled Lisp function in `em-unix.el'
>> >> ~/web/emacs $ ls | grep lin
>> >> elisp_link_report.el                        modernization.html
>> >> elisp_link_report.el~
>> >> modernization_html_mail.html
>> >> elisp_link_report.html
>> >> modernization_meta_key.html
>> >> elisp_make_link.html                        ms_keyboard
>> >> emacs_installing_packages.html              wrap-url2.html.gz
>> >> emacs_manual_problem.html                   xah_emacs_linkify.el
>> >> emacs_n_unicode.html                        xah_emacs_linkify.el~
>> >> ~/web/emacs $
>> >>
>> >> -----------------------------
>> >>
>> >> LOL.
>> >>
>> >> Get back to work Len.
>> >
>> >
>> > Why do you think predictable behaviour is nice? ;-)
>> >
>> > Ok, you discovered the bug so it is your turn to file a bug report again 
>> > ...
>> 
>> don't think its a bug. This is eshell not handling redirection correclty
>> and is something that cannot be easily fixed. Bottom line, don't use
>> redirection in eshell.
>
> FWIW, I don't see anything wrong with the above: just unwrap the
> obviously wrapped lines, and you will see that everything is
> honky-dory.

But it's different from how bash + ls behave in a "normal" terminal.
When stdout for the `ls' command is not a tty it prints one file per
line (IMHO the right way).

David





reply via email to

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