From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 02 20:04:01 2019 Received: (at submit) by debbugs.gnu.org; 3 Mar 2019 01:04:01 +0000 Received: from localhost ([127.0.0.1]:57971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0FXs-0000uA-Mg for submit@debbugs.gnu.org; Sat, 02 Mar 2019 20:04:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0FXq-0000tu-F2 for submit@debbugs.gnu.org; Sat, 02 Mar 2019 20:03:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:33069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0FXk-0003x5-Pw for submit@debbugs.gnu.org; Sat, 02 Mar 2019 20:03:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0FXj-0003so-Rb for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 20:03:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0FIE-0006Ap-7x for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 19:47:50 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:42762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0FIE-00067N-08 for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2019 19:47:50 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x230i0UJ101987 for ; Sun, 3 Mar 2019 00:47:48 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=M/pc8FSsuR40dwvxZQdjz23EKjTGWKD6d+Pxu7EuJBg=; b=b5a3uT7CImVVwE/D9eGUMtSEDyvwFqiXXQzFvMJOxsLBOyI4kGB/nb/XNlNt/VAWr2gL yIjFHv5aiX6rTITBpi3G+dNznQ21vR066t5IqHdYdbYrJxilrSoiT5tEJjCADWMgdI9V 5m/wY028DnfLNhNENXutKheBTeKV+daHE5S6YegkM1w/1G86DhH/t0XOJZnp78js/+ag cXjdxVLBZICc7SermQBLcTrw/R0ewic3P+c+uR0+aI+wjaatlzaYhDJPkJeekFqhFlTX I7F81xcithfFnHNvPIGNJCIP4KPy2d0C+OS3bVDk+gVyKkTu6o57GhnGMbLBATHbT0lN fw== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2qyfbdtcwa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 03 Mar 2019 00:47:48 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x230lm4X024744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 3 Mar 2019 00:47:48 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x230llb2005753 for ; Sun, 3 Mar 2019 00:47:48 GMT MIME-Version: 1.0 Message-ID: <17bef02b-7dd4-4086-828f-59488a836ac1@default> Date: Sat, 2 Mar 2019 16:47:47 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4810.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9183 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903030004 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.79 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Enhancement request: 1. Add a `clone-frame' command such as this one, which is similar to what I've been using: (defun clone-frame (&optional frame no-clone) "Make a new frame with the same parameters as FRAME. With a prefix arg, don't clone - just call `make-frame-command'. 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 "i\nP") (if no-clone (make-frame-command) (let* ((default-frame-alist (frame-parameters frame)) (new-fr (make-frame))) (unless (display-graphic-p) (select-frame new-fr)) new-fr))) 2. Use it, not `make-frame-command', as the binding of `C-x 5 2'. Why change the default behavior of `C-x 5 2'? If I want the buffer of the selected window shown in another frame then I typically want that frame to have the same parameters. It's true that I often have only one window in the selected frame, which is not typical of other users, and in that case it perhaps makes even more sense that I want `C-x 5 2' to duplicate the frame's parameters. But I think that most users are likely to prefer, as the default behavior, keeping the same parameters. (`C-u' gives `make-frame-command', i.e., the frame parameters are not cloned.) An open question, I guess. 3. BTW, I think it would be good to add this to the doc string of `make-frame-command': Return the new frame. 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.17134 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 07:52:51 2019 Received: (at control) by debbugs.gnu.org; 3 Mar 2019 12:52:51 +0000 Received: from localhost ([127.0.0.1]:58143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0Qbq-0005IG-P6 for submit@debbugs.gnu.org; Sun, 03 Mar 2019 07:52:51 -0500 Received: from mail-it1-f176.google.com ([209.85.166.176]:33291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0Qbo-0005I3-Ui for control@debbugs.gnu.org; Sun, 03 Mar 2019 07:52:49 -0500 Received: by mail-it1-f176.google.com with SMTP id f186so2694960ita.0 for ; Sun, 03 Mar 2019 04:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=3sOcq+6PIR/PJb9hKgrDr69cKVY39Y74L9JUrX1PI7s=; b=qZQtPgFkD/D85aiENzzII8VqGpWmhb2tHOlgP//8BqHrNbIr3UvfO9S838SaOw//Jf 0uE6w3gU6ID1x1e2x0QK6RyKztyoabXHeBKCfxLtQvMrSBC1xEUX+8UbrGpMEbwzThXg 41unGuwwW4WoCR0WGeiu7z/Ui7zbMatbIq4J8BuE2xQKyM47hsHU44En7t28kKH7wgMX PH/f62OsK0FcbAxriVbnfY6nBpuG63I3jxSJQCcacBZUsz2arjQYeYRkU7F1QnHVOUzO F9D30L/UVGi2fpT6RE4KZ33pRXMlEIhvCE23iNPpFZEwFBrUVjgybLJGpOZ0cGiYZ5zG hIHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=3sOcq+6PIR/PJb9hKgrDr69cKVY39Y74L9JUrX1PI7s=; b=b08dvGsofZjYhHDX7nn6gjj3si6N+2wPTEs4rTBR2yNoZqsAs14/rT92sLeu5KFZ/D +CQrOpfpM7Ty5qq+0n+GqNZLogtxc9C56wGQLaAUY5fPyAN8m8DcVp39SjcX56eU5Ptx gGG4c7udfAaNczJ7YO/yXCpyaeRV9EhdTXLkvHK6KFcel5hvHb+voUhCZ6C/2HBSIDJT U/p5BDaPHyPcoOZWzGbCG3xIPjSjnw0pFDshm53RoqEBEyQ4DcIu9870k+EdQNulW50R pfz/W0Nyey8T+lIR8flfoSdR8f1nLLS3/1idXzGdXlIRJS2HoHgovYMdQCnW8G9LY75u 18zg== X-Gm-Message-State: APjAAAU8V1HCYif/1Tmpbn6onGMcEfLzp/RVSdaRKLS3hZ0ZWU9RYCbe vEi1epGqRFtpuur/1Jx+LvsLf8e8 X-Google-Smtp-Source: AHgI3IZjkYrNq+9UMgybycogkq5K+hkqpMwnJqgfQZwqxw++8sdANiyLgvS5Gl+rfBC51WIupurHNw== X-Received: by 2002:a05:660c:6c3:: with SMTP id z3mr8092729itk.83.1551617563181; Sun, 03 Mar 2019 04:52:43 -0800 (PST) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e5sm1758897ite.33.2019.03.03.04.52.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Mar 2019 04:52:42 -0800 (PST) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #34715 Date: Sun, 03 Mar 2019 07:52:41 -0500 Message-ID: <87ef7ot90m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 34715 32736 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 11:12:35 2019 Received: (at 34715) by debbugs.gnu.org; 4 Mar 2019 16:12:36 +0000 Received: from localhost ([127.0.0.1]:60096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qCh-0007pD-Kf for submit@debbugs.gnu.org; Mon, 04 Mar 2019 11:12:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qCf-0007oz-6r for 34715@debbugs.gnu.org; Mon, 04 Mar 2019 11:12:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0qCZ-0004iI-HB; Mon, 04 Mar 2019 11:12:27 -0500 Received: from [176.228.60.248] (port=1218 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h0qCZ-00064G-3Z; Mon, 04 Mar 2019 11:12:27 -0500 Date: Mon, 04 Mar 2019 18:12:21 +0200 Message-Id: <83sgw2ehzu.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <17bef02b-7dd4-4086-828f-59488a836ac1@default> (message from Drew Adams on Sat, 2 Mar 2019 16:47:47 -0800 (PST)) Subject: Re: bug#34715: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Date: Sat, 2 Mar 2019 16:47:47 -0800 (PST) > From: Drew Adams > > 1. Add a `clone-frame' command such as this one, which is similar to > what I've been using: > > (defun clone-frame (&optional frame no-clone) > "Make a new frame with the same parameters as FRAME. > With a prefix arg, don't clone - just call `make-frame-command'. > > 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 "i\nP") > (if no-clone > (make-frame-command) > (let* ((default-frame-alist (frame-parameters frame)) > (new-fr (make-frame))) > (unless (display-graphic-p) (select-frame new-fr)) > new-fr))) > > 2. Use it, not `make-frame-command', as the binding of `C-x 5 2'. I'm okay with adding a new command, but rebinding "C-x 5 2" by default at the same time is a non-starter. We should first let people use the new command, and should see how many of them ask to change the default binding. > Why change the default behavior of `C-x 5 2'? If I want the buffer > of the selected window shown in another frame then I typically want > that frame to have the same parameters. That's what default-frame-alist is for. If you are used to change the parameters of your frames a lot during their lifetime, which presumably means each of your frames might look and work differently, it is not entirely clear to me that "C-x 5 2" should produce a clone of the random frame where you just happened to type the command. It could even cause trouble/unexpected behavior, with some exotic parameters, at least in principle. So I think we definitely should collect more experience before changing this veteran binding. > 3. BTW, I think it would be good to add this to the doc string of > `make-frame-command': > > Return the new frame. "When called from Lisp, return the new frame." From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 12:25:31 2019 Received: (at 34715) by debbugs.gnu.org; 4 Mar 2019 17:25:32 +0000 Received: from localhost ([127.0.0.1]:60145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0rLH-0001Iw-Er for submit@debbugs.gnu.org; Mon, 04 Mar 2019 12:25:31 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:33608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0rLF-0001Ii-Q9 for 34715@debbugs.gnu.org; Mon, 04 Mar 2019 12:25:30 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x24HOP1U014780; Mon, 4 Mar 2019 17:25:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=3VHzUINECJPrmYMlOIKbrdimTmnlMrtFmAoKNeMlDU4=; b=s1nDsdCKQ6ppP5VEZqBfg7Awn0S9UFPDPKcmo0+JFlVkmq7Mi2Izh8tmUbZvVRdC1GeY o0tqRm87n7tpBdYtJJiKjH8SMwBZYR5tzJt4WzwZvSC0JIfvTVsMakPakIKCurAV4uWA cI2wghSi6DZV/iNq0uv7btf/n32pTTcomNchny/Xx27duSzmjfxnDDKdVimxJgQT+pW2 PV9Lj5N1WDGVsdcljGMlx8TfNxPpP8BLmYF4AiuUSKep+fX2kQ6LP5DWyZsLisNTDsjZ 7NHGq/uviEsMWrAc5VhyeROvoQJ7tVmJoFzbS0TSQRteYrXsjjS2YrWkSD5i8q6LDHKV Gg== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2qyfbe0g74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Mar 2019 17:25:23 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x24HPMKb004544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Mar 2019 17:25:23 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x24HPLCR021840; Mon, 4 Mar 2019 17:25:22 GMT MIME-Version: 1.0 Message-ID: <8f86ae8b-5cd8-4f0a-ab85-39192e2cdbe7@default> Date: Mon, 4 Mar 2019 09:25:20 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#34715: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' References: <<17bef02b-7dd4-4086-828f-59488a836ac1@default>> <<83sgw2ehzu.fsf@gnu.org>> In-Reply-To: <<83sgw2ehzu.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4810.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9185 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903040127 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > 2. Use it, not `make-frame-command', as the binding of `C-x 5 2'. >=20 > I'm okay with adding a new command, but rebinding "C-x 5 2" by default > at the same time is a non-starter. We should first let people use the > new command, and should see how many of them ask to change the default > binding. Juri suggested binding `clone-frame' to `C-x 5 c'. That's OK too. I suggested in my second mail that the use of a prefix arg could be flipped, so this would then become a redefinition of `make-frame-command', where a prefix arg causes cloning instead of being a no-op (just creating a frame using `default-frame-alist'). So that's another possibility, which is backward-compatible (except that a prefix arg would no longer be a no-op, as it is now). I personally think the cloning case is more useful than the make-a-default-frame case. If `make-frame-command' were updated to just let a prefix arg clone the selected frame then cloning would be less discoverable than if the name were `clone-frame'. > > Why change the default behavior of `C-x 5 2'? If I want the > > buffer of the selected window shown in another frame then I > > typically want that frame to have the same parameters. >=20 > That's what default-frame-alist is for. I already have what I need for my own use. Here I'm proposing something for Emacs - that's the point of this enhancement. > If you are used to change the > parameters of your frames a lot during their lifetime, which > presumably means each of your frames might look and work differently, > it is not entirely clear to me that "C-x 5 2" should produce a clone > of the random frame where you just happened to type the command. Sorry, I don't understand your point there. I don't just "happen to type the command" in "random frames". I hit its key (`C-x 5 2', for me) with a frame selected that I want to clone. If a frame for some reason has particular, unusual parameters (e.g., user-defined or from some library) then presumably a user of such a frame would be used to its special behavior (even if s?he were unaware of the particular frame parameters) and would be able to decide whether cloning it is useful. > It could even cause trouble/unexpected behavior, > with some exotic parameters, at least in principle. I don't see that either. Could you give an example? If I want to clone a frame then I want to clone that frame. If I don't then I don't. Cloning includes copying the frame parameters. If there were a situation where it would be problematic to copy some frame parameter then presumably a user wouldn't ask to clone that frame. Sure, someone could accidentally invoke the command. But I don't see the expected unexpected harm. And if there really were a problem then we could add a blacklist variable or a predicate that one could use to inhibit cloning in such a situation. In sum, unless there is some good reason here to fear trouble/unexpected behavior I don't see why this enhancement is different from others. Sure, something unexpected is always possible. But without some real expectation of a particular problem we should just discover it in practice and take care of it. =20 > So I think we definitely should collect more > experience before changing this veteran binding. In that case I'd vote for Juri's suggestion (use `C-x 5 c', not `C-x 5 2'), as just making cloning available via a prefix arg for `C-x 5 2' would make it less discoverable. It would also be possible to do both: bind `clone-frame' to `C-x 5 c' and let a prefix arg to `C-x 5 2' (as `make-frame-command') invoke `clone-frame'. > > 3. BTW, I think it would be good to add this to the doc string of > > `make-frame-command': > > > > Return the new frame. >=20 > "When called from Lisp, return the new frame." It returns the frame no matter how it's called. And only someone interested in calling it from Lisp is interested in the return value. But sure, go for it, if you think it adds something. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 13:14:37 2019 Received: (at 34715) by debbugs.gnu.org; 4 Mar 2019 18:14:37 +0000 Received: from localhost ([127.0.0.1]:60151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0s6n-0002Og-Ii for submit@debbugs.gnu.org; Mon, 04 Mar 2019 13:14:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0s6l-0002OT-Hu for 34715@debbugs.gnu.org; Mon, 04 Mar 2019 13:14:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0s6c-0002Ma-5G; Mon, 04 Mar 2019 13:14:28 -0500 Received: from [176.228.60.248] (port=4799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h0s6b-0004kk-9D; Mon, 04 Mar 2019 13:14:26 -0500 Date: Mon, 04 Mar 2019 20:14:20 +0200 Message-Id: <83d0n6eccj.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <8f86ae8b-5cd8-4f0a-ab85-39192e2cdbe7@default> (message from Drew Adams on Mon, 4 Mar 2019 09:25:20 -0800 (PST)) Subject: Re: bug#34715: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' References: <<17bef02b-7dd4-4086-828f-59488a836ac1@default>> <<83sgw2ehzu.fsf@gnu.org>> <8f86ae8b-5cd8-4f0a-ab85-39192e2cdbe7@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Date: Mon, 4 Mar 2019 09:25:20 -0800 (PST) > From: Drew Adams > Cc: 34715@debbugs.gnu.org > > > > Why change the default behavior of `C-x 5 2'? If I want the > > > buffer of the selected window shown in another frame then I > > > typically want that frame to have the same parameters. > > > > That's what default-frame-alist is for. > > I already have what I need for my own use. Here > I'm proposing something for Emacs - that's the > point of this enhancement. default-frame-alist is for everyone, i.e. "for Emacs". Not just for you and me. > > If you are used to change the > > parameters of your frames a lot during their lifetime, which > > presumably means each of your frames might look and work differently, > > it is not entirely clear to me that "C-x 5 2" should produce a clone > > of the random frame where you just happened to type the command. > > Sorry, I don't understand your point there. > > I don't just "happen to type the command" in "random > frames". I hit its key (`C-x 5 2', for me) with a > frame selected that I want to clone. That's you. Me, I type "C-x 5 2" whenever I need another frame, regardless of the frame that happens to be selected at that time. With your suggestion, I'll need to think which frame I want to select before making a new one. That's a disadvantage for me. > > It could even cause trouble/unexpected behavior, > > with some exotic parameters, at least in principle. > > I don't see that either. Could you give an example? A frame parameter can be anything at all. Cloning all of them sometimes makes little sense. You yourself gave an example: the position of the frame. > > > 3. BTW, I think it would be good to add this to the doc string of > > > `make-frame-command': > > > > > > Return the new frame. > > > > "When called from Lisp, return the new frame." > > It returns the frame no matter how it's called. But it makes no sense to talk about the return value in interactive use, does it? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 04:47:21 2019 Received: (at 34715) by debbugs.gnu.org; 8 Mar 2019 09:47:21 +0000 Received: from localhost ([127.0.0.1]:35840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2C65-0005i8-3N for submit@debbugs.gnu.org; Fri, 08 Mar 2019 04:47:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2C62-0005hu-VW for 34715@debbugs.gnu.org; Fri, 08 Mar 2019 04:47:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2C5x-0007Da-Fd; Fri, 08 Mar 2019 04:47:13 -0500 Received: from [176.228.60.248] (port=3036 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2C5w-0001Cv-R0; Fri, 08 Mar 2019 04:47:13 -0500 Date: Fri, 08 Mar 2019 11:46:56 +0200 Message-Id: <83pnr1aeb3.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <17bef02b-7dd4-4086-828f-59488a836ac1@default> (message from Drew Adams on Sat, 2 Mar 2019 16:47:47 -0800 (PST)) Subject: Re: bug#34715: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Date: Sat, 2 Mar 2019 16:47:47 -0800 (PST) > From: Drew Adams > > 3. BTW, I think it would be good to add this to the doc string of > `make-frame-command': > > Return the new frame. Done. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 30 18:17:05 2019 Received: (at 34715) by debbugs.gnu.org; 30 Mar 2019 22:17:05 +0000 Received: from localhost ([127.0.0.1]:37640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAMHg-0005I0-S1 for submit@debbugs.gnu.org; Sat, 30 Mar 2019 18:17:05 -0400 Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:3861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAMHf-0005Hs-01 for 34715@debbugs.gnu.org; Sat, 30 Mar 2019 18:17:03 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 209338C14B6; Sat, 30 Mar 2019 22:17:02 +0000 (UTC) Received: from pdx1-sub0-mail-a61.g.dreamhost.com (100-96-3-137.trex.outbound.svc.cluster.local [100.96.3.137]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 7C6A38C1349; Sat, 30 Mar 2019 22:17:01 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a61.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sat, 30 Mar 2019 22:17:02 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Cure-Fearful: 6cedb74029bd38da_1553984221968_2717359270 X-MC-Loop-Signature: 1553984221967:3550554421 X-MC-Ingress-Time: 1553984221967 Received: from pdx1-sub0-mail-a61.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a61.g.dreamhost.com (Postfix) with ESMTP id 3D0BB81A39; Sat, 30 Mar 2019 15:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=+HLMlDrviGy6b3ZtAgy6I0bP1To=; b= k2OZy17oOu5NfvRPwBevdNMvcJS+T/ad/VKevJTudUOG2jbdQPAD84fGYpwVolyc rSozJGQci1DOWGEJrUxvHOoV2Ri6q3ulnmUXeQ5bcuQQONvi1fbVmuX75QkpZQm3 YZQX1CTjeIRnF0T3KL/0TMSqaOzh17nuk7loVK2Jhh4= Received: from mail.jurta.org (m91-129-99-202.cust.tele2.ee [91.129.99.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a61.g.dreamhost.com (Postfix) with ESMTPSA id 852CA81A3C; Sat, 30 Mar 2019 15:16:53 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a61 From: Juri Linkov To: Drew Adams Subject: Re: bug#34715: 26.1; (1) Add `clone-frame', (2) bind it to `C-x 5 2' Organization: LINKOV.NET References: <17bef02b-7dd4-4086-828f-59488a836ac1@default>> <83sgw2ehzu.fsf@gnu.org>> <8f86ae8b-5cd8-4f0a-ab85-39192e2cdbe7@default> Date: Sat, 30 Mar 2019 23:58:58 +0200 In-Reply-To: <8f86ae8b-5cd8-4f0a-ab85-39192e2cdbe7@default> (Drew Adams's message of "Mon, 4 Mar 2019 09:25:20 -0800 (PST)") Message-ID: <87ftr4uiql.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrkeelgdduieduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrvddtvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrvddtvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegurhgvfidrrggurghmshesohhrrggtlhgvrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> > 2. Use it, not `make-frame-command', as the binding of `C-x 5 2'. >> >> I'm okay with adding a new command, but rebinding "C-x 5 2" by default >> at the same time is a non-starter. We should first let people use the >> new command, and should see how many of them ask to change the default >> binding. > > Juri suggested binding `clone-frame' to `C-x 5 c'. > That's OK too. As a matter of fact, Chromium clones the current frame, instead of using default sizes. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 05:44:01 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 09:44:01 +0000 Received: from localhost ([127.0.0.1]:36339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMmj-0004ea-67 for submit@debbugs.gnu.org; Wed, 01 Sep 2021 05:44:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMmY-0004dw-I2; Wed, 01 Sep 2021 05:43:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dTEhqT3QN2FLbdivuM5nv1htqLwZogR68gbPKC3J4Fc=; b=KQ8s8RssrQTnfXC1RT0C3acKIF TrXyW47BOaR/bHG0uItZ68FaiqdkfrQMmM8RjKCqodajOQ75bWihOj5z8CfoVVLBhxi+QoRsM+ATa Ge7hKZOGx4kWTlnGsiErPmQGYMTkHnYdP5tv0i4ypfm0civNO3vS4I3wcZtbD1tzPy0k=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLMmN-0001Tj-BY; Wed, 01 Sep 2021 11:43:39 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> Date: Wed, 01 Sep 2021 11:43:34 +0200 In-Reply-To: <17bef02b-7dd4-4086-828f-59488a836ac1@default> (Drew Adams's message of "Sat, 2 Mar 2019 16:47:47 -0800 (PST)") Message-ID: <8735qofx6h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > 1. Add a `clone-frame' command such as this one, which is similar to > what I've been using: > > (defun clone-frame (&optional frame no-clone) I've now added this to Emacs 28 (with some trivial changes) -- bound to `C-x 5 c'. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Drew Adams writes: > 1. Add a `clone-frame' command such as this one, which is similar to > what I've been using: > > (defun clone-frame (&optional frame no-clone) I've now added this to Emacs 28 (with some trivial changes) -- bound to `C-x 5 c'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 05:44:13 2021 Received: (at control) by debbugs.gnu.org; 1 Sep 2021 09:44:13 +0000 Received: from localhost ([127.0.0.1]:36341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMmn-0004ey-GJ for submit@debbugs.gnu.org; Wed, 01 Sep 2021 05:44:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMmc-0004e3-Af for control@debbugs.gnu.org; Wed, 01 Sep 2021 05:43:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Fw6Wa8ujUNXFYGnMXila7QqyVI+VVOD/XIRJDYUfkz8=; b=hLpXzAgXPgv650FbH7OIDYoL9f ++w42JtSRjtgTKIvAQe6GWrd3iYf+KkjI2uLYWr5Yk/BF3UWn5xmOpu4F2PHIUOdLpuCMsFlIFDy6 CO44ySLz2KnviYGyOmzjDxy4yNqiT7VTxlTge/mthmHp6JBaSAFNxfgPy1tjxBvHGpxI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLMmU-0001UH-6t for control@debbugs.gnu.org; Wed, 01 Sep 2021 11:43:44 +0200 Date: Wed, 01 Sep 2021 11:43:41 +0200 Message-Id: <871r68fx6a.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32736 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 32736 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 32736 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 08:48:06 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 12:48:07 +0000 Received: from localhost ([127.0.0.1]:36605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPes-0005fL-Tz for submit@debbugs.gnu.org; Wed, 01 Sep 2021 08:48:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPej-0005ed-B5; Wed, 01 Sep 2021 08:47:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46388) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLPee-0004Qi-0r; Wed, 01 Sep 2021 08:47:48 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3439 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLPed-0007d0-KG; Wed, 01 Sep 2021 08:47:47 -0400 Date: Wed, 01 Sep 2021 15:47:42 +0300 Message-Id: <83fsuoqx75.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <8735qofx6h.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Sep 2021 11:43:34 +0200) Subject: Re: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Wed, 01 Sep 2021 11:43:34 +0200 > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > > Drew Adams writes: > > > 1. Add a `clone-frame' command such as this one, which is similar to > > what I've been using: > > > > (defun clone-frame (&optional frame no-clone) > > I've now added this to Emacs 28 (with some trivial changes) -- bound to > `C-x 5 c'. Did you try that command in a -nw session? It has some bug with faces. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 08:53:25 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 12:53:25 +0000 Received: from localhost ([127.0.0.1]:36628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPk4-0005ns-Lv for submit@debbugs.gnu.org; Wed, 01 Sep 2021 08:53:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLPjx-0005nS-Vx; Wed, 01 Sep 2021 08:53:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ytik+NIroPkECaPlEt+w9epnA6ln91ce43GrxVTh5oc=; b=XPm24tExExEAbcjB6whLVqErwD dKvK7BBRONqeyQuaTD+Fz176g2pikjzZTvTNLQPjps0cFaLeqOjAJWbGdE/mzhtjuw0jTeVi7owVY NPioSmmIG3MV7bBfgMWokp164gpX/lwskzkJj8OZc6NYHOkKSINBKfj67SwdSQj11quk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLPjm-0004T9-JY; Wed, 01 Sep 2021 14:53:10 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> Date: Wed, 01 Sep 2021 14:53:05 +0200 In-Reply-To: <83fsuoqx75.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Sep 2021 15:47:42 +0300") Message-ID: <87eea8e9u6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Did you try that command in a -nw session? It has some bug with > faces. Nope; didn't try it with -nw, but I see the problem. Any idea what's causing that? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Did you try that command in a -nw session? It has some bug with > faces. Nope; didn't try it with -nw, but I see the problem. Any idea what's causing that? Here's frame-parameters in the initial frame: ((buried-buffer-list) (buffer-list # #) (name . "F1") (tab-bar-lines . 0) (menu-bar-lines . 1) (unsplittable) (modeline . t) (width . 80) (height . 23) (font . "tty") (background-color . "unspecified-bg") (foreground-color . "unspecified-fg") (scroll-bar-foreground . "white") (cursor-color . "white") (background-mode . dark) (display-type . color) (tty . "/dev/tty") (tty-type . "xterm-256color") (minibuffer . t)) And here's the one after C-x 5 c: ((tab-bar-lines . 0) (menu-bar-lines . 1) (buried-buffer-list #) (buffer-list # #) (unsplittable) (modeline . t) (width . 80) (height . 23) (font . "tty") (background-color . "unspecified-bg") (foreground-color . "unspecified-fg") (name . "F2") (minibuffer . t)) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:39:09 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 13:39:09 +0000 Received: from localhost ([127.0.0.1]:36693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQSK-0006yD-VS for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:39:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQS4-0006xP-Am; Wed, 01 Sep 2021 09:39:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49438) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQRy-00075x-Ms; Wed, 01 Sep 2021 09:38:46 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2751 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQRy-0001A8-9s; Wed, 01 Sep 2021 09:38:46 -0400 Date: Wed, 01 Sep 2021 16:38:43 +0300 Message-Id: <83bl5cquu4.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87eea8e9u6.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Sep 2021 14:53:05 +0200) Subject: Re: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: drew.adams@oracle.com, 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Wed, 01 Sep 2021 14:53:05 +0200 > > Eli Zaretskii writes: > > > Did you try that command in a -nw session? It has some bug with > > faces. > > Nope; didn't try it with -nw, but I see the problem. Any idea what's > causing that? There are error messages in *Messages* that could give a clue; did you see them? (No, I didn't yet think about that more than 3 sec, so have no ideas yet.) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:40:44 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 13:40:45 +0000 Received: from localhost ([127.0.0.1]:36700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQTs-000715-LT for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:40:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQTo-00070i-13; Wed, 01 Sep 2021 09:40:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LVviT3nppFil6skLqelW5B0a+yumMAKbjiFFkOmwcn4=; b=LZWH8JyRd4P2iuWq/fdfULDXWY B5jiSaoYN1fP+LJFLIKS0t3C69d+bLZKWqNaZvsuAUIPi+t6E9Ezwvw8iz4wsuJlGR4asKFiE7wr/ 9vgIqKheTxmZHmRyewHwk5RMouWKAPRkKEDcTC2bcNRJe74oqWuWMtHlfj/bA0Ga+Ts8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLQTc-0000pj-PY; Wed, 01 Sep 2021 15:40:33 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> Date: Wed, 01 Sep 2021 15:40:26 +0200 In-Reply-To: <83bl5cquu4.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Sep 2021 16:38:43 +0300") Message-ID: <87a6kwe7n9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > There are error messages in *Messages* that could give a clue; did you > see them? (No, I didn't yet think about that more than 3 sec, so have > no ideas yet.) Ah, didn't notice the messages: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > There are error messages in *Messages* that could give a clue; did you > see them? (No, I didn't yet think about that more than 3 sec, so have > no ideas yet.) Ah, didn't notice the messages: Invalid face reference: font-lock-comment-delimiter-face Invalid face reference: font-lock-comment-face Invalid face reference: font-lock-comment-delimiter-face Invalid face reference: font-lock-comment-face Invalid face reference: font-lock-comment-delimiter-face Invalid face reference: font-lock-comment-face Invalid face reference: font-lock-comment-delimiter-face Invalid face reference: font-lock-comment-face Invalid face reference: mode-line-buffer-id Invalid face reference: minibuffer-prompt [7 times] Invalid face reference: mode-line-buffer-id [2 times] So basically all the fonts are gone? Well, that's a clue; I'll try to debug... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:42:11 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 13:42:11 +0000 Received: from localhost ([127.0.0.1]:36707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQVH-00073p-9L for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:42:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQVE-00073W-NV; Wed, 01 Sep 2021 09:42:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/e0o8XffAl+WC4IOhhJXMuXUMtPKSy3Y6BMXTGgQIE0=; b=AQpOvyt5sCrwDEZY6wdU23okIi aUn7nTdUhJLtp8EHl1RMeWE6IgrRQJCoKTsp087x7Px6Em6W1zdf3QG4vEX7WUEDruOdPIjs3wqfp SdUZ1pZELXZXMK/yLGjyveUUjc7JoIHx2/qOWKHmcaMu9Xiv0sUciC77KqTDMAAwfhzc=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLQV3-0000zD-B3; Wed, 01 Sep 2021 15:42:01 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> Date: Wed, 01 Sep 2021 15:41:54 +0200 In-Reply-To: <87a6kwe7n9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 01 Sep 2021 15:40:26 +0200") Message-ID: <875yvke7kt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > So basically all the fonts are gone? Well, that's a clue; I'll try to > debug... (I mean faces.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > So basically all the fonts are gone? Well, that's a clue; I'll try to > debug... (I mean faces.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 09:55:44 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 13:55:45 +0000 Received: from localhost ([127.0.0.1]:38697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQiO-0007th-Oi for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:55:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQiN-0007qO-GC; Wed, 01 Sep 2021 09:55:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TgHHOZzwpYVgJEbw+Kv6RjNKoYF4sEUhxVGNIA4sT9A=; b=GB2ZLtRla5HoLO866/PBxB4oWY xZbEpXNSpj2PHkSi5vRz2ZF6JOqmIE0GsjSsHeLar8oWTDbHbnQ0d6vVRogqk4WpD3mT4roMAU4ZI OskDzSRArg4Ww39fUadF9qYbS6ET8W7d09iGjIhRIvGfYOfLysb7LfDUkHL9+1pjByNk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLQiC-0002Qq-Ph; Wed, 01 Sep 2021 15:55:36 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> Date: Wed, 01 Sep 2021 15:55:29 +0200 In-Reply-To: <875yvke7kt.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 01 Sep 2021 15:41:54 +0200") Message-ID: <87zgswcsdq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: If I filter out the `name' and `background-color' elements, then it works. I can kinda see the first one, but... Hm... no, it's `background-color' in combination with something else; just background-color works fine. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) If I filter out the `name' and `background-color' elements, then it works. I can kinda see the first one, but... Hm... no, it's `background-color' in combination with something else; just background-color works fine. I wonder whether this is points to a bug somewhere in the tty frame mechanism... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 10:11:33 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 14:11:33 +0000 Received: from localhost ([127.0.0.1]:38732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQxg-000236-KD for submit@debbugs.gnu.org; Wed, 01 Sep 2021 10:11:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQxU-00022b-Rl; Wed, 01 Sep 2021 10:11:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50698) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQxP-0004Dc-J7; Wed, 01 Sep 2021 10:11:15 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4824 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQxN-0002xA-DW; Wed, 01 Sep 2021 10:11:15 -0400 Date: Wed, 01 Sep 2021 17:11:08 +0300 Message-Id: <835yvkqtc3.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87zgswcsdq.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Sep 2021 15:55:29 +0200) Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Wed, 01 Sep 2021 15:55:29 +0200 > > If I filter out the `name' and `background-color' elements, then it > works. I can kinda see the first one, but... > > Hm... no, it's `background-color' in combination with something else; > just background-color works fine. > > I wonder whether this is points to a bug somewhere in the tty frame > mechanism... If the problem is background-color, why does redisplay complain about faces saying they are *invalid*? I could understand if it said it cannot load some color, but why "invalid face"? The only funky thing about background-color on TTY I can think of is the unspecified-bg thingy. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 10:18:29 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 14:18:29 +0000 Received: from localhost ([127.0.0.1]:38740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLR4O-0004N2-Tm for submit@debbugs.gnu.org; Wed, 01 Sep 2021 10:18:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:32874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLR4N-0004Mk-IM; Wed, 01 Sep 2021 10:18:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VI6hL9/Klgw+P5hbTXUM6IhCJlaM8WVeq3mNNAeN1Rw=; b=CcV/HbfMjtRKXPPq+rIQ613DZu 4A4Gny006wwWgSQneMV1dHEKnWc0zaxnezXk35IrJi+Toh9NtPYp7oWWfzWZLYtQdamIzGfhuHZ1d 64uV48y0nzR6N6F0mt65iwyPwqhyOYjksPozpHiQu91i7msdWQSWcL0DbLzeuT7aqk18=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLR4C-0004o2-PJ; Wed, 01 Sep 2021 16:18:21 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> Date: Wed, 01 Sep 2021 16:18:13 +0200 In-Reply-To: <835yvkqtc3.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Sep 2021 17:11:08 +0300") Message-ID: <87v93kcrbu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > If the problem is background-color, why does redisplay complain about > faces saying they are *invalid*? I could understand if it said it > cannot load some color, but why "invalid face"? > > The on [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > If the problem is background-color, why does redisplay complain about > faces saying they are *invalid*? I could understand if it said it > cannot load some color, but why "invalid face"? > > The only funky thing about background-color on TTY I can think of is > the unspecified-bg thingy. The following is the minimal case for reproduction here: (let ((default-frame-alist '((background-color . "red")))) (make-frame)) This reliably makes all the faces go AWOL on the new frame. (It doesn't matter what the colour is.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 10:28:41 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 14:28:41 +0000 Received: from localhost ([127.0.0.1]:38770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLREG-0004dU-Ri for submit@debbugs.gnu.org; Wed, 01 Sep 2021 10:28:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:32950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLREE-0004dB-Fl; Wed, 01 Sep 2021 10:28:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=liqk80TmUFdpKAvvfYfoMuaLmJyGY8Vt6YpHX+M3zyM=; b=eVCMigf1gRr3j1MwBrf/ydYLI1 WcgFJ5wKeeqbiuI3frXXiZVIDWjaBJ5rqqeC0PnQm59ELJVsvFl1VHkyDd0TWDUOeiBhZp909YFVh G1CmoR6FOMrUpQ5lO9obbfpQaGQOogZhNLy/wwmcVPIkANbnAQ/FaMhz2X2mYAWCk7/w=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLRE3-0005r5-KT; Wed, 01 Sep 2021 16:28:32 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> Date: Wed, 01 Sep 2021 16:28:23 +0200 In-Reply-To: <87v93kcrbu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 01 Sep 2021 16:18:13 +0200") Message-ID: <87r1e8cquw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > (let ((default-frame-alist > '((background-color . "red")))) > (make-frame)) > > This reliably makes all the faces go AWOL on the new frame. (It doesn't > matter what the colour is.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > (let ((default-frame-alist > '((background-color . "red")))) > (make-frame)) > > This reliably makes all the faces go AWOL on the new frame. (It doesn't > matter what the colour is.) And it is indeed the problem. If I remove this: if (EQ (prop, Qforeground_color) || EQ (prop, Qbackground_color)) update_face_from_frame_parameter (f, prop, val); Then the faces aren't destroyed... So the bug is in update_face_from_frame_parameter somewhere, I think. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 11:57:51 2021 Received: (at 34715) by debbugs.gnu.org; 1 Sep 2021 15:57:51 +0000 Received: from localhost ([127.0.0.1]:38888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLScY-00078I-RD for submit@debbugs.gnu.org; Wed, 01 Sep 2021 11:57:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLScL-00077k-Jl; Wed, 01 Sep 2021 11:57:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54804) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLScG-0002YV-8M; Wed, 01 Sep 2021 11:57:32 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3439 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLScC-0008Bo-J1; Wed, 01 Sep 2021 11:57:31 -0400 Date: Wed, 01 Sep 2021 18:57:23 +0300 Message-Id: <834kb4qof0.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87v93kcrbu.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Sep 2021 16:18:13 +0200) Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Wed, 01 Sep 2021 16:18:13 +0200 > > Eli Zaretskii writes: > > > If the problem is background-color, why does redisplay complain about > > faces saying they are *invalid*? I could understand if it said it > > cannot load some color, but why "invalid face"? > > > > The only funky thing about background-color on TTY I can think of is > > the unspecified-bg thingy. > > The following is the minimal case for reproduction here: > > (let ((default-frame-alist > '((background-color . "red")))) > (make-frame)) > > This reliably makes all the faces go AWOL on the new frame. (It doesn't > matter what the colour is.) Shouldn't we copy the parameters alist? Maybe even deep-copy? And faces are supposed to be frame-local, so maybe faces also need to be copied? Otherwise, you are basically manipulating faces that don't "belong" to the frame, no? And likewise with frame's parameters alist, I think. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 03:44:50 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 07:44:50 +0000 Received: from localhost ([127.0.0.1]:39572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhOw-0005zy-2x for submit@debbugs.gnu.org; Thu, 02 Sep 2021 03:44:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhOl-0005zU-FX; Thu, 02 Sep 2021 03:44:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=11AHI/2Oz8Bx6YjT1Xe4mRbTVBqcbCg9Ix07P3DLq2o=; b=XQbUglYv0O/3YXxkkUJrLVvzdB jOWJiOhzLrKjCJAN2yHeXTTgdS+gp0P+riwAzPDo6LjbjhIv7ptzAWRcohSlJGfcjN2WKY+e+ieTm q9BODucJvfQ6BRcp87TvejhDH/+SnkbP5Zqim6yfGGuZ7EMjqP5LilTRt5erdNKerKHM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLhOa-0004uy-Iq; Thu, 02 Sep 2021 09:44:28 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> Date: Thu, 02 Sep 2021 09:44:24 +0200 In-Reply-To: <834kb4qof0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Sep 2021 18:57:23 +0300") Message-ID: <87k0jzbew7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> The following is the minimal case for reproduction here: >> >> (let ((default-frame-alist >> '((background-color . "red")))) >> (make-frame)) >> >> This reliably makes all the faces go AWOL on the [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> The following is the minimal case for reproduction here: >> >> (let ((default-frame-alist >> '((background-color . "red")))) >> (make-frame)) >> >> This reliably makes all the faces go AWOL on the new frame. (It doesn't >> matter what the colour is.) > > Shouldn't we copy the parameters alist? Maybe even deep-copy? Do you mean in this particular test case or in `clone-frame'? If it's the latter, the list we get is fresh (but not very deep). If it's this particular test case, then I don't understand what you mean. > And faces are supposed to be frame-local, so maybe faces also need to > be copied? Otherwise, you are basically manipulating faces that don't > "belong" to the frame, no? And likewise with frame's parameters > alist, I think. Anyway, debugging further shows that the problem seems to be in `frame-set-background-mode', but I've yet to isolate what exactly is triggering the bug. (dolist (face (face-list)) (and (not (get face 'face-override-spec)) [...] (face-spec-match-p face (face-user-default-spec face) frame))) (push face locally-modified-faces))) ;; Now change to the new frame parameters (modify-frame-parameters frame params) ;; For all unmodified named faces, choose face specs ;; matching the new frame parameters. (dolist (face (face-list)) (unless (memq face locally-modified-faces) (face-spec-recalc face frame))))))))) The face-spec-recalc messes up the face... but so does the call to face-spec-match-p, apparently? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 03:51:29 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 07:51:29 +0000 Received: from localhost ([127.0.0.1]:39618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhVQ-0008Nr-Ja for submit@debbugs.gnu.org; Thu, 02 Sep 2021 03:51:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhVP-0008Na-Lk; Thu, 02 Sep 2021 03:51:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLhVK-0008J8-DW; Thu, 02 Sep 2021 03:51:22 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2429 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLhVK-0000Kx-0t; Thu, 02 Sep 2021 03:51:22 -0400 Date: Thu, 02 Sep 2021 10:51:18 +0300 Message-Id: <83wnnzo1op.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87k0jzbew7.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 02 Sep 2021 09:44:24 +0200) Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Thu, 02 Sep 2021 09:44:24 +0200 > > Eli Zaretskii writes: > > > Shouldn't we copy the parameters alist? Maybe even deep-copy? > > Do you mean in this particular test case or in `clone-frame'? If it's > the latter, the list we get is fresh (but not very deep). You mean, we get a fresh list because of the call to seq-filter? (Which btw means we now need to preload seq.el?) Is that guaranteed to return a copy of the original alist? And the faces aren't copied, I think, they reference the same faces the original frame had. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 04:01:40 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 08:01:41 +0000 Received: from localhost ([127.0.0.1]:39666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhfI-0001dR-KB for submit@debbugs.gnu.org; Thu, 02 Sep 2021 04:01:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhfH-0001Y0-3w; Thu, 02 Sep 2021 04:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hzDOVV1mUBut6yGQ5+XNi0nixEHJysb6DHBwPSTRbII=; b=ab2CovueLzRrz9Y/yeJHv5GR// nYVtLTL23xO3HMr6ePAYnIfNmROdZBAcxgSQvOpxhuJMvuWlK20nCX/NXKxen76oEGb3s3aiZUWWa gEfHoYjSNP4qSTpbfojqUCbRdogoukdxsTnF9e0bi0UxNt8mdIuf1lynUucXphmg13wE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLhf6-0006c0-8K; Thu, 02 Sep 2021 10:01:32 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> <83wnnzo1op.fsf@gnu.org> Date: Thu, 02 Sep 2021 10:01:27 +0200 In-Reply-To: <83wnnzo1op.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Sep 2021 10:51:18 +0300") Message-ID: <87fsun8kyw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > You mean, we get a fresh list because of the call to seq-filter? No, because of this: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > You mean, we get a fresh list because of the call to seq-filter? No, because of this: DEFUN ("frame-parameters", Fframe_parameters, Sframe_parameters, 0, 1, 0, doc: /* Return the parameters-alist of frame FRAME. [...] alist = Fcopy_alist (f->param_alist); > (Which btw means we now need to preload seq.el?) No, it's autoloaded. > And the faces aren't copied, I think, they reference the same faces > the original frame had. Right -- I don't really know how the face/frame stuff actually works. If it was a very general problem, then surely we'd stumble across this whenever we make a new frame. But the bug seems to manifest only on terminal frames -- when we change the background mode. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 04:19:47 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 08:19:47 +0000 Received: from localhost ([127.0.0.1]:39704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhwp-00052Z-Gw for submit@debbugs.gnu.org; Thu, 02 Sep 2021 04:19:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhwn-00052G-NV; Thu, 02 Sep 2021 04:19:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53134) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLhwh-0006cM-BR; Thu, 02 Sep 2021 04:19:39 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4407 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLhwg-0003II-8D; Thu, 02 Sep 2021 04:19:39 -0400 Date: Thu, 02 Sep 2021 11:19:34 +0300 Message-Id: <83v93jo0dl.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87fsun8kyw.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 02 Sep 2021 10:01:27 +0200) Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> <83wnnzo1op.fsf@gnu.org> <87fsun8kyw.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Thu, 02 Sep 2021 10:01:27 +0200 > > Eli Zaretskii writes: > > > You mean, we get a fresh list because of the call to seq-filter? > > No, because of this: > > DEFUN ("frame-parameters", Fframe_parameters, Sframe_parameters, 0, 1, 0, > doc: /* Return the parameters-alist of frame FRAME. > > [...] > alist = Fcopy_alist (f->param_alist); Ah, right. > > (Which btw means we now need to preload seq.el?) > > No, it's autoloaded. But frame.el is preloaded, so won't that get in the way during bootstrap? > > And the faces aren't copied, I think, they reference the same faces > > the original frame had. > > Right -- I don't really know how the face/frame stuff actually works. > If it was a very general problem, then surely we'd stumble across this > whenever we make a new frame. But the bug seems to manifest only on > terminal frames -- when we change the background mode. That's true, but it doesn't mean we don't have a deeper problem. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 04:57:37 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 08:57:37 +0000 Received: from localhost ([127.0.0.1]:39765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLiXQ-000892-SX for submit@debbugs.gnu.org; Thu, 02 Sep 2021 04:57:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLiXO-00088l-S1; Thu, 02 Sep 2021 04:57:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QL7ak+LtvvXxDlh6E90K14B12X9RvbxGEGy6pXNZMoU=; b=q5GyWH0QRgElSmXThqBIQAzUnV 8xyQYPvk3fSsZ3Ze1q3nZjnc1osiDDdsURAI0O30+JDGZr2aJblCFF8gExqypZQabVcHdTMWQUBhp e2fl8YV3hqatHuAodly4j2H+UuBBuYN78fxwFlm46EEBJ5GIpx8Z4xpayvGUkhun+co8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLiXE-0003oH-Sh; Thu, 02 Sep 2021 10:57:29 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> <83wnnzo1op.fsf@gnu.org> <87fsun8kyw.fsf@gnus.org> <83v93jo0dl.fsf@gnu.org> Date: Thu, 02 Sep 2021 10:57:24 +0200 In-Reply-To: <83v93jo0dl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Sep 2021 11:19:34 +0300") Message-ID: <87mtov73t7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> > (Which btw means we now need to preload seq.el?) >> >> No, it's autoloaded. > > But frame.el is preloaded, so won't that get in the way during > bootstrap? It won't get loaded until the user uses the `C-x 5 c' command. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> > (Which btw means we now need to preload seq.el?) >> >> No, it's autoloaded. > > But frame.el is preloaded, so won't that get in the way during > bootstrap? It won't get loaded until the user uses the `C-x 5 c' command. >> > And the faces aren't copied, I think, they reference the same faces >> > the original frame had. >> >> Right -- I don't really know how the face/frame stuff actually works. >> If it was a very general problem, then surely we'd stumble across this >> whenever we make a new frame. But the bug seems to manifest only on >> terminal frames -- when we change the background mode. > > That's true, but it doesn't mean we don't have a deeper problem. True. I'll continue to debug this, but won't have time today, I think... If you want to have a look meanwhile, please go ahead. :-) It reproduces easily, and the bug seems to be caused by something called by `frame-set-background-mode', but that may or may not be correct (perhaps it's just doing something that triggers the real problem caused somewhere else). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 08:04:21 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 12:04:21 +0000 Received: from localhost ([127.0.0.1]:39956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLlS5-0000K9-F9 for submit@debbugs.gnu.org; Thu, 02 Sep 2021 08:04:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLlRv-0000Jf-Qq; Thu, 02 Sep 2021 08:04:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58100) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLlRq-0008Vz-ET; Thu, 02 Sep 2021 08:04:02 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2372 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLlRq-0000wj-5v; Thu, 02 Sep 2021 08:04:02 -0400 Date: Thu, 02 Sep 2021 15:03:58 +0300 Message-Id: <83mtovnpzl.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87mtov73t7.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 02 Sep 2021 10:57:24 +0200) Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> <83wnnzo1op.fsf@gnu.org> <87fsun8kyw.fsf@gnus.org> <83v93jo0dl.fsf@gnu.org> <87mtov73t7.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org > Date: Thu, 02 Sep 2021 10:57:24 +0200 > > >> > And the faces aren't copied, I think, they reference the same faces > >> > the original frame had. > >> > >> Right -- I don't really know how the face/frame stuff actually works. > >> If it was a very general problem, then surely we'd stumble across this > >> whenever we make a new frame. But the bug seems to manifest only on > >> terminal frames -- when we change the background mode. > > > > That's true, but it doesn't mean we don't have a deeper problem. > > True. I'll continue to debug this, but won't have time today, I > think... If you want to have a look meanwhile, please go ahead. :-) > It reproduces easily, and the bug seems to be caused by something called > by `frame-set-background-mode', but that may or may not be correct > (perhaps it's just doing something that triggers the real problem caused > somewhere else). I think I fixed this. The problem was indeed with letting the new frame manipulate a separate set of faces: we arrange for that in make-terminal-frame, but we were doing that a tad too late. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 12:05:46 2021 Received: (at 34715) by debbugs.gnu.org; 2 Sep 2021 16:05:46 +0000 Received: from localhost ([127.0.0.1]:41855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLpDm-0000Rf-A2 for submit@debbugs.gnu.org; Thu, 02 Sep 2021 12:05:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLpDi-0000RC-Sw; Thu, 02 Sep 2021 12:05:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BBin4D490Z63xXFwipp6MB23tgdxSs2Ik//kiM+qvIY=; b=L0udAssUlLCBXPVcfrefPlzgOH yQl6Py1ZONOzthLjYezWpMk76vmGhhNEVXkZSpC4n6R0Ig8QR+1c0QYJuqAfb+Mfa/T0/3OzCVEVr VqpaNpsNguf09Mk3LHF5RU8c5FUkyCRMFUScjlhIyvysnl4vTuV7K3v5p3LttVLd557U=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLpDY-0005ea-7V; Thu, 02 Sep 2021 18:05:36 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#32736: bug#34715: bug#32736: 26; Bind `C-x 5 2' to `clone-frame' by default References: <17bef02b-7dd4-4086-828f-59488a836ac1@default> <8735qofx6h.fsf@gnus.org> <83fsuoqx75.fsf@gnu.org> <87eea8e9u6.fsf@gnus.org> <83bl5cquu4.fsf@gnu.org> <87a6kwe7n9.fsf@gnus.org> <875yvke7kt.fsf@gnus.org> <87zgswcsdq.fsf@gnus.org> <835yvkqtc3.fsf@gnu.org> <87v93kcrbu.fsf@gnus.org> <834kb4qof0.fsf@gnu.org> <87k0jzbew7.fsf@gnus.org> <83wnnzo1op.fsf@gnu.org> <87fsun8kyw.fsf@gnus.org> <83v93jo0dl.fsf@gnu.org> <87mtov73t7.fsf@gnus.org> <83mtovnpzl.fsf@gnu.org> Date: Thu, 02 Sep 2021 18:05:31 +0200 In-Reply-To: <83mtovnpzl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Sep 2021 15:03:58 +0300") Message-ID: <874kb36jzo.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I think I fixed this. The problem was indeed with letting the new > frame manipulate a separate set of faces: we arrange for that in > make-terminal-frame, but we were doing that a tad too late. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34715 Cc: 34715@debbugs.gnu.org, 32736@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > I think I fixed this. The problem was indeed with letting the new > frame manipulate a separate set of faces: we arrange for that in > make-terminal-frame, but we were doing that a tad too late. Ah, I see! And I can confirm that this fixes the problem here, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 00:06:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Oct 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator