From: Lars Haugseth <njus@larshaugseth.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Expand/unexpand window possible?
Date: 12 Mar 2009 12:07:28 +0100 [thread overview]
Message-ID: <m17i2vq9sf.fsf@vader.eiendomsnett.no> (raw)
In-Reply-To: 7cocw7c9w3.fsf@pbourguignon.anevia.com
* pjb@informatimago.com (Pascal J. Bourguignon) wrote:
>
> Lars Haugseth <njus@larshaugseth.com> writes:
>
> > When typing C-x 1 in a multi-window frame, the current window will fill
> > the entire frame, but all other windows will be deleted so that there will
> > be no going back to the previous multi-window setup. Is there any way to
> > achieve this expand/unexpand functionality without major elisp wizardry on
> > my part?
>
> What about minor elisp wizardry on MY part?
>
> (defun temporarily-expand ()
> (interactive)
> (save-window-excursion
> (delete-other-windows)
> (message "Finish with %s"
> (describe-key-briefly (first (where-is-internal 'abort-recursive-edit))))
> (recursive-edit)))
Lovely! Much appreciated.
--
Lars Haugseth
"If anyone disagrees with anything I say, I am quite prepared not only to
retract it, but also to deny under oath that I ever said it." -Tom Lehrer
next prev parent reply other threads:[~2009-03-12 11:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-12 10:03 Expand/unexpand window possible? Lars Haugseth
2009-03-12 10:29 ` Pascal J. Bourguignon
2009-03-12 11:07 ` Lars Haugseth [this message]
2009-03-12 12:42 ` cmic
2009-03-12 12:51 ` Anders Wirzenius
2009-03-12 13:23 ` Pascal J. Bourguignon
2009-03-12 16:32 ` cmic
2009-03-12 13:34 ` rustom
2009-03-12 15:44 ` Pascal J. Bourguignon
2009-03-12 18:25 ` Evans Winner
2009-03-12 11:17 ` Marc Tfardy
2009-03-12 14:38 ` Andy Stewart
2009-03-12 17:42 ` Jim Burton
2009-03-12 21:35 ` Bernardo
2009-03-16 11:21 ` Lars Haugseth
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=m17i2vq9sf.fsf@vader.eiendomsnett.no \
--to=njus@larshaugseth.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.