From: C K Kashyap <ckkashyap@gmail.com>
To: Tom Willemsen <tom@ryuslash.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Executing init script after launching eshell
Date: Tue, 27 Mar 2012 18:43:33 +0530 [thread overview]
Message-ID: <CAGdT1gqz+-dp2vfnF5er71LYxDr81gkuAifGNgwX7OcgUk_OGA@mail.gmail.com> (raw)
In-Reply-To: <m31uoegugk.fsf@ryuslash.org>
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
Thanks a lot Tom,
The `eshell/cd' function is what is executed when you type 'cd' into
> eshell, unless you have changed this. It doesn't change what you see in
> eshell though, so the `eshell-send-input' should send an empty command,
>
>
Oh, I now get the use of (eshell-send-input) ... I can even do
(progn
(eshell t)
(insert "cd /Users/kck")
(eshell-send-input)
)
Regards,
Kashyap
[-- Attachment #2: Type: text/html, Size: 652 bytes --]
prev parent reply other threads:[~2012-03-27 13:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 7:58 Executing init script after launching eshell C K Kashyap
2012-03-27 8:53 ` Tom Willemsen
2012-03-27 10:26 ` C K Kashyap
2012-03-27 11:21 ` Tom Willemsen
2012-03-27 13:13 ` C K Kashyap [this message]
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=CAGdT1gqz+-dp2vfnF5er71LYxDr81gkuAifGNgwX7OcgUk_OGA@mail.gmail.com \
--to=ckkashyap@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tom@ryuslash.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.
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).