all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: C K Kashyap <ckkashyap@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Executing init script after launching eshell
Date: Tue, 27 Mar 2012 13:28:46 +0530	[thread overview]
Message-ID: <CAGdT1gpOjn=wp7eWyUK31Jd7Zv=riqW6gEMJS6Ume4fFj59eKw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hi All,

Here's what I'd like to be doing - When I start emacs, I typically open up
multiple eshells to do different kinds of compilation etc. Is there  a way
to retain the "session" in such a manner that all open eshells are also
retained.

As a workaround I was attempting to write a script that would open up the
necessary eshells -

(progn
   (eshell)
   (rename-buffer "b1")
    (insert "cd path1\n")
    (eshell)
   (rename-buffer "b2")
    (insert "cd path2\n")
)
The problem is that I am not able to cd into the right place in eshell
using (insert "cd path1\n") !!!

Regards,
Kashyap

[-- Attachment #2: Type: text/html, Size: 725 bytes --]

             reply	other threads:[~2012-03-27  7:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  7:58 C K Kashyap [this message]
2012-03-27  8:53 ` Executing init script after launching eshell 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

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='CAGdT1gpOjn=wp7eWyUK31Jd7Zv=riqW6gEMJS6Ume4fFj59eKw@mail.gmail.com' \
    --to=ckkashyap@gmail.com \
    --cc=help-gnu-emacs@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.