From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#74750: clone-frame and make-frame pixelwise issues Date: Mon, 16 Dec 2024 20:20:54 -0500 Message-ID: References: <861pyfd8pe.fsf@gnu.org> <4d057282-8ec2-4ddb-ac0f-23e65af6e5a1@gmx.at> <7404039b-e71e-44e5-a446-70fa07889528@gmx.at> <1ed054fc-4b82-47cf-8d89-4768b56b88a7@gmx.at> <544d13ee-54f0-4786-8c5b-b1c87570f36c@gmx.at> <391ac457-09d0-4541-bc65-cddde4d23929@gmx.at> <86msgvpm8p.fsf@gnu.org> <86ikrjphoy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a78aa206296d1e1f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38259"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 74750@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 02:23:33 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNMJB-0009oC-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 02:23:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNMIm-00026G-C1; Mon, 16 Dec 2024 20:23:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNMIi-00025s-J2 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 20:23:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNMIh-000722-RM for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 20:23:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=Uq6H4C3UKZAFhNlQ+duBMSvKgzXylWYgahkaN6NZpSg=; b=ZwW870w/KajKAl9+q+0vj8c9Y1Gtz1duLphTZjpJwTjr0RbCRoJDS+lEdCqZbj0bnxqT8lazoDEcv873/2HJxYlIpC7V/ttrhOeDIBJDmqEOsk60e4tXZQFWwcXefiNmgGZ1PkSpnyikonUTVWaa8bYm2qcNE/f6U426+5WtR+T/olAWhrFkE4OvRONmG0YDZ22HCaRCdYUh+k5unGKVRqOBcvlDjOKzdjfUgYEwrx+QffLWM7RppRiYeDS/GJDiM2V6La+uJqeslnBffD0kizXveCKnza7KCyUWjIH4VcmbgenDocTLNhw/4jlYU5dkLaH+bWtIeVKivnMzwLEBEw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNMIg-0006JY-LZ for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 20:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2024 01:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74750 X-GNU-PR-Package: emacs Original-Received: via spool by 74750-submit@debbugs.gnu.org id=B74750.173439857024248 (code B ref 74750); Tue, 17 Dec 2024 01:23:02 +0000 Original-Received: (at 74750) by debbugs.gnu.org; 17 Dec 2024 01:22:50 +0000 Original-Received: from localhost ([127.0.0.1]:56841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMIT-0006Iz-TV for submit@debbugs.gnu.org; Mon, 16 Dec 2024 20:22:50 -0500 Original-Received: from mail-ua1-f45.google.com ([209.85.222.45]:42436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMIS-0006Ic-B7 for 74750@debbugs.gnu.org; Mon, 16 Dec 2024 20:22:49 -0500 Original-Received: by mail-ua1-f45.google.com with SMTP id a1e0cc1a2514c-85ba8b1c7b9so2634898241.1 for <74750@debbugs.gnu.org>; Mon, 16 Dec 2024 17:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734398503; x=1735003303; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Uq6H4C3UKZAFhNlQ+duBMSvKgzXylWYgahkaN6NZpSg=; b=N35GltrAZzeEhAZeWhOn0wE9SkkS19c4y341VXVfH2oYdR2osSbW8nom28D7TdKi6t jTj9E2Py++rh/pFOasmtOiaLTg22qkbqeAQogKJxASNbWsmCTWZj8FHhqlFkrpII4kCJ rv5k1oiJHPVyd3odOAlhVQQ+OEvOClzJSUFZXRgwXCIYcQoGMOD/eH8YZO0tJZak5LC/ l+SJiWVS1PUyfOkqE3Umy57bt0vwss9K75XUN4PN19X1Es7ZhcKaoFxQ7Gs7gNMsoSQ/ KGmAuMKNyXZTXuREKbDjzuKdcAxUNo/GTCiKdVzeZ1P3JOCXsuL/yV8V1z8x7GQ2mEHf YsSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734398503; x=1735003303; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Uq6H4C3UKZAFhNlQ+duBMSvKgzXylWYgahkaN6NZpSg=; b=Qtx297ulQTG4j4C31Eu1102MrtD7A+eQzpJkcyaIJ0I1A2mqCPHxe7Dl5I2451Zcqw OGCAtzQqh9jHcRDsmFXTauAPUtqwZJmfYvh8HjqCaGB/RaKnS4EFTangh0OGcVd7c8na WW0BJ8WpnppLwKz7xjRU+bjlJwsx2g1KdU0wJ4EUckBM31QvfANQo441JkWex/6tYDTw xXWNg0WIymebsu5XzqO2p+XuLX//h4kfvYXUo5CP3OGdb4JHTZF6tR+cnaMXfNCL///w vEC6mQcgQhdnMba6B67dzcITEilg3C9NW2yZTqv8dycFxlOZzg52OPBGK6Lay2Ze+ZZI RgMw== X-Forwarded-Encrypted: i=1; AJvYcCUInVaALfWaeed7b4FWLEVIL6XleTF4edN3xugIftK6BrXsytGZErHnlx9ec9P4eYifgL3NRQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxsmiEGtA2ubYuW8Z5f3SvsSw5L0ddCRPmSjcInjhyKMJf2sW4G 596Oj1U5KN9bPVf9tMst+DXdzXBtGabHd2ZH7aUVnfzPsnijbDNWxyW3sS346LO8RCJktOezEGH mRU9vUfSkKion+SjhpMflO5gkZhbbQA== X-Gm-Gg: ASbGncs92raI4DoeDTPRRKz/3qeyTvYHO78B9vnw+VH9Vb7k53udwF7184OJNUEAyL0 80Ueemtfa63fOlJDdHVhjpEvq214H5ZsDmcuxZg== X-Google-Smtp-Source: AGHT+IGSJTJajh8KX1+pm8yX3kLT6Py5w+Ng/qThd8slV5eW1QVBNuvS6l1LCpl3hOzs0H+xVsZBxE+v7VDN3gDQMJ0= X-Received: by 2002:a05:6102:2b96:b0:4b1:1808:2fbf with SMTP id ada2fe7eead31-4b29decea67mr1754813137.13.1734398502732; Mon, 16 Dec 2024 17:21:42 -0800 (PST) In-Reply-To: <86ikrjphoy.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297242 Archived-At: --000000000000a78aa206296d1e1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maybe the compromise to unify the behavior is to always select the frame if invoked interactively, otherwise not? On Mon, Dec 16, 2024 at 2:10=E2=80=AFPM Eli Zaretskii wrote: > > From: Ship Mints > > Date: Mon, 16 Dec 2024 12:51:14 -0500 > > Cc: rudalics@gmx.at, 74750@debbugs.gnu.org > > > > The tty test you're asking about was already in place, I merely added > the missing frame argument that > > ensures the test is against the source frame rather than the ambient > selected-frame. As to its utility, I can go > > only by the docstring sentence that reads "If the terminal is a > text-only terminal then also select the new > > frame." Seems to have originated with this commit > 2c662e6d66165db8ead2f4d19a61af521807b8ba in 2021 > > when clone-frame was introduced. > > Martin, do we want to remove the condition? I dislike such > differences if they are not really necessary. I understand why in the > TTY case we must select the frame, but I don't understand why we > refrain from doing so in the GUI case. > > WDYT? > --000000000000a78aa206296d1e1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe the compromise to unify the behavior is to always select the frame= if invoked interactively, otherwise not?

On Mon= , Dec 16, 2024 at 2:10=E2=80=AFPM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Ship Mints <shipmints@gmail.com>
> Date: Mon, 16 Dec 2024 12:51:14 -0500
> Cc: rudalics@gmx.= at, 74750@de= bbugs.gnu.org
>
> The tty test you're asking about was already in place, I merely ad= ded the missing frame argument that
> ensures the test is against the source frame rather than the ambient s= elected-frame. As to its utility, I can go
> only by the docstring sentence that reads "If the terminal is a t= ext-only terminal then also select the new
> frame." Seems to have originated with this commit 2c662e6d66165db= 8ead2f4d19a61af521807b8ba in 2021
> when clone-frame was introduced.

Martin, do we want to remove the condition?=C2=A0 I dislike such
differences if they are not really necessary.=C2=A0 I understand why in the=
TTY case we must select the frame, but I don't understand why we
refrain from doing so in the GUI case.

WDYT?
--000000000000a78aa206296d1e1f--