From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default Date: Fri, 14 Sep 2018 09:32:42 -0700 (PDT) Message-ID: <1286c155-b91e-4a13-9b1a-b77b9d94887f@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536942730 5872 195.159.176.226 (14 Sep 2018 16:32:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 16:32:10 +0000 (UTC) To: 32736@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 18:32:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0r0o-0001RX-4r for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 18:32:06 +0200 Original-Received: from localhost ([::1]:52539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0r2u-00040U-Gb for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 12:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0r2l-00040G-UV for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0r2h-0000E0-0A for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:34:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0r2g-0000Ds-S8 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g0r2g-0008Eh-My for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2018 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153694278831579 (code B ref -1); Fri, 14 Sep 2018 16:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2018 16:33:08 +0000 Original-Received: from localhost ([127.0.0.1]:40872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0r1o-0008DH-G2 for submit@debbugs.gnu.org; Fri, 14 Sep 2018 12:33:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0r1m-0008Co-R1 for submit@debbugs.gnu.org; Fri, 14 Sep 2018 12:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0r1g-00081t-Qk for submit@debbugs.gnu.org; Fri, 14 Sep 2018 12:33:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0r1g-00081n-NX for submit@debbugs.gnu.org; Fri, 14 Sep 2018 12:33:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0r1e-0003uj-R9 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:33:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0r1X-0007uy-T5 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:32:58 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:38294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0r1X-0007uL-J3 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2018 12:32:51 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8EGTILE192544 for ; Fri, 14 Sep 2018 16:32:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=zKU/TzqkeKUfxlX1F8NWiI1CX8+OUBiQ9DHNjiTgbWQ=; b=1lZYPuZPjLqiZ0CG17xwro3hFwsZQST/ZFApTUehJDrf7Jgspm/0xYipGqBMGWnxOGoi WDvMd0fn9YdnsaOOqI745thE0zX9GOp4kB6jL4jWOvEQ3ejBUxbSZ/Rj59+xPLHGk4WS 2nBdEJwdkmygrPYP8FvBIqaFPR002SNQfOdoNfGjpVjxZX39fZHYiQg5iEAtZ+w5hYCC PbEPLKTnirPaGygGF7WkP5OX2obDN5XnvbvcWx+xAJc1i0HGkSrnlRGzG137R7JmbXRk NH95x+BV5jRRgwLvq96ChPVU1kAWhaITzEbVueCLmaHxXwkXVn+i9gi43Jj8IecSA+Cb ZA== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2mc72r82h3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 14 Sep 2018 16:32:49 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8EGWhOq005061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 14 Sep 2018 16:32:43 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8EGWhvb011621 for ; Fri, 14 Sep 2018 16:32:43 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9015 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809140168 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150318 Archived-At: Possible enhancement: Change default binding of `C-x 5 2' to `clone-frame'. Unlike `make-frame-command', `clone-frame' would use the same frame-parameter values as the selected frame. Here's a possible definition of `clone-frame': (defun clone-frame (&optional frame) "Make a new frame with the same parameters as 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." (interactive) (let* ((default-frame-alist (frame-parameters frame)) (new-fr (make-frame))) (unless (display-graphic-p) (select-frame new-fr)))) In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3''