From: Aidan Gauland <aidalgol@amuri.net>
To: Tassilo Horn <tsdh@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Some more eshell problems
Date: Fri, 07 Jun 2013 15:56:50 +1200 [thread overview]
Message-ID: <87mwr2o9od.fsf@dimension8.tehua.net> (raw)
In-Reply-To: <87hahel63t.fsf_-_@thinkpad.tsdh.de> (Tassilo Horn's message of "Tue, 04 Jun 2013 08:53:10 +0200")
Tassilo Horn <tsdh@gnu.org> writes:
> While we're at it, here are some other things:
>
> 1. I'm a bit unsure about what prefixing commands with * actually means.
> John Wiegley told me on IRC that it means "don't do any special
> interpretation", and I assumed that includes interpreting commands
> visually. But still,
>
> $ *top
>
> shows top in a term buffer.
My understanding is that the * prefix tells Eshell to use the external
command instead of the built-in lisp command (if any). So, for example,
ls invokes the lisp function eshell/ls, but *ls invokes /bin/ls. I'll
have to take some time to check this in the source code. (The command
parser is a bit of a mess.)
> 2. When I update my emacs checkout in eshell, I get this:
>
> $ bzr pull
> Using saved parent location: bzr+ssh://tsdh@bzr.savannah.gnu.org/emacs/trunk/
> No revisions or tags to pull.
> Killed by signal 1.
>
> Doing the same in zsh or bash, I get the same output except for the
> "Killed by signal 1.". In all three cases, the return code $? is 0.
> It seems that only happens with bzr commands, not with git or hg
> commands. So it's probably a bzr problem, right?
OK, that is really weird, and I have no idea where to start debugging
this, but I'd hazard a guess that it is Eshell weirdness, not bzr.
> 3. Sometimes, when I run "git log" or "bzr log" as visual commands, the
> output is correctly shown in a term buffer, but when I hit q the mode
> line switches from (Term: char run) to (Term: char no process) and
> the buffer isn't killed. I have no clue when this happens, but when
> it does, it seems to stay that way for the whole emacs session.
That sounds like a problem with term (or ansi-term, whichever Eshell
invokes), but I suppose it's possibly a problem with how Eshell is
(possibly erratically) invoking (ansi-)term.
--Aidan
next prev parent reply other threads:[~2013-06-07 3:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 10:58 [Eshell patch] Visual subcommands and options Tassilo Horn
2013-06-01 9:49 ` Tassilo Horn
2013-06-01 21:41 ` Aidan Gauland
2013-06-02 9:28 ` Tassilo Horn
2013-06-03 0:11 ` Aidan Gauland
2013-06-03 7:15 ` Tassilo Horn
2013-06-03 20:04 ` Aidan Gauland
[not found] ` <87hahel63t.fsf_-_@thinkpad.tsdh.de>
2013-06-07 3:56 ` Aidan Gauland [this message]
2013-06-07 11:38 ` Some more eshell problems Tassilo Horn
2013-06-07 12:39 ` Thierry Volpiatto
2013-06-07 16:25 ` Tassilo Horn
2013-06-09 7:07 ` Eshell visual commands with redirection bug Aidan Gauland
2013-06-09 9:47 ` Tassilo Horn
2013-06-10 1:41 ` Aidan Gauland
2013-06-10 7:21 ` Tassilo Horn
2013-06-10 8:20 ` Aidan Gauland
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwr2o9od.fsf@dimension8.tehua.net \
--to=aidalgol@amuri.net \
--cc=emacs-devel@gnu.org \
--cc=tsdh@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.