From unknown Mon Sep 08 15:20:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52467 <52467@debbugs.gnu.org> To: bug#52467 <52467@debbugs.gnu.org> Subject: Status: 29.0.50; Use pop-to-buffer for shell Reply-To: bug#52467 <52467@debbugs.gnu.org> Date: Mon, 08 Sep 2025 22:20:53 +0000 retitle 52467 29.0.50; Use pop-to-buffer for shell reassign 52467 emacs submitter 52467 sds@gnu.org severity 52467 normal tag 52467 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 13 11:17:16 2021 Received: (at submit) by debbugs.gnu.org; 13 Dec 2021 16:17:16 +0000 Received: from localhost ([127.0.0.1]:56629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwo0j-0006RK-3p for submit@debbugs.gnu.org; Mon, 13 Dec 2021 11:17:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:41498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwo0h-0006RB-8i for submit@debbugs.gnu.org; Mon, 13 Dec 2021 11:17:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwo0h-0005ZJ-4k for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2021 11:17:07 -0500 Received: from [2607:f8b0:4864:20::f35] (port=40650 helo=mail-qv1-xf35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwo0b-0008Ag-Aw; Mon, 13 Dec 2021 11:17:06 -0500 Received: by mail-qv1-xf35.google.com with SMTP id b11so14813930qvm.7; Mon, 13 Dec 2021 08:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:return-receipt-to:reply-to:date :message-id:mime-version; bh=r49+AOfgUYFVDcWhyqNTCzbC1MPLYsHuf+x3h0HkI2M=; b=VToaAlWv/lYOU2jQvPH9j8ePw9iT/FerXwcwHC+vZIHEGw6zQjKARO5OJMFOuxb2lq Vwdq0FRwxCYIItswmLiXJrwhbuxF1kTjLe+lGwpT50e0Hn62I8pk3O1064/1DcH7DiIG NJtt4akOtcH7DTMwEz3x08MFxco4ftRpjGUgC09mTd6EgIb5hywMhGWjR/4K59xFCdjW ddR1jy+oi7wLhTL+6hzZswDj5bQRmPZWhQFcAyjt0af4oO/GdlFFf+mAvOas24hoojoj w2+5fckIA2144pxoUVNRjb+8XLHZfXHZ7ljyYeEmBXsXE51o6NnrN0PylJqbl4loWD9j eLdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:return-receipt-to :reply-to:date:message-id:mime-version; bh=r49+AOfgUYFVDcWhyqNTCzbC1MPLYsHuf+x3h0HkI2M=; b=jaTbEGHvFlzE5dfAKiAO7vyhrFKN4025s/Dy4Ttmx8XjZwYxuI4gKD+ExDWufNcNFj IVxABiEqv1lrb6qQwfNSTvzrjCA0ZrSqc8U6R2Y6FzBDkRNaAMxyzxgOuOHb/oIcn43n UPXrX5gg4Ei4hSgiM5w9LMjXb25XVqIHNYYcYSNmIjXgFr9A/Y1jE1+1I0im/glAk6RJ 3DhfdHVsHVH4EFY57/13DvtzyjKzJAyQMXSNRg9GTBW4Y8VQcyaAOfhisFlaCeoopcyD rAZQsqz25Bef2DEU/2Q3grnrZtTpnC0sRKnviLIFAPIqvo/4CATUCd9XUJ1KKFB9CPJb GbGA== X-Gm-Message-State: AOAM5320qdqpq33UqBvm0+FrXgNHU16EoMCM4p8x1fKnCJWzyl2lKrqI NtcqP808v5YtchPUBp+DRvjJC/60Xw== X-Google-Smtp-Source: ABdhPJzRtsQYlQtZ7suGXouiV1FLuVub9KZr4RBqPQTcdshdtmenMQBCP/Uwh1gK4DF1FeFZtiwspA== X-Received: by 2002:ad4:56a4:: with SMTP id bd4mr43159438qvb.16.1639412214194; Mon, 13 Dec 2021 08:16:54 -0800 (PST) Received: from 3c22fb11fdab.ant.amazon.com (pool-108-30-23-113.nycmny.fios.verizon.net. [108.30.23.113]) by smtp.gmail.com with ESMTPSA id w10sm10059843qtk.90.2021.12.13.08.16.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Dec 2021 08:16:53 -0800 (PST) From: Steingold To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Use pop-to-buffer for shell X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Mon, 13 Dec 2021 11:16:53 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f35 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=sam.steingold@gmail.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: submit Cc: Theodor Thornhill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sds@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Hi I would like to request reverting of the patch 70b64e0d040e9c57f1a489c9ebee553264033119 "Use pop-to-buffer-same-window for shell" When I already have a window with shell, this patch creates a second such window. It seems much more reasonable to use pop-to-buffer in eshell rather than break shell's behavior. If you insist on your desired behavior, please add a user variable `shell-pop-to-buffer-action` that you would set to `display-buffer--same-window-action`. Thank you. In GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H1519)) of 2021-12-06 built on 3c22fb11fdab.ant.amazon.com Repository revision: dd2a994f0c6b8e0f725299a5b3a871578ed9d3e4 Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1894 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://honestreporting.com https://jij.org https://ffii.org https://camera.org Time would have been the best Teacher, if it did not kill all its students. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 13 16:15:37 2021 Received: (at 52467) by debbugs.gnu.org; 13 Dec 2021 21:15:37 +0000 Received: from localhost ([127.0.0.1]:57048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwsfZ-0005QM-5u for submit@debbugs.gnu.org; Mon, 13 Dec 2021 16:15:37 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:44590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwsfX-0005QA-7r for 52467@debbugs.gnu.org; Mon, 13 Dec 2021 16:15:35 -0500 Received: by mail-lf1-f52.google.com with SMTP id z7so33226712lfi.11 for <52467@debbugs.gnu.org>; Mon, 13 Dec 2021 13:15:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=BdIoDNmdpqDUWhBFcbUk83HIhTqgB3ar4/su+UkaZt0=; b=dfbGcaYpIEIpXTyU3HEiTPqoqU7fLwR9m9OozGu9QPAtnP/z1EcWuWfwfVtlGnZnU+ jq179v5sCXSSQTqwC+ZfFFo83cqa8WTJQ7g8MiubRD8srlHxMjbESliB70hDk3j/lgkt +Rifk3ibjsDxW+DN4Ni2gpPbe29HY3mBJU5DGVj6Uj1jGnfeMRKb8MC58O11hGYjV++o tXjiJaHFk2h4/sRG2A8nyrVEjFyWfkKPiowDbK1dR+6Dfnx23NeFsRsuKUnfPR6YoZpI V/Ls6vKkgFPcBOkmiUmAZ/lVQWv3t45yPzOmm4i9xqEyO3kTej5uw7gCk6STj8elj++V 35OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BdIoDNmdpqDUWhBFcbUk83HIhTqgB3ar4/su+UkaZt0=; b=szduVAux14Tnt+Pj/K+b+ETOHZUN2mHEjrfcN6NP/CBKmtZmshNBw16kuRsHubZJU2 xHtkbZFo1TlSy+Cl23XM13SD3WJ/0q/YbT6hG//twGfcYkVOUEcbIFrBFrBzajAG90da Jwyz3q+Mzz1L26/pRRxgTMwi9AbNmCsf8PreP9tVZLo+ZdZkxr8hOUlZPTmAYXeAOr90 gUvlvpBKhX2jdQ+LGtNpdM0rfRatCtgF7r8LZ4Ttw6fWzzmpgtL5IWFWiB7KB6l/M2Oo drQsgajM2nrvKPNtj2RuR/Bvul0fyVBy0nBA9L1IexctxNlhVOAuM/YkrHTQRa4gs9A6 4H4w== X-Gm-Message-State: AOAM531F2xJvh3eAgmHhzytKDFs0wszvgrMZeypZndT2IeF9OWBx+npa 7f8t34/6BnNsTNHkb8HmoCU= X-Google-Smtp-Source: ABdhPJzNtzQsK9IdmUACKT17HlLURFuVtHRnLaLuIeLESOKY9uFX69FV7EyJJ2ZZwjV7bwOJ1oe9QQ== X-Received: by 2002:ac2:4c50:: with SMTP id o16mr732567lfk.517.1639430129090; Mon, 13 Dec 2021 13:15:29 -0800 (PST) Received: from [192.168.0.103] ([5.18.233.185]) by smtp.googlemail.com with ESMTPSA id t19sm1560869lfe.298.2021.12.13.13.15.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Dec 2021 13:15:28 -0800 (PST) Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell To: sds@gnu.org, 52467@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: Date: Tue, 14 Dec 2021 00:14:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On 13.12.2021 19:16, Steingold wrote: > It seems much more reasonable to use pop-to-buffer in eshell rather than > break shell's behavior. That seems reasonable too. I think we'll do whatever the maintainers decide on this issue. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 13 19:08:58 2021 Received: (at control) by debbugs.gnu.org; 14 Dec 2021 00:08:58 +0000 Received: from localhost ([127.0.0.1]:57122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwvNK-00016F-2l for submit@debbugs.gnu.org; Mon, 13 Dec 2021 19:08:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwvNG-00015y-Pn for control@debbugs.gnu.org; Mon, 13 Dec 2021 19:08:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2/NhQ2rwpjAeqUAZbHlGkglJmf9vrEhUVsXQvVUPdUE=; b=YibUbTUzBb5VWmWCgcAk7s1lZJ OjfmZeF2K1jji9/n5g65ijT+GE/fLqhJUkQP0mV4N9N3mTlJBlkXGJwV8WGqk++hU5h3PiXM6/uGG U/b0d5fzdBKOa3MsV1/vzUm+dEhxdjZt03Rcng7fvE3ix9zlHxvS9Plk04Ar3e2yctl8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwvN7-0003uG-Uz for control@debbugs.gnu.org; Tue, 14 Dec 2021 01:08:48 +0100 Date: Tue, 14 Dec 2021 01:08:41 +0100 Message-Id: <8735mwrqt2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52468 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 52468 52467 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 52468 52467 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 14 03:19:46 2021 Received: (at 52467) by debbugs.gnu.org; 14 Dec 2021 08:19:46 +0000 Received: from localhost ([127.0.0.1]:57525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mx32H-00017U-Qd for submit@debbugs.gnu.org; Tue, 14 Dec 2021 03:19:45 -0500 Received: from out0.migadu.com ([94.23.1.103]:61762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mx32D-00017J-GS for 52467@debbugs.gnu.org; Tue, 14 Dec 2021 03:19:43 -0500 Date: Tue, 14 Dec 2021 09:19:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1639469980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=03lqyoOHvAMHjAeHTDVb49iPurzr0CWMhzuiHm/KnWI=; b=MtqBj3BD3Ucy7VgcKyojpzb1RWiLcA2sSFO5nCqiQrmAVlOTdBUGD60fKWHHd4mZAx5mps 8SRzvwsxlJ+WdT6c2GImstLy697JVTQbPNiYTi3Osz7YgDQTPrkxwrY1SnOxD4wUREqFCv 4hE64kHBwUL4cwOXXq1dnQx/TmWBtrXTK++speqAf16i757P+qbMgxN9vbJeHhOHJshOnT 88qaaJSDHUDtBZk7BWFasvPg9gkaLrsZlKDZfHfnvjfWsRR//nx6lUWBn+gKojGpvibkUt MsqybISqS2ZySDTnu7w1jaA3Gk6aJ127Hyq419jIrlDIlZvgZOA4e2mOxX9OIg== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Theodor Thornhill To: Dmitry Gutov , sds@gnu.org, 52467@debbugs.gnu.org Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell In-Reply-To: References: Message-ID: <0BEA9229-B908-45AE-8FDE-EF2AFBCAE9DD@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: theo@thornhill.no X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52467 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 13 December 2021 22:14:31 CET, Dmitry Gutov wrote: >On 13=2E12=2E2021 19:16, Steingold wrote: >> It seems much more reasonable to use pop-to-buffer in eshell rather tha= n >> break shell's behavior=2E > >That seems reasonable too=2E > I don't have any objections, but not my call=2E=20 >I think we'll do whatever the maintainers decide on this issue=2E Agreed!=20 Theo From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 14 10:53:53 2021 Received: (at 52467) by debbugs.gnu.org; 14 Dec 2021 15:53:53 +0000 Received: from localhost ([127.0.0.1]:59335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxA7l-0006HE-8q for submit@debbugs.gnu.org; Tue, 14 Dec 2021 10:53:53 -0500 Received: from kamnitnik.top ([209.250.245.214]:47858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxA7i-0006H5-SC for 52467@debbugs.gnu.org; Tue, 14 Dec 2021 10:53:51 -0500 Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id D5C079C719; Tue, 14 Dec 2021 15:53:49 +0000 (UTC) From: To: sds@gnu.org, 52467@debbugs.gnu.org Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell In-Reply-To: Date: Tue, 14 Dec 2021 16:59:09 +0100 Message-ID: <87v8zrch4i.fsf@miha-pc> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Steingold writes: > Hi > I would like to request reverting of the patch > > 70b64e0d040e9c57f1a489c9ebee553264033119 "Use pop-to-buffer-same-window for shell" > > When I already have a window with shell, this patch creates a second > such window. Maybe you could try customizing display-buffer-alist. To prevent creation of duplicate windows showing the same shell buffer, do (add-to-list 'display-buffer-alist '("\\`\\*shell\\*\\'" display-buffer-reuse-window)) > It seems much more reasonable to use pop-to-buffer in eshell rather than > break shell's behavior. For old behaviour of popping up a new shell window, do (add-to-list 'display-buffer-alist '("\\`\\*shell\\*\\'" (display-buffer-reuse-window display-buffer-pop-up-window))) > If you insist on your desired behavior, please add a user variable > `shell-pop-to-buffer-action` that you would set to > `display-buffer--same-window-action`. display-buffer-alist is flexible enough to customize this behaviour, no need for a new user option in my opinion. Best regards. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 08:14:14 2021 Received: (at 52467) by debbugs.gnu.org; 19 Dec 2021 13:14:14 +0000 Received: from localhost ([127.0.0.1]:45225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myw10-0007tO-3z for submit@debbugs.gnu.org; Sun, 19 Dec 2021 08:14:14 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myw0y-0007t8-6P for 52467@debbugs.gnu.org; Sun, 19 Dec 2021 08:14:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=CNQ7MbTREDgwMU2FNqAwK2squGDUMDTve2APF0MQqBI=; b=JdhkKpPi3bcITHoj9AiYhbnllu T/n+fxomfdi4hVEcCSIb6mU5bTBSY0182u3i3d9sgDB6BzcdXg1I24PEN0SeT6LfkFFstsJMjiUUj DWFDJzs70cRct4nzfSU7ntix6HSd4DSw92Vy6EuEOCqAcKU8CscrwBIKdpUsDQK8wbQM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myw0p-0003ur-5I; Sun, 19 Dec 2021 14:14:05 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell References: X-Now-Playing: John Martyn's _Inside Out_: "Beverley-Make No Mistake" Date: Sun, 19 Dec 2021 14:14:02 +0100 In-Reply-To: (Dmitry Gutov's message of "Tue, 14 Dec 2021 00:14:31 +0300") Message-ID: <87sfuorb39.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > On 13.12.2021 19:16, Steingold wrote: >> It seems much more reasonable to use pop-to-buffer in eshell rather than >> break shell's behavior. > > That seems reasonable too. > > I think we'll do whate [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52467 Cc: sds@gnu.org, Theodor Thornhill , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Gutov writes: > On 13.12.2021 19:16, Steingold wrote: >> It seems much more reasonable to use pop-to-buffer in eshell rather than >> break shell's behavior. > > That seems reasonable too. > > I think we'll do whatever the maintainers decide on this issue. I think the current behaviour makes more sense than the old one, really. For one, it's more predictable -- when you say `M-x shell', you're getting a shell in the current buffer. The old behaviour either does that, or lands you in a different window (if you've already got a shell buffer open elsewhere), right? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 18:36:05 2021 Received: (at 52467) by debbugs.gnu.org; 19 Dec 2021 23:36:05 +0000 Received: from localhost ([127.0.0.1]:48474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz5in-0002Bw-Ij for submit@debbugs.gnu.org; Sun, 19 Dec 2021 18:36:05 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:35822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz5il-0002BS-Am for 52467@debbugs.gnu.org; Sun, 19 Dec 2021 18:36:04 -0500 Received: by mail-wr1-f53.google.com with SMTP id j18so16566675wrd.2 for <52467@debbugs.gnu.org>; Sun, 19 Dec 2021 15:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=K34sdfLDXuZ83GMFrT5zZ0t9+vzdNjrFn9OGQNG6XK0=; b=K4jGz7EIxIKUmyjJu8TvVJOYQ2Yp4QBXIGcf4lXZ6oIP3L8B+5SWPIWJofvH08D1Fq 8VOjyTHtkjvmJtOQeLSq63xDRxJtRaVp2BP5ASyPH3tesnoXB0bMRGdpOxOk36hn54DI UJBqKIvOuBSAb6yoJvHuttgLD31EDlwYyj/j1t+17Z7wI+O88f3qWHajHR7uaEB2EuyM TsmcToVUiejxRaqAbuP6Exl2fAUadF+ZdeVnxuY7UmPGD7MSubklfxUExkCOezyYc4WR 9cEORoLbbNbeUeOAqhhiI+e+x+g0npruq/pmLgJ1scWSbkroW1ZzpYGYBZqOO7+4RCnL GHwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=K34sdfLDXuZ83GMFrT5zZ0t9+vzdNjrFn9OGQNG6XK0=; b=ohIejDQois4L1VCsJEeKXugg+0fkvBJrdDRMBQorNhgwtjUcpz+/97qExZoNYT1AS5 bh8iT/hsolxO3P3JDD1GEEORcVM3za3CbRg8i0TswTp5Tks8c+y9wK4i5MgdX760uyEq hF2W4LnJk37gLwTDS6p7o6x1HfB4A8zop+R1yoEJ6jeMW3mLNOPosCEo6Ku1B0TsFe5X oSxVxMjObPRYkjCLnOqR+ubYWp8tV0hCSHURNhaFKTC5S7HzI7g4uxX6mF4+ak1SAqjf ZqKJFOdjY6xoBH3ZSbXxx94ieaHdaTE25xcIztgiElg1NgkydijfDs2It0vIyIK1OMiy Bjaw== X-Gm-Message-State: AOAM533X8S96Bn+sEHSKxAGs7Bg/cSOcj4UZLBmRMVuX+lmJjXEH3MmA UidbbvX7Cvywcv2Jr54ymRo= X-Google-Smtp-Source: ABdhPJzxN/vfdAldvrxGY1xEfrXh86tz76jbvV7mJlAcRmfWrX8lc5UZlvszyNfid4AhQG/fxPNoPA== X-Received: by 2002:adf:e3cf:: with SMTP id k15mr10744173wrm.30.1639956957464; Sun, 19 Dec 2021 15:35:57 -0800 (PST) Received: from [10.112.52.244] ([185.213.155.252]) by smtp.googlemail.com with ESMTPSA id o4sm19431936wmq.31.2021.12.19.15.35.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Dec 2021 15:35:56 -0800 (PST) Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell To: Lars Ingebrigtsen References: <87sfuorb39.fsf@gnus.org> From: Dmitry Gutov Message-ID: Date: Mon, 20 Dec 2021 02:34:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87sfuorb39.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 52467 Cc: sds@gnu.org, Theodor Thornhill , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On 19.12.2021 16:14, Lars Ingebrigtsen wrote: > Dmitry Gutov writes: > >> On 13.12.2021 19:16, Steingold wrote: >>> It seems much more reasonable to use pop-to-buffer in eshell rather than >>> break shell's behavior. >> >> That seems reasonable too. >> >> I think we'll do whatever the maintainers decide on this issue. > > I think the current behaviour makes more sense than the old one, really. > For one, it's more predictable -- when you say `M-x shell', you're > getting a shell in the current buffer. In the current _window_, right? >The old behaviour either does > that, or lands you in a different window (if you've already got a shell > buffer open elsewhere), right? To be fair, it might be considered a little inconsistent still. Like, you get a shell (or eshell) buffer in the current window, but if some shell/eshell buffer already exists, you get that (existing) buffer in the current window. One could expect something else still: a new buffer in the current default-directory. Meaning, an [e]shell buffer that corresponds (in some way) to the buffer that was previously displayed in that window. Or to phrase that in a way similar to yours: a shell buffer in the current window that's related to the current buffer. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 20 23:08:19 2021 Received: (at 52467) by debbugs.gnu.org; 21 Dec 2021 04:08:19 +0000 Received: from localhost ([127.0.0.1]:51970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzWRn-0000R7-G1 for submit@debbugs.gnu.org; Mon, 20 Dec 2021 23:08:19 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzWRm-0000Qt-AB for 52467@debbugs.gnu.org; Mon, 20 Dec 2021 23:08:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Resent-Message-ID:Resent-Date:Resent-From: Resent-To:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Sender:Resent-Cc:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XXEcbQcA2Yyu/RrZWOOQCxBTU7Z7h68U1UgSg7O3Rlg=; b=uPNuQJ2gB0AzNurIvSojbggyib b6GMn6PEWNAI55I0cn9f5ne63vHxTURwNLeMH7VmejVyra4+40aPuOSmZy+ts7NM0IQvGSWQ+Rsqz S2jxpKGEAKvweshs5PRgJ2sTK+kxHhXqt3Q0a+Uqe+QdyIbcmve90yMXzETNmfZ4lw1g=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzWRe-0002n0-9u for 52467@debbugs.gnu.org; Tue, 21 Dec 2021 05:08:12 +0100 Resent-X-Now-Playing: Heidi Berry's _Love_: "Gloria" Resent-To: 52467@debbugs.gnu.org Resent-From: Lars Ingebrigtsen Resent-Date: Tue, 21 Dec 2021 05:08:09 +0100 Resent-Message-ID: <87zgoulhw6.fsf@gnus.org> X-From-Line: nobody Mon Dec 20 11:18:02 2021 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell References: <87sfuorb39.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEWOoVlMZDn///9k 6/PIAAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+UMFAkxCrmP2HsAAAFESURBVCjPRVFBDuQwCDNSuKdS +A+RmjuR4P9fWdMd7ebSOAZsXIBnYMx4+yaJwFCYF1xLHJgVFkBV34HFqvhAQJdpg5KA8N1gBLvu hChbiE7VADzZTxJKPpsi5lTJU2BJ1fW20c+ZJBKmG/1uFbRDvUFRspcjEl7q99btVpSr63cl6DW0 fiBi/gf3vp/L5iGie44pY9LBddHRJw73L31YMrjsYAZ7TpGXlYKzG4BgDepsVfEnpy+cDorlPInn S7LjqPjikr+aDHH/qrT4fhw/N9zH//UUZt7AuxSHJcnUOhjoFrIJPQd4juEpH0+q49HLELGYVFXr VI6VztC6hy0fEebajE2qs06Qiz1ZVLj0PXzFsqAx/tNB49PcMKzLqMjkocYPg5DqZV6UTs4+QiOL FsM5zSlEvz73sAeRjEq5txqTnbA/cGxYvOKgEBwAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTIt MjBUMDk6NDk6MTArMDA6MDDZqP18AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEyLTIwVDA5OjQ5 OjEwKzAwOjAwqPVFwAAAAABJRU5ErkJggg== X-Now-Playing: Vashti Bunyan's _Strange Folk_: "Here Before" Date: Mon, 20 Dec 2021 11:17:58 +0100 In-Reply-To: (Stefan Kangas's message of "Sun, 19 Dec 2021 23:15:03 -0800") Message-ID: <87wnjzoa09.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Lines: 17 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: >> One could expect something else still: a new buffer in the current >> default-directory. Meaning, an [e]shell buffer that corresponds (in >> some way) to >> the buffer that was previously displayed [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52467 Cc: sds@gnu.org, Theodor Thornhill , 52467@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: >> One could expect something else still: a new buffer in the current >> default-directory. Meaning, an [e]shell buffer that corresponds (in >> some way) to >> the buffer that was previously displayed in that window. Yes, but... having a single buffer for things is what we usually do -- *info*, *Help*, etc. > Isn't that what the prefix argument is for? Yup. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 19:38:49 2021 Received: (at 52467) by debbugs.gnu.org; 24 Dec 2021 00:38:49 +0000 Received: from localhost ([127.0.0.1]:35283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0Ybb-00081M-PG for submit@debbugs.gnu.org; Thu, 23 Dec 2021 19:38:49 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:34433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0YbW-000816-LY for 52467@debbugs.gnu.org; Thu, 23 Dec 2021 19:38:42 -0500 Received: by mail-qt1-f170.google.com with SMTP id o17so6423097qtk.1 for <52467@debbugs.gnu.org>; Thu, 23 Dec 2021 16:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :return-receipt-to:reply-to:date:message-id:mime-version; bh=dN5gMbeh6EUsk5hUXbrksL2PBfZ0tcysqeNveKdiRNY=; b=KDi8HyvNWY6rbqKPgAQGsYfGvgB90V+xVe0mddB5HONR3xwHGIckd36VU0nlHsXIZ1 dwYmay/sTsm/X3dhPIAxMHzz6gigb2ywc2D65fTV1EoQSMaukixUDZYrT9TpaLKMyNEW Z4UuMB7QZw93KAsVrsohKpNjvUre4dRSlXqky9aaEwPfdTo4W6Ld3CVl5U9wvO6YBBC0 Bw65F06XrCo8XdEBrpgTKMDPCfpCMfiSTgXvNlg5ysIXtb/1PbYV5xlK5u0gHdv/F7Ca rEUcSdaKGbsk0DWg8fU2eyICvlZFSYPvnURcEGh69rvrSneJWB6gB2ns2+y+DvkKhb5I Octg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :user-agent:return-receipt-to:reply-to:date:message-id:mime-version; bh=dN5gMbeh6EUsk5hUXbrksL2PBfZ0tcysqeNveKdiRNY=; b=ffR9hfM3B2BD+R7p/70L5sWRbkOStbcWwYSTnIIpbgjo/ryjvsUcYb5QF/p2Iic7PB U7IYVV7bVImW2GjGS9QPV+7ci75xjVRl8ps1WTUqMfxPtSB/Y5nT/1hyjjRYDGlJ4FOL xOil0v1twBYCFph1ISSPWip8QcOtiuSYBuFNBUuyhHsFkclztTQMpNhpK30ig1RQ751r JZsbz4nvzxRnYmZ9ZCDnwERF+vhpIvMFFW7R8bkrGt3j2iixrkw963houWlfhYAPhTqU 7RSWTLoV1GmAMfxsSilewp4hPdPOxmhF5GZoJBZ0ZREVrI/AV57+3LK/kC/rcqsKsKH9 9EaQ== X-Gm-Message-State: AOAM533cF/33AGpUTmHCDCVEpn61avahnOF+UQZXgzWO5fqCyz7NEOws XZgALNQ8YvdrtQl+Af2CRg== X-Google-Smtp-Source: ABdhPJyXLpg05Ti4yJs5z6qvCxbIj+BKX4JXptih4YzUbsYzvFfJWcSbqL1hkBS/wYTKeWqrzKwZyQ== X-Received: by 2002:ac8:6d35:: with SMTP id r21mr4003371qtu.9.1640306312917; Thu, 23 Dec 2021 16:38:32 -0800 (PST) Received: from darter (pool-108-30-23-113.nycmny.fios.verizon.net. [108.30.23.113]) by smtp.gmail.com with ESMTPSA id s3sm5753341qkp.93.2021.12.23.16.38.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Dec 2021 16:38:32 -0800 (PST) From: Sam Steingold To: Lars Ingebrigtsen Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell In-Reply-To: <87wnjzoa09.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 20 Dec 2021 11:17:58 +0100") References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Thu, 23 Dec 2021 19:38:31 -0500 Message-ID: <87zgoq3khk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , 52467@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sds@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) At this time the current behavior in unpalatable in that I sometimes get a second window with the same buffer, and there is no way for me to change it. Wouldn't it be better to at least use `pop-to-buffer' everywhere and let the user decide what they prefer using the standard mechanisms like `display-buffer-base-action' or `display-buffer-alist'? Thank you! -- Sam Steingold (http://sds.podval.org/) on Pop 21.10 (impish) X 11.0.12013000 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://iris.org.il http://think-israel.org https://memri.org Bug free software merely has random features. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 19:52:26 2021 Received: (at 52467) by debbugs.gnu.org; 24 Dec 2021 00:52:26 +0000 Received: from localhost ([127.0.0.1]:35295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0Yos-0008NX-AP for submit@debbugs.gnu.org; Thu, 23 Dec 2021 19:52:26 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:39589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0Yoq-0008NK-Je for 52467@debbugs.gnu.org; Thu, 23 Dec 2021 19:52:25 -0500 Received: by mail-wr1-f54.google.com with SMTP id s1so14516087wra.6 for <52467@debbugs.gnu.org>; Thu, 23 Dec 2021 16:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DnTdcdXtTKzXuBg1RgyB0soD61m0S8PylUv7PqGwyYo=; b=ez1G+rn1Jec5loqSoEmhFiWNi8zyE2K1+W1bilCW/L0Uiu16h1tzoiAcY3sxQ2XGZs 2EiDb1wQoaYImfp+uoBNUdw8ubi1ufNTjAOT3TPdkfHkHXpCUnjnIYsRMG5V/WQHLu+m vmptBOq7ULjSDcqm6QJBlvSVfaS02dDVsTj2/XqRqvZ4BhZZ2wQkn3E94piQRF8ECfjm gyq/zDJHX/ZoJ/vH+SvSqQNEXdko9nmD5+p0+NxM+YifDyM4KNjb1EYe92P27IE6bXQP IIPD53oT0UXzs4deCGiROmfu4xN4KsfWZfVJlfO0vp31ZXEO3VXcUnMsfu+wIxVTFvN/ zqAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DnTdcdXtTKzXuBg1RgyB0soD61m0S8PylUv7PqGwyYo=; b=ZtmO5q3teEIH6hcAnQOBaC5CsFvCPmGUS3zyEz7XGQgJzTRDxfUGsAjqzzcwMhw7H2 hQkiTNhZ8JOrQykkH2rWIxZPVxWtUCU9dCWBG3gEFUrw+MxgvqpbhOGQpiYmpqW+BUcB s3n3XFDfM717Z5jIKwYNNUZj1FFKk3kRlHHS3679PIPxbZ9AoVHt+ceUaJH2Cd9MmoLy N4thSuuF1WFSKVkGQntCopICq3VlZMr3t9p8XZX2JVe/fykuK1TxFP1KNX8WF/Van0qR TCMpEUbbD/sGOjgYNe5nMncPj7T4QejngxtSWNvVHE4t16gKFLvRx8HxpJ8TiH6UfkjE sU/Q== X-Gm-Message-State: AOAM530R8wBlnTedDkVx7b83sugtMudG9xEsp9yr5cdd3ZkQQZ7ktqb3 LnhNA1SlByiNrgqhLI9firxAUdUTdm0= X-Google-Smtp-Source: ABdhPJxzi1EZbNWkZxjZN+yEozxWbocZFjpDakbCLJQp3Wl9Of24Hapw6HxWJCjsp1/XwTPwJt1yeA== X-Received: by 2002:a5d:4486:: with SMTP id j6mr3047255wrq.160.1640307138778; Thu, 23 Dec 2021 16:52:18 -0800 (PST) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id d13sm6206701wru.41.2021.12.23.16.52.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Dec 2021 16:52:18 -0800 (PST) Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell To: Lars Ingebrigtsen , Stefan Kangas References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> From: Dmitry Gutov Message-ID: <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> Date: Fri, 24 Dec 2021 02:51:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87wnjzoa09.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 52467 Cc: sds@gnu.org, Theodor Thornhill , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On 20.12.2021 13:17, Lars Ingebrigtsen wrote: > Stefan Kangas writes: > >>> One could expect something else still: a new buffer in the current >>> default-directory. Meaning, an [e]shell buffer that corresponds (in >>> some way) to >>> the buffer that was previously displayed in that window. > > Yes, but... having a single buffer for things is what we usually do -- > *info*, *Help*, etc. > >> Isn't that what the prefix argument is for? > > Yup. That's what I was saying: both "force the use of the current window" and "force the use of the current default-directory" could be enabled by the use of the prefix argument. Whereas we currently have the former by default, and the latter on prefix argument. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 04:07:53 2021 Received: (at 52467) by debbugs.gnu.org; 24 Dec 2021 09:07:53 +0000 Received: from localhost ([127.0.0.1]:35646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gYL-00061z-Er for submit@debbugs.gnu.org; Fri, 24 Dec 2021 04:07:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gYJ-00061l-Ps for 52467@debbugs.gnu.org; Fri, 24 Dec 2021 04:07:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=roAq3v8apJ1IaoYEn5CcIMJxFurl2fO1lMbfZTVIEeE=; b=PcjzxOjdc4vx9qrFq7UvcIJBoM KFt9T+eslX4O0gR0zhNqqzjm4JuMEG7x/j2FNyhD/hAMgNNEIycJlR8Icxn98lTPb6PU6Ov5e7B3t fzwEhpgA9xXxOcXoD8ABqLH1W/UDMu0uEBixvDlp58kzDuUCmP72qrEm+hTX00awEoqk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n0gY9-0001vy-M5; Fri, 24 Dec 2021 10:07:44 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVBR1MTEhVTn+s/ Z52/r6z///8nA0HJAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UMGAkCD3dY9nwAAAGoSURBVDjLbZOB dYMwDESlmgGs0AFaOwMY3AFc4v1nqk4yAZLCSx74c6eTMMQSM4sIfpGII4kQk+ASIHYQquNYFwo8 b7rWezdAFAg/pspzYvlUwCdFXYgkVpFJQXOFH0wUuehKH16WgREA1BXqFXGtwUyhZgMsEiMz/Kpb wmJqMBEAtGNHwYpoCPYiFq08wWT/+rRYJ9aLg0bdbfgMIqH8L7wUFAMVoLd+AlohOIi9nRQorZHN avpViKGgYwdUDDTZh2IgVNJKdjvtIABo66GiiM6S6ADVZnJvFn9yRaxhgLk/bCLkxQ8Q7g8Z80W1 +QQ2a711miDYQa59kzHADsEOUiplgOkF5GUXABR6gpSRqrCDlA+gbj/oG3FnPHiAlG0iXeLNbi3V apeLS+gjDULJybdLmj+mBEOua01f0UAY6/fsb1yV9j76Y1ckEnm2BzC/g+jbYX0Hvh1uB/ANJ2yS OL8pyED9x8rKb7a6XoB5Gch6HkBrQbKaYD0DssQQvAFI1CvnSw2tDsmG0V5S4ZuiPdYFUNTPZ0uZ 1pc+sH+19kNeAOHEmr/tP8Z4f61SELGbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEyLTI0VDA5 OjAyOjE1KzAwOjAwF5gWKQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0yNFQwOTowMjoxNSsw MDowMGbFrpUAAAAASUVORK5CYII= X-Now-Playing: James Taylor's _Sweet Baby James_: "Sunny Skies" Date: Fri, 24 Dec 2021 10:07:39 +0100 In-Reply-To: <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> (Dmitry Gutov's message of "Fri, 24 Dec 2021 02:51:07 +0200") Message-ID: <87h7ay4bhg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > That's what I was saying: both "force the use of the current window" > and "force the use of the current default-directory" could be enabled > by the use of the prefix argument. > > Whereas we curre [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , sds@gnu.org, Stefan Kangas , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Gutov writes: > That's what I was saying: both "force the use of the current window" > and "force the use of the current default-directory" could be enabled > by the use of the prefix argument. > > Whereas we currently have the former by default, and the latter on > prefix argument. I don't quite get what you mean here. `M-x shell' pops up the old shell buffer in the current window. `C-u M-x shell' pops up a new shell buffer (started from the current default-directory) in the current window. What is that you propose should change? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 19:49:22 2021 Received: (at 52467) by debbugs.gnu.org; 26 Dec 2021 00:49:22 +0000 Received: from localhost ([127.0.0.1]:40048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Hj0-0003zx-Ia for submit@debbugs.gnu.org; Sat, 25 Dec 2021 19:49:22 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:42894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Hiw-0003zh-0C for 52467@debbugs.gnu.org; Sat, 25 Dec 2021 19:49:21 -0500 Received: by mail-wm1-f51.google.com with SMTP id a83-20020a1c9856000000b00344731e044bso6520814wme.1 for <52467@debbugs.gnu.org>; Sat, 25 Dec 2021 16:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9xcpANUV4ovCKU8epV8kCS/qmv3rAO4+G+IG1ko3CUI=; b=pBgBcBobOtXNoZ0DEKUVMKuiQVjMbFBXnUmgLwsjs5+SsywKZKUBFU0GIIAGkkS+cw PC+4e5KjNjMHUbQijItQps2IfgFfa1QbSTjvYN30ek9ux9S0GBCE39ISih8MKImP+KBw apM8Ku15YoRIyzjm51yrcYl7Y+de0PlUaoDlG/FwewcIXrUNjE82qoOn8cz1naEdXPlq F55VJc6fW6EH/FAH5WOtnIsaSd6qXFe69ZK/IzoUuJ5Luh8zGuAi6x7EDpkqKc4gsBbT lHdH5R/mXW7Xv3Wu3XzABW6JHn04drxE8faTAwXqaawaPw35XhoI6nt+bY5boDJTMJA+ KoTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9xcpANUV4ovCKU8epV8kCS/qmv3rAO4+G+IG1ko3CUI=; b=ziNE3Eue+U6ewWLUKX0kbJWcUoenf3gc6Go9pBrQao5DdYYMPqlGU2G8PdufgiSjUg kaXnDlONs1anAHm7mquQP3DM1jEQd7gXtim/1fu0NoBxXQXCG1O+2rBQFH8Q5PYFVWRj L7NfIF/NCaK/K3szSkqGklosGhzNzjx4bkGvvYE++JU+eP3eA6EV8DrF+1+4Ut/wJUTv ITXJ05NB/V9WweS7YVr6Dp8DCZZNNxhuWH4uaNukEVhbGqjE7w7jyvwAGnGCWy3/FhBX aZcNZDWk3V2Q/133aVXJW3jhu7M6Zsz/qhfUTg63zm8iQ2ETqMAP+FnXWcrt7+B2s1oB qUQA== X-Gm-Message-State: AOAM532rTVSns/tWyKCHXM6MK9zRMpom/lUc47yu20Y6HkrhaCgeIqFh /c/ljPWPLKAl9xL941c4tvQrpdbNnMEJzw== X-Google-Smtp-Source: ABdhPJw1Pre50sAvBZTpfynLdkr44MfrOstmiL/eaXMYXBS57R2tIlUgPdMwFuvtRYrl5BerdQMfOQ== X-Received: by 2002:a05:600c:1d90:: with SMTP id p16mr8960564wms.145.1640479752030; Sat, 25 Dec 2021 16:49:12 -0800 (PST) Received: from [10.112.109.103] ([185.209.196.172]) by smtp.googlemail.com with ESMTPSA id v6sm15107744wmh.8.2021.12.25.16.49.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Dec 2021 16:49:11 -0800 (PST) Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell To: Lars Ingebrigtsen References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> From: Dmitry Gutov Message-ID: Date: Sun, 26 Dec 2021 02:47:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87h7ay4bhg.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , sds@gnu.org, Stefan Kangas , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On 24.12.2021 12:07, Lars Ingebrigtsen wrote: > What is that you propose should change? Basically what Sam is asking (use pop-to-window for both shell and eshell), I'm just trying to conceptualize that change. Not a strong preference, but it seems to make sense. Or to approach the question from another angle, the difference between that behavior and the current one is that you can create two windows that show the same buffer. Do we want that to happen with 'M-x shell' without prefix? Overall, pop-to-buffer seems more common than pop-to-buffer-same-window. The downside of using it, though, is that the current window is unlikely to be used even if the buffer is not displayed anywhere else (the algorithm chooses something like LRU window). Maybe we should choose a mode of operation where it does use the current window, unless the buffer is displayed somewhere else. Something like (pop-to-buffer buffer '((display-buffer-reuse-window display-buffer-same-window) (inhibit-same-window . nil))) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 26 06:36:02 2021 Received: (at 52467) by debbugs.gnu.org; 26 Dec 2021 11:36:02 +0000 Received: from localhost ([127.0.0.1]:40299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Roo-0006IF-Bt for submit@debbugs.gnu.org; Sun, 26 Dec 2021 06:36:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Rom-0006Hi-8p for 52467@debbugs.gnu.org; Sun, 26 Dec 2021 06:36:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=84AZKtQPPq9SsBNcVvYbeSkikhJSciW7LEYXIhxmH6U=; b=VXYFs7dHjxyfgISIyn7MF9Ta5q O31qokuxC0pz/r3h/Z8T20xkYl3fH58G1nGQ6L0U3/1aadq0WvB5Lh44qVLjjP+PAr3dhiDVwsQBJ NU7OYPM3uPq7KK52qZAfgLxR1vuWtK8ezavF+wWlNacZDYELSxiK8kfXvSrC+IeYSn/g=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1Roc-0004Sh-Sx; Sun, 26 Dec 2021 12:35:53 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVWTFCpYWg3MTT/ //+VP7zNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UMGgsaLhCnYp4AAAEqSURBVCjPbdJBasMwEAXQ iUjAaNWUeO92FeYUpdB9GuJNj5BTiNBFyLInmGY1/FP2j+SkLlQGW88jyaORRR4k+1YyRFTYYArg LJjgwCU3FLWMM4jFKz5z+cC31kgySdJJREThEitMwF+khqWoYpFwgj8TOfsT8AU/clhOELhancNF BW2ORQqi18uVKMRqHMd9wIk+cBs2/gufg4uv79A5cpkBJfW/cJlgWyL3h4rSRb6BHcEkr9g08POW UDb9QR4jwiqXzWICS1GW7298EkNgHS9LmjYcrWROuTXTVj6LmzNn4OjDlrY4PKgPHbupAieeCSw3 xHZhLeLclGip8JqSWq2ysdpqPEslolip1DpHJDFFXoHS0FXIas+SvNTfw9sp3LHa1W4DW6wlP+Oo wtnMVjPkAAAAQnRFWHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQ RUcgdjgwKSwgcXVhbGl0eSA9IDEwMAqhrIJaAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEyLTI2 VDExOjI2OjQ2KzAwOjAwf7sMEwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0yNlQxMToyNjo0 NiswMDowMA7mtK8AAAAASUVORK5CYII= X-Now-Playing: Anne Clark's _R.V.S.P._: "The Last Emotion" Date: Sun, 26 Dec 2021 12:35:49 +0100 In-Reply-To: (Dmitry Gutov's message of "Sun, 26 Dec 2021 02:47:59 +0200") Message-ID: <87a6gnzjhm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Gutov writes: > Or to approach the question from another angle, the difference between > that behavior and the current one is that you can create two windows > that show the same buffer. Do we want that to happen w [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , sds@gnu.org, Stefan Kangas , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dmitry Gutov writes: > Or to approach the question from another angle, the difference between > that behavior and the current one is that you can create two windows > that show the same buffer. Do we want that to happen with 'M-x shell' > without prefix? That's how it works today, and it's a simple and predictable way to act for this command. > Overall, pop-to-buffer seems more common than pop-to-buffer-same-window. Well, I think it depends on the command, really. If it's a command that's usually used to pop up a new secondary window while you're still expected to keep on working in the current buffer later, then we pop, otherwise we switch. And `M-x shell' is in the "switch" category -- it's a "new action", not "something I'm doing for a bit before going back to this buffer". > The downside of using it, though, is that the current window is > unlikely to be used even if the buffer is not displayed anywhere else > (the algorithm chooses something like LRU window). Maybe we should > choose a mode of operation where it does use the current window, > unless the buffer is displayed somewhere else. > > Something like > > (pop-to-buffer buffer > '((display-buffer-reuse-window > display-buffer-same-window) > (inhibit-same-window . nil))) I think that's more unpredictable. What happens currently is very regular. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 26 10:38:27 2021 Received: (at 52467) by debbugs.gnu.org; 26 Dec 2021 15:38:27 +0000 Received: from localhost ([127.0.0.1]:41323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1VbP-0000xc-FE for submit@debbugs.gnu.org; Sun, 26 Dec 2021 10:38:27 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:44567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1VbN-0000xL-WE for 52467@debbugs.gnu.org; Sun, 26 Dec 2021 10:38:26 -0500 Received: by mail-wr1-f53.google.com with SMTP id t18so27459576wrg.11 for <52467@debbugs.gnu.org>; Sun, 26 Dec 2021 07:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Sm/G2pE0g6NWFE6OyjYscTjpFO93FPF+bxSDev9WmTw=; b=Ctl0+Jn1H5fS5HKSUF/ZROCfHspfn44g7EacNnd/nouEedsuelChR07dJZrBk2Zlpt qLRA8V5F/Uv1JMEcJzM3qOumMefKEDGZqIXJAghnAIrzgSOuScL3LsJQ3B6U9S2hZCqe n2ue1JljTwnwcwbpha0+L3WDS4PNZ8pd0yymAfggnBlRREn/ie97n+vI7wnybcmT5yTu lqMHNfa/BzoDXAbWxS5h7Wmb8MppmuhU7OnKBW4FG8e3rj/GoDgiWt9YhRLz4MqTODMW O2U8pkZXbbtciIJAjcmjgjrfdnLAgAyIt+kDW6ydAtguHghr2avMWKgkimpQ0X5madNM VI6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Sm/G2pE0g6NWFE6OyjYscTjpFO93FPF+bxSDev9WmTw=; b=SwouCexB8i+9D6+kXh/WLIHyX1XPTIqnlPlrTB8Lw2IHAyuWDjMcmXtXeZJDZ7fy6i 7cTXe+5+Pz58OrB1gKFe+cNBGus+SjcKpyQHfch/3xdfmQTS9K/oi0XecnqadWh+RzN1 mQASzMypb3t9mP5qsbANB3ktxGQn+HOENya9GASQs6NnEhAX0qvZuM0iRbj4EMWczDMz wzFr3pdrbwmo2X4jvAATZa2Mb0POQh4SHF2GDh73y6NxFxuZCDm3CzQ8KklRZ8FVjLWv jnIIMevG5fMucmziR9sEBEF8njOT5Cd0qhzliHRec+hAxBxGQO/I3X2ctElcvfPPlKZa SdHQ== X-Gm-Message-State: AOAM530NKpnpx65XEF2eo+BoqwdkMpKLWab/Lpp8zlIt9hjMY37/VArc HLJXwj2V/eL94Z+YtlEC2GdvwBBa/8C36w== X-Google-Smtp-Source: ABdhPJyhOrUPnSEwOJZUS/1r3QZqTDPpaIWtVCvyrj+pG9LFI4PusdIrA27nI1eyLKzl7fBwzNV3RA== X-Received: by 2002:a5d:64ce:: with SMTP id f14mr10221244wri.300.1640533100137; Sun, 26 Dec 2021 07:38:20 -0800 (PST) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f13sm13217097wri.51.2021.12.26.07.38.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Dec 2021 07:38:19 -0800 (PST) Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell To: Lars Ingebrigtsen References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> <87a6gnzjhm.fsf@gnus.org> From: Dmitry Gutov Message-ID: Date: Sun, 26 Dec 2021 17:37:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87a6gnzjhm.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , sds@gnu.org, Stefan Kangas , 52467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On 26.12.2021 14:35, Lars Ingebrigtsen wrote: > I think that's more unpredictable. What happens currently is very regular. That's a fair argument, too. I suppose that if we changed pop-to-buffer-same-window to behave like I suggested, it might be more "regular" as well, but more of a breaking change. In the meantime, people who would like that behavior across the board can add this to their init file: (setq display-buffer--same-window-action '((display-buffer-reuse-window display-buffer-same-window) (inhibit-same-window . nil))) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 26 12:00:57 2021 Received: (at 52467) by debbugs.gnu.org; 26 Dec 2021 17:00:57 +0000 Received: from localhost ([127.0.0.1]:41409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Wt8-0003TH-7M for submit@debbugs.gnu.org; Sun, 26 Dec 2021 12:00:57 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:41733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Wt5-0003T1-Ng for 52467@debbugs.gnu.org; Sun, 26 Dec 2021 12:00:48 -0500 Received: by mail-qt1-f169.google.com with SMTP id v22so11754480qtx.8 for <52467@debbugs.gnu.org>; Sun, 26 Dec 2021 09:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :return-receipt-to:reply-to:date:message-id:mime-version; bh=zEhIHwOcuw/ZW09giKu0Mrz+ZtEmPewRiz86TGUJRw4=; b=CBTE3Y8U4xWXaO7TVpj//8Aj6VcldRbrFsG1ocMuTQUW2eAmDHcPPqfeqtLnedWGGH 0fL/XRj1bPxDATAgvMfwSDXLjzmcAWVfj25dBEugvuXDwVHNo5vfeeKbT4YTgYu9sI3f WekNYIq78fIurBstLLWXj5+Gpp3n5Jxmm1qfYepusKfEaaVjw6y1P09Zvn8w8jd7OWSp BZ24x3SYjCyjJdUDNOyzSiAYJSX5AGKptizGKd7QvZRKoY48vP78Fhm1eG+jzpmD57Sx Ec9A0gFMxxSNZGbFtU8r4vf9aPc6yzj3axIW2mTKGFpWFizZyBlG64IRRk9nLhC2jnf8 MSeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :user-agent:return-receipt-to:reply-to:date:message-id:mime-version; bh=zEhIHwOcuw/ZW09giKu0Mrz+ZtEmPewRiz86TGUJRw4=; b=kAQ+f6TDCDy4Q30c4nw7ekiV4xg6PAa//CAZ3ZqhnOCyFQlLr59ppCc/xe2t1mRqQb TXsia5Tw+38FQLxUSChX1D/a5155iSaBZqGxbo2+srB1bHVQ1Nfrb3loHqzPQUT/KaxQ dHgaWLJWefKTZqDlLHghaiH23TvkV7OP1ny/F6ET00HDORotybAl4a/oojP1jbkdkUHI 48PbAbPrgL3bUXyaMWVhVMSId+NpkW47ABClULQB5PoL9UH1cV0qp4OZISolabF2FLTz kbDjGZHBN8oZ19oqpd5GKmU42RXNfx9nGvty/0bjx14eeDcYjM356qJr5zD8ToPQRkD1 wtzQ== X-Gm-Message-State: AOAM533TruQ1nL2df4asFvDMhNSJR0QRANkdFaos27z/EQwZPwaCPfTC 3xtwoR+CJcALQI2OuGMXTw== X-Google-Smtp-Source: ABdhPJzdziDZtPg06eBXYRzGJ73SC4NMgXPOtKykFbR3Diy5Z7o2mPwG2eZuQZI4le6NEUj9rcrHcw== X-Received: by 2002:a05:622a:64c:: with SMTP id a12mr12071638qtb.312.1640538042076; Sun, 26 Dec 2021 09:00:42 -0800 (PST) Received: from darter (pool-108-30-23-113.nycmny.fios.verizon.net. [108.30.23.113]) by smtp.gmail.com with ESMTPSA id k23sm10657222qtm.49.2021.12.26.09.00.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Dec 2021 09:00:41 -0800 (PST) From: Sam Steingold To: Lars Ingebrigtsen Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell In-Reply-To: <87a6gnzjhm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 26 Dec 2021 12:35:49 +0100") References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> <87a6gnzjhm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Sun, 26 Dec 2021 12:00:40 -0500 Message-ID: <87v8zb2tdz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , Stefan Kangas , 52467@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sds@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) > * Lars Ingebrigtsen [2021-12-26 12:35:49 +0100]: > > Dmitry Gutov writes: > >> The downside of using it, though, is that the current window is >> unlikely to be used even if the buffer is not displayed anywhere else >> (the algorithm chooses something like LRU window). Maybe we should >> choose a mode of operation where it does use the current window, >> unless the buffer is displayed somewhere else. >> >> Something like >> >> (pop-to-buffer buffer >> '((display-buffer-reuse-window >> display-buffer-same-window) >> (inhibit-same-window . nil))) > > I think that's more unpredictable. What happens currently is very regular. I think predictability if not the only or even main concern. The current behavior is _not_ user-customizable, which is a major problem for me. I hardly ever want the same buffer displayed _twice_, especially the *shell* buffer. Whatever default behavior you want (and for me it's definitely reuse-window) should be implemented using a new user variable `shell-display-buffer-action' that would be used by `shell', `project-shell', `eshell', &c. This is not a major change, so I propose that we close this bug by adding `shell-display-buffer-action' (I can do that), and continue the discussion of the best default on emacs-devel. Thank you. -- Sam Steingold (http://sds.podval.org/) on Pop 21.10 (impish) X 11.0.12013000 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://camera.org https://iris.org.il https://www.memritv.org MS Windows vs IBM OS/2: Why marketing matters more than technology... From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 04:26:37 2021 Received: (at 52467) by debbugs.gnu.org; 27 Dec 2021 09:26:37 +0000 Received: from localhost ([127.0.0.1]:42163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1mH7-0005W1-97 for submit@debbugs.gnu.org; Mon, 27 Dec 2021 04:26:37 -0500 Received: from kamnitnik.top ([209.250.245.214]:59690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1mH3-0005Vq-3o for 52467@debbugs.gnu.org; Mon, 27 Dec 2021 04:26:35 -0500 Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id EC1C29CAE6; Mon, 27 Dec 2021 09:26:31 +0000 (UTC) From: To: sds@gnu.org, Lars Ingebrigtsen Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell In-Reply-To: <87v8zb2tdz.fsf@gnu.org> References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> <87a6gnzjhm.fsf@gnus.org> <87v8zb2tdz.fsf@gnu.org> Date: Mon, 27 Dec 2021 10:32:13 +0100 Message-ID: <87zgomieaq.fsf@miha-pc> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , Stefan Kangas , 52467@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sam Steingold writes: > I think predictability if not the only or even main concern. > > The current behavior is _not_ user-customizable, which is a major > problem for me. I hardly ever want the same buffer displayed _twice_, > especially the *shell* buffer. > > Whatever default behavior you want (and for me it's definitely > reuse-window) should be implemented using a new user variable > `shell-display-buffer-action' that would be used by `shell', > `project-shell', `eshell', &c. It is user configurable through 'display-buffer-alist, see my other reply to this thread. To prevent creation of duplicate windows showing the same shell buffer, do (add-to-list 'display-buffer-alist '("\\`\\*shell\\*" display-buffer-reuse-window)) For old behaviour of popping up a new shell window, do (add-to-list 'display-buffer-alist '("\\`\\*shell\\*" (display-buffer-reuse-window display-buffer-pop-up-window))) The same can be done for eshell, terminal and most other buffers displayed with 'display-buffer-same-window'. > This is not a major change, so I propose that we close this bug by > adding `shell-display-buffer-action' (I can do that), and continue the > discussion of the best default on emacs-devel. I'm personally against adding such an user option. If it were added for M-x shell, eshell and term, the same reasoning could be used to add it for M-x run-scheme, dired, dunnet and all the other places using 'pop-to-buffer-same-window'. This would add up to a lot of variables for little benefit since we can already customize window pop-up behaviour of all these commands with 'display-buffer-alist'. > Thank you. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 07:02:09 2021 Received: (at 52467) by debbugs.gnu.org; 27 Dec 2021 12:02:09 +0000 Received: from localhost ([127.0.0.1]:42285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1ohd-0001t3-EJ for submit@debbugs.gnu.org; Mon, 27 Dec 2021 07:02:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1ohZ-0001sO-KY for 52467@debbugs.gnu.org; Mon, 27 Dec 2021 07:02:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=7OzGvHlC8fftXW2TTmGag4dy+uP4t15DegxH7SqHccg=; b=QJ8kWl5H8hWNA3SwZhCdarh9qD dAnFcvyUZOn7oFBDsOMw/9yYrAIaQmKn776D8xsOD8OwfSyN7rmSf8LAAIrF2bADp0HaKgFUmi+di ck+cLgZoIBLlBOvdN+4R8Hm+k1l976Gjeo8XFtkz/YO7Oo8l3TLqrLbkTvfTS3hYRCBY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1ohP-0005Hb-CY; Mon, 27 Dec 2021 13:01:57 +0100 From: Lars Ingebrigtsen To: Subject: Re: bug#52467: 29.0.50; Use pop-to-buffer for shell References: <87sfuorb39.fsf@gnus.org> <87wnjzoa09.fsf@gnus.org> <23f5b9c2-2688-40e3-5b32-94487d33e2ee@yandex.ru> <87h7ay4bhg.fsf@gnus.org> <87a6gnzjhm.fsf@gnus.org> <87v8zb2tdz.fsf@gnu.org> <87zgomieaq.fsf@miha-pc> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWWa1iulI2jbF2W WTz///9An9F3AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UMGws3CrQyu8UAAAG2SURBVDjLZZQBssIw CESrJzD0ArJcwIb73+3vQlrr/I7TVp5hF0LcHmOMyKkbL2CM11bXGM4YvOL5wHAD3ngTDMuJUXGu NFcEEEB6RZ+ZH4UZabDnzvAnD6YrYHgWiAmG+Ngv8O5UNitBgukatPiIo8CeQZFHgUFglg1s+ToB BdqLaqRxXq8Cp5cG1u/2A6BMq5IGY4FYarwIMuaZqbp5B2rq2I+I1l5AX1mJJVNd8bbL9fBdXn+A hZro9h8gTQD6/IARfHFWZt8FAsOjavXq0R1wjVaAavNKtq2nWjpxk29g3CrD2Vy/gaAlDxYISuEG kGADxGOZXsBDAgIanTswdpa3qTmscpYrmMaUGzX22UtOoI9pO4Bf4D0ldD3LWbdEw9qzgAJKcNqV pM6HxG8ArKML54P9WsDMq0uhmxopydIwGcpKVb61BRtLda+RqsnVOmjHBKJsxQ3wx5vqGb0ZleoC 7c8qMuWqBpZnkEDnhl3PBY4vmDVcWbMaJ0BPokQisIA14DkvEUlT4tj1tsmChp8xKcCOOr/YTCLp F+jzK4Cqmo2rfunU1QRsNYBVmrA2mH8ROeMPKf2ChUdv/oIAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjEtMTItMjdUMTE6NTU6MTArMDA6MDA47whcAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEyLTI3 VDExOjU1OjEwKzAwOjAwSbKw4AAAAABJRU5ErkJggg== X-Now-Playing: Jane Siberry's _Love Is Everything (2)_: "Are You Burning, Little Candle?" Date: Mon, 27 Dec 2021 13:01:53 +0100 In-Reply-To: <87zgomieaq.fsf@miha-pc> (jakanakaevangeli@chiru.no's message of "Mon, 27 Dec 2021 10:32:13 +0100") Message-ID: <87k0fqcl3i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: writes: > It is user configurable through 'display-buffer-alist, see my other > reply to this thread. To prevent creation of duplicate windows showing > the same shell buffer, do > > (add-to-list 'display-buf [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52467 Cc: Theodor Thornhill , sds@gnu.org, Stefan Kangas , 52467@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) writes: > It is user configurable through 'display-buffer-alist, see my other > reply to this thread. To prevent creation of duplicate windows showing > the same shell buffer, do > > (add-to-list 'display-buffer-alist > '("\\`\\*shell\\*" display-buffer-reuse-window)) Yup. > I'm personally against adding such an user option. > > If it were added for M-x shell, eshell and term, the same reasoning > could be used to add it for M-x run-scheme, dired, dunnet and all the > other places using 'pop-to-buffer-same-window'. This would add up to a > lot of variables for little benefit since we can already customize > window pop-up behaviour of all these commands with > 'display-buffer-alist'. Indeed. So I don't think there's anything that needs to be done here -- the user can customise the behaviour here on a fine grained basis already, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 27 07:02:15 2021 Received: (at control) by debbugs.gnu.org; 27 Dec 2021 12:02:15 +0000 Received: from localhost ([127.0.0.1]:42288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1ohj-0001tM-M9 for submit@debbugs.gnu.org; Mon, 27 Dec 2021 07:02:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1ohi-0001t1-A9 for control@debbugs.gnu.org; Mon, 27 Dec 2021 07:02:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=swiIVVaMWnQc4E6SfY/OJNywhBVvBQse+dR/NtkWTZQ=; b=SbBZbNuTxlB+uIlkiadjKZq2Ft 0dXYWp951TdYwq8zRqoQuWl3Z7W4+0YwnAl5AtD9M1jNdUMrZ9Kyl9J8qneIqQVbqtnFAdO4wUF+m LLCCE9T8f5SkHysu+yzmeObxs8PsiU2J8mGIbcHgBx+eK3agxXQqIr2TC0+2PgeyOW0k=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1oha-0005Hu-Cu for control@debbugs.gnu.org; Mon, 27 Dec 2021 13:02:08 +0100 Date: Mon, 27 Dec 2021 13:02:04 +0100 Message-Id: <87ilvacl37.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52467 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 52467 wontfix close 52467 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 52467 wontfix close 52467 quit From unknown Mon Sep 08 15:20:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 24 Jan 2022 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator