all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* change the default buffer in newly created frame to latest buffer  visited
@ 2009-05-11 21:41 Zhiliang
  0 siblings, 0 replies; only message in thread
From: Zhiliang @ 2009-05-11 21:41 UTC (permalink / raw
  To: help-gnu-emacs

Dear Emacs Users,

I'm using GNU Emacs 23.0.93 in Ubuntu 9.04. The daemon feature is
AWESOME. What I'm trying to do is to accomplish (1) when I need it,
one keystroke to bring up emaces, and (2) when I'm done with editing,
one keystroke to hide the emacs window. Here is what I did: in emacs,
I bind F6 to delete-frame, and in ubuntu I bind F7 to "emacsclent -c -
n". These two keybindings do almost what I want, except that
"emacsclent -c -n" create a new frame with *scrach* as the default
buffer. I'm wondering whether it is possible to recover the state
before last delete-frame was executed in the new frame (by state, I
mean window layout and buffers) .

Thanks!
Enjoy emacs!!!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-11 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 21:41 change the default buffer in newly created frame to latest buffer visited Zhiliang

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.