help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Executing init script after launching eshell


From: C K Kashyap
Subject: Executing init script after launching eshell
Date: Tue, 27 Mar 2012 13:28:46 +0530

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
reply via email to

[Prev in Thread] Current Thread [Next in Thread]