unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Executing init script after launching eshell
@ 2012-03-27  7:58 C K Kashyap
  2012-03-27  8:53 ` Tom Willemsen
  0 siblings, 1 reply; 5+ messages in thread
From: C K Kashyap @ 2012-03-27  7:58 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-27 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).