From: Zhiliang <zhiliang.ma@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: change the default buffer in newly created frame to latest buffer visited
Date: Mon, 11 May 2009 14:41:28 -0700 (PDT) [thread overview]
Message-ID: <ea4fea27-5676-4d11-8052-126026e81e0d@l28g2000vba.googlegroups.com> (raw)
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!!!
reply other threads:[~2009-05-11 21:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea4fea27-5676-4d11-8052-126026e81e0d@l28g2000vba.googlegroups.com \
--to=zhiliang.ma@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.