From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69093: window-state-put doesn't update current buffer Date: Mon, 19 Feb 2024 10:43:00 +0100 Message-ID: References: <86il2s6cva.fsf@mail.linkov.net> <2387160a-717f-4164-a0ad-cd831cabd60f@gmx.at> <86cysy1c7e.fsf@mail.linkov.net> <9bc224fd-265b-42a6-9315-9e1caa9e7172@gmx.at> <86msryw7gy.fsf@mail.linkov.net> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69093@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 19 10:43:48 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 1rc0Bf-0006vm-7U for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Feb 2024 10:43:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc0Bd-0002n3-J1; Mon, 19 Feb 2024 04:43:45 -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 1rc0Ba-0002mn-5H for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:43:42 -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 1rc0BZ-0006eL-TV for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:43:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rc0Bu-0001yf-Sk for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2024 09:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69093 X-GNU-PR-Package: emacs Original-Received: via spool by 69093-submit@debbugs.gnu.org id=B69093.17083358107532 (code B ref 69093); Mon, 19 Feb 2024 09:44:02 +0000 Original-Received: (at 69093) by debbugs.gnu.org; 19 Feb 2024 09:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:40346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc0BO-0001xQ-77 for submit@debbugs.gnu.org; Mon, 19 Feb 2024 04:43:30 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:51487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc0BM-0001xE-F2 for 69093@debbugs.gnu.org; Mon, 19 Feb 2024 04:43:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1708335781; x=1708940581; i=rudalics@gmx.at; bh=lGDuGdb0vv636W2DKpyjuTpKkTpfNa1FcY9LBJTJ4+w=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=DUxDLfAMbUppZzisHU48RIiyr1h37SQaIiAIFZbwBYfCMwUYaBJ45um0lsdIFUdl Fe38A7nVStb4hl4VtzkieXflNb4qOZCKExI13q8pP25f/9vgzNZKxPQtRHnV8NldW XgEC3Hc97S5uy/5ebsfvjoSxBmXVjCeoppm+3YVIK++pjgkW7UxEa0wAdOngPlD/5 sk4V6vMQT0zjojo5dTQ3lfQxGGcrfJywyrRy0hA7u8HyCcp9wTEzFz779TwdMCB8J BOYDzbLvg3fLV3/myxKmLYmLJia/GAz0yui5D7xPuYL6jp5eU5U6crcMYPE9PR7mi mkfn94lnBSuXBcx5ZQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.97]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBUqF-1rnFm60WmF-00D1kP; Mon, 19 Feb 2024 10:43:01 +0100 Content-Language: en-US In-Reply-To: <86msryw7gy.fsf@mail.linkov.net> X-Provags-ID: V03:K1:RPc4T5+PMDq0oOvUXdX6e3GbYwmT9uUA5wR9d8RaNv/CWg18kNn 6J9HKZosP4jEsoEpwcsizRer1cFKoSgSf9T6h6U1bfFWZ66/06bmDC6m04WlAUBfE9wCLnL zVQSLci0Bi8Mg/r9ZfNFmsvTM4MeMSCWmWZ4Em1b30EUBW/2ccJbIGTiRGoi4juIcVB+h5g yVgZOScQvMyJqwCiEw+4g== UI-OutboundReport: notjunk:1;M01:P0:9N7f7zeLzaE=;5R6r8tZNwCEYcWDzjp56aICyBZj xKC/Cq8tKFAsdaKNLK4EZ/QchChrpx7l9CymVXp1WvaAM0MqnswId7UewiUBv2pgvCbIUoJyt 8Is72Y80LMKif/0PIgDGCx2B5y63jY5GdmDjQzvXbIojwTbPE5Vk6tcOv8EdramLxZlEGv3Cv e3jWcgbrdZ8sYt+FD90gGITpwseTiPoCF1fhg1hY2AENO+9WOXPB/U7RXFk4Hqk+oxRSVHbtE V1H/T3K5wt9bRnIPv5wg/NSBq3doxt0MXpoTZ9GpiwSbLHGeSJiTXVaupoYOMVs1Ohs1JAA8m xCfAPcPFIEKVlpzeNXi92lN5oFDCEvfKgxqa/adFz4RWOYQc8pbUiOYgPL5SzOzWopW0ok14e hBo+HNP7GuKFf+SUaPYkrdVfT1V18BjAOP43VPSofcAzQKK0C+R18QjqGMjKY6ZahlJhFqy6A KpvhKUFuOuJBZ7S7bS1Sc9ZVqb1Kxcx8bIQznkfKm5uWF/4omAPekCJDBAz03JlbW9dvze1Av M5vGi4acHXfmZEZF1gp+BjhWVjM8mWemcUwmrGx0KMaQ0Kd2TwNOEpJh2wy4YR1Imp0DWHkIj CEOxFTfE4vGrMl47WkTwr1zmNEXzQsG6Lh292oZxo+E5A4djiXZWB7I6XZ+ZrJ8NsIGXsSfDP cNsGmLSlE5GgkZVAUlauz5zy/XNfd0F8UMEPdm22Tqcw2uxvOsq+TVxoLMbQBseSGSWHJQd6I ZijGqaVMSOByLTJolnj3KTNV+B3bX7J3pJ4CjsxogUIGdZsC3ZrJyTb8sQttYgSoGp+N+sfP 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:280240 Archived-At: >> Or could you tell beforehand which buffer will be current after >> >> (let ((configuration (current-window-configuration))) >> (pop-to-buffer "*Messages*" '((display-buffer-pop-up-frame))) >> (set-window-configuration configuration) >> (current-buffer)) > > Does this ambiguity exist only for multi-frame setups where > a system window manager decides what frame to select afterwards? The system window manager here does only what Emacs tells it to do. But note that multi-frame setups got more and more broken since Emacs 26 and are maybe not used frequently nowadays. So you probably needn't give them much attention in the first place. martin