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#32790: 27.0.50; point jumps unexpectedly after delete-window Date: Fri, 09 Nov 2018 10:13:05 +0100 Message-ID: <5BE54FA1.2030004@gmx.at> References: <87efdnsp2k.fsf@mail.linkov.net> <87in1phhx2.fsf@mail.linkov.net> <5BD2C52E.2060607@gmx.at> <87ftwrgwp2.fsf@mail.linkov.net> <5BD57A8D.8080408@gmx.at> <875zxmx95h.fsf@mail.linkov.net> <5BD70F14.8080509@gmx.at> <87lg6g750v.fsf@mail.linkov.net> <5BD81D97.2000000@gmx.at> <87bm7bru1c.fsf@mail.linkov.net> <5BD963C8.9090905@gmx.at> <87h8h195ki.fsf@mail.linkov.net> <5BDAC159.1060008@gmx.at> <87muqsh11q.fsf@mail.linkov.net> <5BDC0E81.1050806@gmx.at> <87tvkwh4bp.fsf@mail.linkov.net> <5BE00F12.5000703@gmx.at> <87d0rjuq8c.fsf@mail.linkov.net> <5BE15552.4040507@gmx.at> <87y3a5rgm2.fsf@mail.linkov.net> <5BE2AF28.2020505@gmx.at> <87bm6zme24.fsf@mail.linkov.net> 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 1541754730 2984 195.159.176.226 (9 Nov 2018 09:12:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2018 09:12:10 +0000 (UTC) Cc: 32790@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 09 10:12:06 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 1gL2ph-0000hx-1Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Nov 2018 10:12:05 +0100 Original-Received: from localhost ([::1]:32795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gL2rn-0005o4-IZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Nov 2018 04:14:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gL2rf-0005np-NN for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2018 04:14:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gL2rb-0006Jg-NI for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2018 04:14:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gL2rZ-0006H9-Sw for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2018 04:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gL2rZ-0002mm-Mv for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2018 04:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Nov 2018 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32790 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32790-submit@debbugs.gnu.org id=B32790.154175480410633 (code B ref 32790); Fri, 09 Nov 2018 09:14:01 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 9 Nov 2018 09:13:24 +0000 Original-Received: from localhost ([127.0.0.1]:42205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gL2qx-0002lR-Rr for submit@debbugs.gnu.org; Fri, 09 Nov 2018 04:13:24 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:52027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gL2qw-0002lB-36 for 32790@debbugs.gnu.org; Fri, 09 Nov 2018 04:13:22 -0500 Original-Received: from [192.168.1.101] ([46.125.249.124]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MKHMk-1gKUM232Gs-001iiV; Fri, 09 Nov 2018 10:13:12 +0100 In-Reply-To: <87bm6zme24.fsf@mail.linkov.net> X-Provags-ID: V03:K1:0XxVJ93RHu/kbf7bVbhH637UEMGiZDoxjXgwAIHi+WF44Vtrbmp Ve9MaEVqRRuzUWJotD7Mt4/WHgz6dq8k6SyTYCcF2ho3jzsJkCvzdSL48zJWJhtwIMiNBC0 afpqUJp9WisJXwsYW5Nh4F7HI8UYIWWRBnxlfVfy2NkL+d7k+di7P4pYnRpFboZqoVqUIs5 r8wK7jNKQsqPVM1KqqN0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:oCGBgGWXPRM=:Eoe1nT00HaNOHmeYBBMoPj RuyO8Fnegpbo2qHiPyYP5UBi2kIZckCsWlxJUmZSKzaIbRyrMDNvZV8ImrktI2U2CmXMt9Viu iiYoh18QxSsPVqAMtMALaTnTyiVzDpKmQWHWZV2JsFT37eDULxCUhYLc9nxD6pedhHn6MNVfq 7HUicGwdLEKF5p7dPPfzTDwxWlHIQ7XLXTMOmz03M/KO0OsMQ7tcQFxIe2nehR/jqb8qLoKXX ZSkXyUwhmwSy6sfQbGIYcbildXvdNYKVUxopf81TfET26Ct64/v3w2Pvht3Pai0t0Hjjzwka5 61ewNckzI0uMO6XSTDtSi2RKs+mFWWb7mGMkDD65kL9b8T0rf2bUVuJddx8XS+Bwicq0cwG9a twdC3itGGKB7092OHVK7cXrmatunIC47QZdzGNZBGOaeH1CAtjGcvvMHDDtCFNuUfUO6M+dbk RTLiUf127UyClFVnOBqfNy7BAyxWMg5Tmy/WK1PLGpymCDE8pdti827Pu/vEbn/6TkIem/iUJ L67Ag95rltKR+kuWQRI7B8beJNIAz3LuzQf6vG/8mp/SaDYmMufK42c0DhcZhgtZqej9diwRJ d8IxUKJQGHhhvrqH9gWETHPOTH33cYuZSsroT3ZYMVAq+oTCaZWcQj99fNYEmXcuBbLouH3ZE hxTtlzA89OrvVmtX1IipJ1HbnqUADqW4LkIbStUUALTCSz+Q7VjwzXyzGZmkiT3y/jDDUcQxo OWpubGn3LVOf+QUS6l4uZP57IxAJaFxsf6ZMP6gAyGULBxU35ItAXbd9Lo/s0ja6bNJJmfBl 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:152202 Archived-At: > The only problem is that I can't decide what window to use for > window-in-direction and split-window in display-buffer-overriding-acti= on: > an original window that was selected at the moment of =E2=80=98S-M-up=E2= =80=99 invocation, > or a selected window that is current at the moment when > display-buffer-overriding-action is applied? Please see > the questions in the comments of this patch: Shouldn't (selected-window) be actually (minibuffer-selected-window) in these cases anyway? Otherwise, we probably should invent two scenarios where either of the above would be preferable so we can make a decision. > + "Display the next buffer in the window at direction DIR. > +Create a new window if there is no window in that direction. > +If prefix ARG is `C-u' or `M--', restore the previously selected wind= ow. > +With no prefix ARG, or with prefix ARG equal to zero, a displayed win= dow is > +relative to the position of point in the selected window; otherwise i= t is > +relative to the first edge (for positive ARG or `C-u') or the last ed= ge > +(for negative ARG or `M--') of the selected window." What does "otherwise" stand for here? (I'm afraid your prefix arguments are slowly getting over my head.) martin