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

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

RE: [h-e-w] how to run eshell in its own frame


From: Sprenger, Karel
Subject: RE: [h-e-w] how to run eshell in its own frame
Date: Wed, 2 Oct 2002 08:53:03 +0200

Jerry,

Just wrote the following function (an adaptation of mail-other-frame in 
sendmail.el):

-----8<-----
;; Start eshell in new frame
(defun eshell-other-frame (&optional arg)
  "Like `eshell' command, but display eshell buffer in another frame."
  (interactive "P")
  (let ((pop-up-frames t)
 (special-display-buffer-names nil)
 (special-display-regexps nil)
 (same-window-buffer-names nil)
 (same-window-regexps nil)
        (eshell-buffer (if (boundp 'eshell-buffer-name) eshell-buffer-name 
"*eshell*")))
    (pop-to-buffer eshell-buffer))
  (eshell arg))
-----8<-----

If you add that to your site-lisp.el or .emacs file and bind f5 to it, you 
should be happy.

Cheers,
Karel

-----Original Message-----
From: Jerry van Dijk [mailto:address@hidden
Sent: dinsdag 1 oktober 2002 23:16
To: address@hidden
Subject: [h-e-w] how to run eshell in its own frame




I have become rather fond of eshell. At the moment I have it attached
to a function key, like:

   (global-set-key [f5]       'eshell)

but what I would really like is to open eshell in its own frame. What
would be the proper elisp incantation for this ?

--
--  Jerry van Dijk   | email: address@hidden
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk




reply via email to

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