From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: RE: Color of new window C-x 5 2?
Date: Wed, 18 Mar 2020 07:48:24 -0700 (PDT) [thread overview]
Message-ID: <57333713-4bce-49bc-ba78-bb531f4f164f@default> (raw)
In-Reply-To: <<83pndafijl.fsf@gnu.org>>
> Did you try to change default-frame-parameters?
I meant to mention that `clone-frame', as
opposed to `make-frame', lets you, in effect,
have two different sets of frame parameters
for `C-x 5 2': `default-frame-alist' and
`clone-frame-parameters': If you use a prefix
arg with `clone-frame' then it just uses the
`default-frame-alist' parameters.
That's the purpose of `clone-frame'. You
don't need to redefine `default-frame-alist',
which affects all frames; you can use a
different set of parameters when you make a
new frame. (And you can auto-select the new
frame.)
---
clone-frame is an interactive compiled Lisp function in
'frame-cmds.el'.
It is bound to C-x 5 2, menu-bar frames make-frame.
(clone-frame &optional FRAME NO-CLONE)
Make and select a new frame with the same parameters as FRAME.
With a prefix arg, don't clone - just call 'make-frame-command'.
Return the new frame.
FRAME defaults to the selected frame. The frame is created on the
same terminal as FRAME. If the terminal is a text-only terminal then
also select the new frame.
next parent reply other threads:[~2020-03-18 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<CAKD0t1JO9X06G8zY1601UAFExA4Dn5eZ5QbyrCaBA2boOS0nuQ@mail.gmail.com>
[not found] ` <<83pndafijl.fsf@gnu.org>
2020-03-18 14:48 ` Drew Adams [this message]
2020-03-17 21:33 Color of new window C-x 5 2? Nicholas Papadonis
2020-03-17 22:17 ` Stephen Berman
2020-03-17 22:39 ` Drew Adams
2020-03-18 3:28 ` Eli Zaretskii
2020-03-18 15:52 ` Nicholas Papadonis
2020-03-18 16:37 ` Robert Pluim
2020-03-18 18:21 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57333713-4bce-49bc-ba78-bb531f4f164f@default \
--to=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).