From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: master 432c1aa: Use `pop-to-buffer-same-window' in `project-eshell' Date: Sat, 20 Mar 2021 20:29:57 +0100 Message-ID: <1BE350C3-A516-4752-8997-91C252F7E9AD@thornhill.no> References: <833481ce-5f13-77d5-deef-8d9f0c51cdd4@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , =?utf-8?Q?Simen_Heggest=C3=B8yl?= , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 20 20:31:01 2021 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 1lNhJK-0000E3-Q1 for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 20:30:58 +0100 Original-Received: from localhost ([::1]:53840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNhJJ-0008PV-RV for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 15:30:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNhIV-0007sT-Cy for emacs-devel@gnu.org; Sat, 20 Mar 2021 15:30:08 -0400 Original-Received: from out1.migadu.com ([2001:41d0:2:863f::]:58969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNhIS-00018H-LV for emacs-devel@gnu.org; Sat, 20 Mar 2021 15:30:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1616268600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dmaw3mPgenBFsqbykEt0ij/XO4/nVJ/PSEmEfJwONVc=; b=BHZpRNh9+vCWeRo673fvOUJsGzKqXfJIRyttbIb1rDcslATUE/nqFC+QzFLp3WzRvdYilP XPHr3LeAkES6Ns+KkZRqPcK5Ei2DM1WC+XJA4y0OaeaJXq+IKoWQ1iTafCw6pV9v8GN7ap BWMiV+c6C/+HJtpGmvQ543YQzpJQX+Np4/9g0+z1aRY357qtahmuBLKdRXqlxebNr3ou/V Fv1IGcgjSL/wLZsGcRJgrrLPjkcVBU1WMLQ/9GzQwCl30YQN1W7CazGBMBMlbjmd8NLP2C E2bvR9my7lrYz96pCWljubb7zU63TBT1/dl7QIUbSCUGJ33tWybOABZfIy2Bpg== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <833481ce-5f13-77d5-deef-8d9f0c51cdd4@yandex.ru> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: theo@thornhill.no Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=theo@thornhill.no; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-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:266663 Archived-At: >> When I first implemented those functions I made eshell behave more like s= hell, and also made shell behave more sensibly (to me... which also is the r= eason universal argument acts differently from mx shell). Right now I am thi= nking we should let display-buffer decide. >=20 > Meaning not use pop-to-buffer-same-window? >=20 Too often i feel emacs places buffers or windows in seemingly arbitrary plac= es, destroying my window setup. To circumvent this, my default display-buffe= r behavior is to always reuse same window. If we make more and more parts of= emacs decide this on their own, I have to add more and more edge cases to m= ake emacs behave.=20 >> Should we force one behavior over another? >=20 > FWIW, my (moderate) preference is Eshell's behavior because it's also cons= istent with IELM or Dired. And I use it more. >=20 Yeah, Im inclined to agree, though I dont think we should force it. =E2=80=94 Theodor=