From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: rameiko87@posteo.net Newsgroups: gmane.emacs.bugs Subject: bug#69738: Followup Date: Sun, 14 Apr 2024 17:47:06 +0000 Message-ID: References: <4a0215b2e7bb416cf352e867183f745a@posteo.net> <1ed9ea789788d6a6450c86920199b6c6@posteo.net> <8634ronurh.fsf@gnu.org> <86bk6bnbzl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22793"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69738@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 14 19:48:19 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 1rw3xi-0005gq-Mt for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Apr 2024 19:48:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rw3xL-0000mJ-T8; Sun, 14 Apr 2024 13:47:55 -0400 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 1rw3xI-0000lo-WA for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 13:47:53 -0400 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 1rw3xI-0001jW-Hq for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 13:47:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rw3xT-00078V-29 for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 13:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: rameiko87@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2024 17:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69738 X-GNU-PR-Package: emacs Original-Received: via spool by 69738-submit@debbugs.gnu.org id=B69738.171311684627021 (code B ref 69738); Sun, 14 Apr 2024 17:48:03 +0000 Original-Received: (at 69738) by debbugs.gnu.org; 14 Apr 2024 17:47:26 +0000 Original-Received: from localhost ([127.0.0.1]:36109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rw3ws-00071k-DM for submit@debbugs.gnu.org; Sun, 14 Apr 2024 13:47:26 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:58171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rw3wq-00071Q-Ih for 69738@debbugs.gnu.org; Sun, 14 Apr 2024 13:47:25 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E8D3A240027 for <69738@debbugs.gnu.org>; Sun, 14 Apr 2024 19:47:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713116826; bh=LiI6sk64a+0NZKdFKKBEP0rwQaQH5R26iU8KhvOY7O0=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:Message-ID:From; b=Ednym4ip0cq5OSwkYHR7D2dxUht+iQmbBPXuGpZv90wWM2iw8yeRQ9STlzAP51fQs o7YciN793+JKlTxHEjKYyKpKF+2QJIhO1dXlrfqmXdFUM1OVYrPEpvY0yEZDAvdEMd 5Nokr1UafV/FRQL5xyi86m6riHM93jo76mtdTjY9PsIGUG9ylzp4+zY6YJDXyfYaQ9 t2JyrBrKM0TSGQFDCfEGM7s814InQdG0wGh0zxJNBuuOKsXdpit3sivUWSShTxxs7j xKfnSFAwCKJbl6PJ/Rgo4NLZsbASUxLY8JjDZkuB+M7KU+ewJALVMIqoyeVQ7Es6qg p4xBLToXXFSKQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VHd6L3ZTBz6tvb; Sun, 14 Apr 2024 19:47:06 +0200 (CEST) In-Reply-To: <86bk6bnbzl.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:283306 Archived-At: Dear Eli, To answer your question: your patch doesn't work, and the reason is that I have Rmail on frame #6 and Elfeed on frame #3. Rmail-reply creates frame #42, from which both C-x 5 0 and C-x 5 o land on frame #27. C-u - C-x 5 o goes from #42 to #3, and also from #27 to #3 after #42 was deleted. As for the current code for GUI, I can't understand why it _works_ since the same exact problem should arise. I never used the GUI but I would expect that it actually doesn't work for GUI either, for the same reasons above. I think the design of Emacs makes the order of frames rigid, so every new frame can be arbitrarily far from the original Rmail frame. One way is to remember the frame where Rmail was and revert back to that one after deleting the reply frame. On 14.04.2024 18:30, Eli Zaretskii wrote: >> Why not just remove the condition of (display-multi-frame-p)? It's >> neater, and I can't see any drawbacks compared to your patch (but the >> fact that your code insists on switching to other before deleting the >> frame makes me think there must be some reason...?) > > Yes, I have my reasons: I'd like to make sure we switch to the exact > frame the user wants -- the one showing the Rmail buffer. Unlike on > GUI displays, only a single frame is shown on a TTY, so if we > accidentally switch to the wrong frame, the user will not see the > frame they need, something that does happen on GUI terminals. > > Does the patch as I sent it work for you? If not, please tell what > doesn't work.