From: Kai Grossjohann <kai.grossjohann@gmx.net>
Subject: Re: Inject some eshell features into shell?
Date: Sun, 19 Oct 2003 12:56:30 +0200 [thread overview]
Message-ID: <86ismlijhd.fsf@slowfox.dyndns.org> (raw)
In-Reply-To: 3F9070CF.5070809@yahoo.com
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Kevin Rodgers wrote:
>
>> Here's a start. It's main deficiency is that it only works for commands
>> that take zero or one argument:
>
>
> This should fix that problem:
Hey, cool! It's not quite what I meant, but you're showing me the
interesting bits. I need to set comint-input-sender to my function,
and my function needs to fall back using comint-simple-send.
What I meant was something less automatic: Have an alist which says
which Lisp to invoke depending on the first word.
But maybe it's also good to use the eshell way of doing things: just
look for a kshell/foo function if the user entered foo.
When using eshell, I noticed that many Lisp functions are not suitable
to be called from the shell prompt. For example, cvs-update is a good
candiate, but it requires me to pass FLAGS (and DIRECTORY). It just
fees unnatural to type "cvs-update . nil" at the shell prompt, when
"cvs-update" ought to do.
But let me thank you again for showing me the way to do it. If I ever
get a round tuit, then of course I'll share my meagre results.
(For maximum bliss, I'll need to work on getting a decent shell under
Windows.)
--
Two cafe au lait please, but without milk.
next prev parent reply other threads:[~2003-10-19 10:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 19:36 Inject some eshell features into shell? Kai Grossjohann
2003-10-15 21:07 ` Stefan Monnier
2003-10-17 19:31 ` Kevin Rodgers
2003-10-17 22:44 ` Kevin Rodgers
2003-10-19 10:56 ` Kai Grossjohann [this message]
[not found] ` <mailman.1974.1066561040.21628.help-gnu-emacs@gnu.org>
2003-10-20 16:55 ` Kevin Rodgers
2003-10-19 12:31 ` Loops and scripting in eshell (was: Inject some eshell features into shell?) Oliver Scholz
2003-10-19 15:06 ` Loops and scripting in eshell Kai Grossjohann
[not found] ` <mailman.1980.1066576051.21628.help-gnu-emacs@gnu.org>
2003-10-19 20:04 ` Oliver Scholz
2003-10-19 20:15 ` Oliver Scholz
2003-10-19 20:45 ` David Kastrup
2003-10-20 21:27 ` Kai Grossjohann
2003-10-20 23:44 ` Oliver Scholz
2003-10-21 9:05 ` David Kastrup
2003-10-21 16:05 ` Kai Grossjohann
2003-10-20 19:48 ` Reiner Steib
2003-10-21 8:55 ` Oliver Scholz
2003-10-22 10:55 ` Inject some eshell features into shell? Matthias Meulien
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=86ismlijhd.fsf@slowfox.dyndns.org \
--to=kai.grossjohann@gmx.net \
/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.
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).