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

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

Re: How to start shell and rename the buffer


From: Decebal
Subject: Re: How to start shell and rename the buffer
Date: Thu, 15 Jan 2009 04:48:07 -0800 (PST)
User-agent: G2/1.0

On 15 jan, 13:43, Decebal <CLDWester...@gmail.com> wrote:
> I sometimes want to start emacs with a shell, but I also want to
> rename the default name '*shell*'.
> I have:
>     emacs -title ${TITLE} --eval '(shell) (rename-buffer "shell")'
>
> But the buffername is not renamed.
> In *Messages* I see:
>     (emacs --eval (shell) (rename-buffer "shell"))
>
> And not an error or a warning.
> If I do 'M-:' and then '(rename-buffer "shell")' the buffer is
> renamed.
>
> What am I doing wrong?

I am using version 21.3 off Emacs, I can not change that.


reply via email to

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