all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.