|
From: | Nascif Abousalh-Neto |
Subject: | RE: [h-e-w] Starting a second shell |
Date: | Wed, 12 Dec 2001 13:31:52 -0500 |
I used to manually rename the buffer as well, but I think it is faster to use the rename-uniquely command:
=============================================
<f12> runs the command rename-uniquely
which is an interactive compiled Lisp function in `files'.
(rename-uniquely)
Rename current buffer to a similar name not already taken.
This function is useful for creating multiple shell process buffers
or multiple mail buffers, etc.
=============================================
In my .emacs I have:
(global-set-key [f12] 'rename-uniquely)
There is also a package called fshell (by Noah Friedman) that provides an elegant solution to this problem. You can get it at ftp://ftp.splode.com/pub/users/friedman/emacs-lisp/fshell.el or http://www.geocrawler.com/archives/3/338/1995/4/0/1877213/
Regards,
Nascif Abousalh-Neto
> -----Original Message-----
> From: address@hidden [mailto:address@hidden]
> Sent: Wednesday, December 12, 2001 1:04 PM
> To: Joe Riel
> Cc: address@hidden
> Subject: Re: [h-e-w] Starting a second shell
>
>
> >>>>> "joe" == Joe Riel <address@hidden> writes:
>
> joe> How do I start a second shell in NTemacs? M-x shell
> brings up an existing shell.
> joe> Joe Riel
>
> In my experience, M-x shell looks for a buffer named
> "*shell*" and just
> switches to it if it exists. What I've done is just rename the
> "*shell*" buffer to another name, then M-x shell again.
>
> ...cj
>
> --
> --------------------------------------------------------------
> ----------------
> Christopher J. White
> address@hidden
> --------------------------------------------------------------
> ----------------
>
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |