all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert Hundt" <robert_hundt@hp.com>
Subject: Re: Preserving window layout (follow up)
Date: Mon, 16 Jun 2003 21:23:48 GMT	[thread overview]
Message-ID: <EzqHa.2672$PR7.620@news.cpqcorp.net> (raw)
In-Reply-To: mailman.7740.1055367556.21513.help-gnu-emacs@gnu.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

Hey Matthew,

  please send me this function ... ;-)

-- Robert

"Matthew Calhoun" <calhounm@mac.com> wrote in message
news:mailman.7740.1055367556.21513.help-gnu-emacs@gnu.org...
Thanks for all the suggestions. I found a really helpful function that
I'm surprised nobody mentioned, though: set-window-dedicated-p prevents
Emacs from messing with a particular window. I wound up writing a small
function that sets up my windows as described, calls this function for
the shell window, and then calls the window-configuration-to-register
function that Johan mentioned. Seems to work pretty well.

Thanks again,
Matt

El Saturday, 7 June, 2003, a las 02:16  PM, Johan Bockgård escribió:

> Matthew Calhoun <calhounm@mac.com> writes:
>
>> Sort of a poor man's IDE. The problem is, when I do something like
>> command-apropos it wreaks havoc on my nice little environment - the
>> shell buffer grows to take up half of the frame, and the *Apropos*
>> buffer has taken the place of *shell*.
>
> Another approach
>
> ,----[ C-h k C-x r w ]
> | C-x r w runs the command window-configuration-to-register
> |    which is an interactive compiled Lisp function in `register'.
> | (window-configuration-to-register REGISTER &optional ARG)
> |
> | Store the window configuration of the selected frame in register
> REGISTER.
> | Use C-x r j to restore the configuration.
> | Argument is a character, naming the register.
> `----
>
> (info "(emacs)RegConfig")
>
> You might want to bind those to some nice keys.
>
> Also see
>
> (info "(emacs)Windows")
> (info "(emacs)Window Convenience")
>
> --
> The day Microsoft makes something that doesn't suck is probably the
> day they start making vacuum cleaners. -- Ernst Jan Plugge
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>

       reply	other threads:[~2003-06-16 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7740.1055367556.21513.help-gnu-emacs@gnu.org>
2003-06-16 21:23 ` Robert Hundt [this message]
     [not found] <E19S33S-00078x-Py@monty-python.gnu.org>
2003-06-17 16:29 ` Preserving window layout (follow up) Matthew Calhoun
2003-06-07 21:16 Preserving window layout Johan Bockgård
2003-06-11 18:53 ` Preserving window layout (follow up) Matthew Calhoun

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='EzqHa.2672$PR7.620@news.cpqcorp.net' \
    --to=robert_hundt@hp.com \
    /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.