From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45688: 28.0.50; New action for display-buffer? Date: Sun, 10 Jan 2021 12:24:03 +0100 Message-ID: <87turpvxv0.fsf@gnus.org> References: <87im8a1dff.fsf@gnus.org> <83y2h6133r.fsf@gnu.org> <8735ze0yp7.fsf@gnus.org> <83o8i20w1f.fsf@gnu.org> <87lfd5yny9.fsf@gnus.org> <87o8i03gem.fsf@gnus.org> <528b7d6b-403a-ffef-b0a0-4a0b6d92bec8@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45688@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 10 12:25:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kyYqU-0006Rc-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 12:25:18 +0100 Original-Received: from localhost ([::1]:42680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyYqS-0004aK-Vr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 06:25:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyYqE-0004ZW-Go for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 06:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyYqD-00019T-RZ for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 06:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyYqD-0005MY-Lz for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 06:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jan 2021 11:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45688 X-GNU-PR-Package: emacs Original-Received: via spool by 45688-submit@debbugs.gnu.org id=B45688.161027786520542 (code B ref 45688); Sun, 10 Jan 2021 11:25:01 +0000 Original-Received: (at 45688) by debbugs.gnu.org; 10 Jan 2021 11:24:25 +0000 Original-Received: from localhost ([127.0.0.1]:53219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyYpd-0005LG-0Q for submit@debbugs.gnu.org; Sun, 10 Jan 2021 06:24:25 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:39808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyYpZ-0005Kt-4k for 45688@debbugs.gnu.org; Sun, 10 Jan 2021 06:24:23 -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=dTbtyGT6CJfWtILquy8zzq92JxtYzcIo8fBdXvd/0uw=; b=UCoKwe42EAK1x2kLDYfcpYXUb/ +PzMTikCD47wT9RiaoASLxzMdySogHuMjaq51TDrmIMUc6DqTjavwS9CRi6T/0ixmgFXIV+A5hIVE KEKr5i5nvAyUojni7a7WdI0NBTUFW1GCxbGFyBgDZLpnxjqFyJ1c7V//aXkmiMHHky78=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kyYpI-0005xO-BD; Sun, 10 Jan 2021 12:24:14 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXaOQLkViP2spH/ //9y+Ee7AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UBCgo1FRr7Ss4AAAEsSURBVCjPrZK/boMwEMbP UWBOJSzRPUPapzBVG6kbSDFS2RoVRPwUyUgmWsVD2ToEhXvK+r94gHws9+POx/k7AJQiyFfAwIhw LusGMYcSg5gDgRPPTVnEXWC1MkcZENwPp+nUYSt7IOt9l11+uvRpULXr5vzajl36+N0r+OyK98M5 3UgN9XCspaRJ6WYAUhQ8AaDcaadfaoL7KJrFxDRdWqDzL1QSeLgmZyC0EVZLnfGwmXdrQ6jcED6m qnbyJTdlFDrI8kX2NrrEhVbZ8Gf7k3GLDKWdllyriqGZjSiPp+xlMvDAYsRdbAE0/IpR2o0s9MK8 Y9EBx5u/Nvlohj7Alj+zAH0u1N7cbFcQRweJetCXqeEsELsdYjO8VL/O1wIZCSYqiLg7AzEyyv8B CJdkPxkQ068AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDEtMTBUMTA6NTM6MjErMDA6MDCozbPX AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAxLTEwVDEwOjUzOjIxKzAwOjAw2ZALawAAAABJRU5E rkJggg== X-Now-Playing: The Smiths's _Complete (8): Louder Than Bombs_: "Back To The Old House" In-Reply-To: <528b7d6b-403a-ffef-b0a0-4a0b6d92bec8@gmx.at> (martin rudalics's message of "Thu, 7 Jan 2021 17:54:39 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197586 Archived-At: martin rudalics writes: > This > > + (when-let ((window (display-buffer-use-some-window > + buffer (cons (cons 'inhibit-same-window t) alist)))) > + (window-bump-use-time window))) > > alone will bump the use time for a _reused_ window only. A freshly > popped up window will continue to be the first candidate for reuse and > only then enter the cycle of windows to reuse. How do we bump the use to for a new window, then? > XEmacs treats _all_ windows it creates or uses equal in this regard > including those on other frames. Oh, other frames, too... I think we'll leave that as an exercise for the reader. >> The only oddity is that it'll resize windows to their previous sizes -- >> is there any way to inhibit that? > > How comes that window gets ever resized in the first place? I have no idea, but it's totally repeatable -- the window that's switched to becomes the largest window, and it's rather distracting. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no