From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: master 7551aff 4/4: Bind switch-to-buffer-obey-display-actions to t Date: Sun, 26 Jul 2020 20:27:34 -0700 Message-ID: <87tuxtbpsp.fsf@iris.silentflame.com> References: <20200726235725.458.96146@vcs0.savannah.gnu.org> <20200726235727.D751320A1C@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 27 05:28:11 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jztoB-0000fK-8z for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Jul 2020 05:28:11 +0200 Original-Received: from localhost ([::1]:50810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jztoA-0007Ec-Am for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Jul 2020 23:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jztne-0006nb-AL for emacs-devel@gnu.org; Sun, 26 Jul 2020 23:27:38 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:46543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jztnc-0007H2-Gf for emacs-devel@gnu.org; Sun, 26 Jul 2020 23:27:38 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BFF285C00CA; Sun, 26 Jul 2020 23:27:35 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 26 Jul 2020 23:27:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=Hd77VVepMiLJ3gaLm1ifRzNJI8 ZCGqJYZG6Hvwqo2Tg=; b=SVTLw3j79YeoYiRHTaLaiLMTbnJkilnUv7F6oK0afj kubozPHE7gwG0uFFl0DIbCB1IGR+23Gs0Ko5Hx7YDjxw9AjhL7SJaNXnX76p6evV +bN1YVsMZMn8K+YhWK3ktOb2T9T4OnCPtgB1yi6KGSa2iBGZy9f1EsO3RTi2zWUb DqNaCkZMdPzjoJyGXMbZdYZFUgEpeehbxI+fAty+1lCZlcaOSUoOp6UGRvHIGDGS +h60FHMrbsHKaGEDyk5cXnT/IS1r3PV5Rb6D3C/KcKcp+UouGpnygP/VS6zIv2tn udF36XMK3F+J+6mpv/t2LvrMWCVDhjJ8VxcCqQPr/7Fg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Hd77VV epMiLJ3gaLm1ifRzNJI8ZCGqJYZG6Hvwqo2Tg=; b=ZOkdmJlRW/G2QNCtmPp7CD 9wfECdYwL7IQspqzVWx2OqsvZSiZjq+R849/hZsnh1k4iQlcFqmpWf/b+aIb1oMk mcZ5WRrZXcf38RBZRrcIs/FsMSVCwVoRh998hqbiKnyEPUBB/7shCMyLWoqBXnGM ae5rCWFpX3X2yJgoohcFhRSa0AlEBjVMftUmiuxEdKpK1dkxwL/YIcyLaSon2bBq whW98+eDmXdYTQ9pDN3mCUeZev4q+kJonFj3uFpha8Hj4P6GZqmsOaiRffNbYJuX 9OJeREEpEbmm7NxraRjMkPSPpAP/dYXzTLZo0RUeS8+P4/8s4Hs0O5ukMmeo63qA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrheelgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpefuvggrnhcuhghh ihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqnecugg ftrfgrthhtvghrnhepgedtvdehgeffhfffvdeffefhgfejffelhfetveffffektefgtdej tdeivddtveehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: In-Reply-To: Received-SPF: pass client-ip=66.111.4.26; envelope-from=spwhitton@spwhitton.name; helo=out2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 23:27:35 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253282 Archived-At: Hello Stefan, On Sun 26 Jul 2020 at 10:07PM -04, Stefan Monnier wrote: >> Bind switch-to-buffer-obey-display-actions to t > > This sounds wrong. Why not change the rest of the code to use > `pop-to-buffer-same-window` instead? AIUI Dmitry made this change purely so that project-switch-to-buffer would work with project-other-*-command. So are you suggesting that project-switch-to-buffer use pop-to-buffer-same-window? I think that would not be ideal, because for users with switch-to-buffer-obey-display-actions set to nil globally, it is good that switch-to-buffer unconditionally uses the selected window, and it seems that project-switch-to-buffer should be consistent with switch-to-buffer. -- Sean Whitton