From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#28814: [BUMP, PATCH] (26.0.90; When *xref* window is needed, original window-switching intent is lost ) Date: Wed, 25 Oct 2017 09:46:07 +0200 Message-ID: <59F0413F.8010100@gmx.at> References: <87infjm3p3.fsf@gmail.com> <871slyi3lk.fsf_-_@gmail.com> <87lgk22ryu.fsf@gmail.com> <87fua91vis.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508917730 13787 195.159.176.226 (25 Oct 2017 07:48:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2017 07:48:50 +0000 (UTC) Cc: 28814@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 25 09:48:46 2017 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 1e7GQd-0002UZ-AA for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Oct 2017 09:48:43 +0200 Original-Received: from localhost ([::1]:47028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7GQk-0001jV-Eq for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Oct 2017 03:48:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7GP3-0000Y3-Kt for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2017 03:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7GP0-0001BF-JE for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2017 03:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7GP0-0001Ap-Co for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2017 03:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7GP0-0003Mh-5D for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2017 03:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2017 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28814-submit@debbugs.gnu.org id=B28814.150891758412878 (code B ref 28814); Wed, 25 Oct 2017 07:47:02 +0000 Original-Received: (at 28814) by debbugs.gnu.org; 25 Oct 2017 07:46:24 +0000 Original-Received: from localhost ([127.0.0.1]:60630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7GOO-0003Le-Fp for submit@debbugs.gnu.org; Wed, 25 Oct 2017 03:46:24 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:60190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7GOM-0003LK-TY for 28814@debbugs.gnu.org; Wed, 25 Oct 2017 03:46:23 -0400 Original-Received: from [192.168.1.100] ([46.125.249.113]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MD9J6-1dxQdY2RBs-00GUyn; Wed, 25 Oct 2017 09:46:16 +0200 In-Reply-To: <87fua91vis.fsf@gmail.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ICYpQy1wemRWhhGO+2fR 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:138949 Archived-At: > * 0003-Allow-split-window-sensibly-to-split-threshold-in-fu.patch > > This extends the exception granted by split-window-sensibly to > single-window frames whose dimensions are below those of splitting > thresholds to consider multi-window frames where all but one window is= > dedicated. Maybe the new behavior should be made customizable but this is for users of dedicated windows to decide. In either case, instead of constructing =E2=80=98window-list=E2=80=99 please consider using =E2=80=98walk-window-= tree=E2=80=99 for that part + (let ((windows (delete window (window-list frame))) + w) + (while (and (setq w (pop windows)) + (window-dedicated-p w))) + (not windows)))) Thank you, martin