From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#37840: Missing in the Emacs manuals: Date: Fri, 8 Nov 2019 12:04:26 +0100 Message-ID: References: <5440997d-8f3f-12f9-ae9e-c0caadde4a01@gmx.at> <81790531-20E9-4919-A485-0D8FE6F60CE1@univie.ac.at> <38fdbe2c-5f1a-3b37-da5f-e2fa6411d8e1@gmx.at> <4ee75419-6f22-4928-3ddb-1add957fb9e4@gmx.at> <568AD058-07B1-4C58-81C5-32E2492C1EC5@univie.ac.at> <554177EF-4600-4F68-89F1-3AF67A551F65@univie.ac.at> <438c4dfa-f7c2-5f5e-32bc-eafdd7c33cb7@gmx.at> <3e7f7f10-9151-659b-076d-2bd8ed61d395@gmx.at> <4f7e6535-ac09-bd8c-f3d4-8ae9b4d9d58e@gmx.at> <8736f07hma.fsf@mail.linkov.net> <878sorqrx3.fsf@mail.linkov.net> <7dd1c601-aa2c-8b44-016c-155bdd8a71eb@gmx.at> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8525"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37840@debbugs.gnu.org, Juri Linkov To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 08 12:06:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iT25p-0001zK-Ij for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 12:06:17 +0100 Original-Received: from localhost ([::1]:52412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT25o-0000C9-CG for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2019 06:06:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT24d-0007vB-QC for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 06:05:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iT24c-0005oZ-NC for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 06:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iT24c-0005oJ-AN for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 06:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iT24b-000050-Sg for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2019 06:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2019 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37840 X-GNU-PR-Package: emacs Original-Received: via spool by 37840-submit@debbugs.gnu.org id=B37840.157321107832736 (code B ref 37840); Fri, 08 Nov 2019 11:05:01 +0000 Original-Received: (at 37840) by debbugs.gnu.org; 8 Nov 2019 11:04:38 +0000 Original-Received: from localhost ([127.0.0.1]:44855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iT24C-0008Vv-Uc for submit@debbugs.gnu.org; Fri, 08 Nov 2019 06:04:37 -0500 Original-Received: from grace.univie.ac.at ([131.130.3.115]:37466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iT24A-0008Vl-QT for 37840@debbugs.gnu.org; Fri, 08 Nov 2019 06:04:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: 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=o3Rd/XsaK+e5kGcY94Z2lrz7Qes8XwMWmFeQjgEuhwk=; b=l9LT6JRbxu6vNVBIU3uPH5ZHk7 xXEHc44uyD5qvLOYGpv8O1ErYCCX4lhep9kouqCbHABnwN1GNTD4DUjtuOPHIsGq3pokH0iLYB6fV 2ZLdXakM8NPlD+uTvlmyBJ07B1qgWKL1XyTlCDaoMe9MwMAVkVOwdSrsF/Zvao7uUUJI=; Original-Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iT248-0007UI-1V; Fri, 08 Nov 2019 12:04:32 +0100 Original-Received: from 217-149-171-112.nat.highway.telekom.at ([217.149.171.112] helo=[10.0.0.13]) by justin.univie.ac.at with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iT247-0008ER-T1; Fri, 08 Nov 2019 12:04:31 +0100 In-Reply-To: <7dd1c601-aa2c-8b44-016c-155bdd8a71eb@gmx.at> X-Mailer: Apple Mail (2.3601.0.10) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171194 Archived-At: > Am 08.11.2019 um 10:20 schrieb martin rudalics : >=20 > >> This means that for Konrad's scenario to work, the minimum = requirement > >> is > >> > >> (custom-set-variables > >> '(display-buffer-base-action > >> '((display-buffer-reuse-window display-buffer-pop-up-frame) > >> (reusable-frames . 0))) > >> '(display-buffer-alist > >> '(("\\*.*\\*" . (nil (inhibit-same-window . t))))) > >> '(switch-to-buffer-obey-display-actions t)) While this works in most cases, for me it still gives a problem with = Speedbar: Suppose frame A has input focus, showing buffer A. Open = Speedbar via the menu. Then the Speedbar frame pops up, with input = focus, but with the same layout as frame A had, and a frame B opens, = with the layput intended for the Speedbar frame, but showing buffer A.=20= Konrad > > > > This doesn't look good, indeed. > > > > Then maybe switch-to-buffer-obey-display-actions should be replaced > > by another variable switch-to-buffer-display-function that could be > > customized to possible options #'pop-to-buffer-same-window, > > #'pop-to-buffer or any other custom function (and nil by default). >=20 > We can do whatever we think best as long as Emacs 27 is not out yet. >=20 > If we leave things as they are we should probably mention explicitly > that 'display-buffer-base-action' gets overridden when this option is > set. We should also say how 'switch-to-buffer-preserve-window-point' > is or is not respected in that case (I'm slightly confused about how > it works now). >=20 > Otherwise, I see no need for renaming the option. We could simply > allow its value to be an ordinary display action with functions and an > alist and have 'switch-to-buffer' act accordingly. Or am I missing > something? >=20 > martin