unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to start shell and rename the buffer
@ 2009-01-15 12:43 Decebal
  2009-01-15 12:48 ` Decebal
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Decebal @ 2009-01-15 12:43 UTC (permalink / raw)
  To: help-gnu-emacs

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?


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

end of thread, other threads:[~2009-01-16 10:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 12:43 How to start shell and rename the buffer Decebal
2009-01-15 12:48 ` Decebal
2009-01-15 13:49 ` Decebal
2009-01-16  4:52   ` Kevin Rodgers
2009-01-15 14:23 ` tyler
     [not found] ` <mailman.4931.1232029408.26697.help-gnu-emacs@gnu.org>
2009-01-15 14:37   ` Decebal
2009-01-15 14:40   ` Teemu Likonen
2009-01-15 15:34 ` Pascal J. Bourguignon
2009-01-15 16:51   ` Michael Albinus
2009-01-16 10:58   ` Decebal

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).