From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32825: 27.0.50; Deterministic window management Date: Sun, 11 Nov 2018 22:13:51 +0200 Organization: LINKOV.NET Message-ID: <87pnvbpejc.fsf@mail.linkov.net> References: <874leeaiah.fsf@mail.linkov.net> <87y3adakkh.fsf@mail.linkov.net> <5BDAC0ED.9030405@gmx.at> <87h8h0juwn.fsf@mail.linkov.net> <5BDC0E38.5020901@gmx.at> <87d0rl7kl1.fsf@mail.linkov.net> <5BDEB6BA.5000307@gmx.at> <87y3a8jz6v.fsf@mail.linkov.net> <5BE00EB1.6090107@gmx.at> <87sh0fxkih.fsf@mail.linkov.net> <5BE154F5.4050902@gmx.at> <87r2fxsvl5.fsf@mail.linkov.net> <5BE2AF02.40909@gmx.at> <87sh0cva5h.fsf@mail.linkov.net> <5BE3F981.8000002@gmx.at> <8736sbmdtv.fsf@mail.linkov.net> <5BE54FBE.306@gmx.at> <874lcqmu6u.fsf@web.de> <5BE582D4.8010201@gmx.at> <874lcok62x.fsf@mail.linkov.net> <5BE7EE09.3020003@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541968095 32591 195.159.176.226 (11 Nov 2018 20:28:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2018 20:28:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 32825@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 21:28:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLwL2-0008G7-Kx for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 21:28:08 +0100 Original-Received: from localhost ([::1]:43555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLwN9-0000bV-3m for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2018 15:30:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLwMw-0000aK-10 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 15:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLwMs-0006kX-S4 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 15:30:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLwMs-0006jX-Mj for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 15:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLwMs-0005pE-DG for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2018 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Nov 2018 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32825-submit@debbugs.gnu.org id=B32825.154196814822286 (code B ref 32825); Sun, 11 Nov 2018 20:30:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 11 Nov 2018 20:29:08 +0000 Original-Received: from localhost ([127.0.0.1]:46802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLwLz-0005nM-Nb for submit@debbugs.gnu.org; Sun, 11 Nov 2018 15:29:07 -0500 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:6671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLwLx-0005nC-U1 for 32825@debbugs.gnu.org; Sun, 11 Nov 2018 15:29:06 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 985885C3996; Sun, 11 Nov 2018 20:29:04 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3DFB45C2B8D; Sun, 11 Nov 2018 20:29:04 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sun, 11 Nov 2018 20:29:04 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Bottle-Shelf: 5af4aae47a49f459_1541968144395_1086088750 X-MC-Loop-Signature: 1541968144395:2733168600 X-MC-Ingress-Time: 1541968144394 Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTP id E6F157FDF3; Sun, 11 Nov 2018 12:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=tiw3w4jNy8TBUgpVQb+FT/sGaxo=; b= SEanX9Gw0/uG9I+vRkHHHGHtNvg2P9WllcBVno9sI0v1Fwtcf06AgNlnSubo7bbA KaTcAe2eIsTlTohSEDXgZ99kKZvEnAooKR0eeQLRCyAM01yoRynkdDgq1rpxdCAT HSmCxzjIdwbbldHDf9Cg/ZbmnVwq3KzBj3FQZ8sOdSI= Original-Received: from mail.jurta.org (m91-129-107-244.cust.tele2.ee [91.129.107.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTPSA id 6DD4E7FDF2; Sun, 11 Nov 2018 12:29:00 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a77 In-Reply-To: <5BE7EE09.3020003@gmx.at> (martin rudalics's message of "Sun, 11 Nov 2018 09:53:29 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrkeejgddufeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrddvgeegnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrvdeggedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgepvd 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: 208.118.235.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:152310 Archived-At: > Currently we use a window's previous buffers for three things: > > (1) For 'switch-to-prev-buffer'. > > (2) To find a buffer to display when killing or burying a window's > buffer and the window shall be kept. > > (3) For finding a window in 'display-buffer-in-previous-window'. > > Personally I don't care about (2). But two things about (1) that > annoy me in practice are: When the window-local buffer list is > exhausted I get a buffer from the frame-local or global lists, so I > often enough get TAGS or other intestines dished in that window and, Regarding TAGS, I spend much time killing TAGS buffers, but they quickly reappear in the buffer list like in a whac-a-mole type of game. Shouldn't such internal types of buffers be named with a leading space in their buffer names? > to double my pleasure, indirectly have these enter the window-local > list. I'd rather restart with a buffer from the window-local list > provided that list is "long enough". That's fuzzy to implement. You mean a cyclic window-local buffer list? > And, I get too many irrelevant buffers like temporary ones from the > window-local list. OTOH it's just the temporary buffers we want to > keep there because of (3). Moreover, when I'm in a window reused by > *Help* and I want to temporarily switch to that window's previous > buffer then switching back to the window's next buffer should probably > get me back to *Help*. So what I'd like is yet another notion of > fuzziness that after some time forgets about temporary buffers shown > in a window in the past, including *Backtrace*. Maybe the notion of burying should also apply to window-local buffer list? So burying a buffer should push it to the end of window-local buffer list?