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#32790: 27.0.50; point jumps unexpectedly after delete-window Date: Sun, 25 Nov 2018 01:20:57 +0200 Organization: LINKOV.NET Message-ID: <87d0quf4fa.fsf@mail.linkov.net> References: <87efdnsp2k.fsf@mail.linkov.net> <5BA490EA.4000502@gmx.at> <87y39m9f8b.fsf@mail.linkov.net> <5BF65D7F.2090805@gmx.at> <874lc8g2ix.fsf@mail.linkov.net> <5BF7AEF3.9060003@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543102997 12095 195.159.176.226 (24 Nov 2018 23:43:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2018 23:43:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32790@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 25 00:43:13 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 1gQhZw-00030i-JO for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Nov 2018 00:43:12 +0100 Original-Received: from localhost ([::1]:58106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQhc3-0007kf-1B for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 18:45:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQhbp-0007fw-Ne for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:45:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQhbm-0000dV-J5 for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:45:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQhbj-0000a4-Ga for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:45:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gQhbj-0007Kr-D7 for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2018 18:45:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2018 23:45:03 +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.154310309928157 (code B ref 32790); Sat, 24 Nov 2018 23:45:03 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 24 Nov 2018 23:44:59 +0000 Original-Received: from localhost ([127.0.0.1]:45942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQhbf-0007K3-HJ for submit@debbugs.gnu.org; Sat, 24 Nov 2018 18:44:59 -0500 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:45206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQhbd-0007Jv-HE for 32790@debbugs.gnu.org; Sat, 24 Nov 2018 18:44:58 -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 EC12B282917; Sat, 24 Nov 2018 23:44:55 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (unknown [100.96.26.166]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B396A2823CA; Sat, 24 Nov 2018 23:44:55 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a3.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); Sat, 24 Nov 2018 23:44:55 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Glossy: 1b5fd49d082c035d_1543103095824_2064423283 X-MC-Loop-Signature: 1543103095823:1010291835 X-MC-Ingress-Time: 1543103095823 Original-Received: from pdx1-sub0-mail-a3.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a3.g.dreamhost.com (Postfix) with ESMTP id 7D19A8057F; Sat, 24 Nov 2018 15:44:55 -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=Nx5njoaVXSFfDz1rrzoOl96/DOA=; b= YD7jooh7OXlxQgNeTEPqjGDhU4+uQZk66NfYqOttj0SyYbJcLJIXaGNtyvxDqwT1 K/01G7oQWb4DomJeJFQzEuibFKhnWvA3kfgMNB/4ygA2x0wSG18c9hKZ7iOSgv4t 9tnVJJ4KJDIobTE3jAQmXercntNzJLk+PA+FSUGidy0= Original-Received: from mail.jurta.org (m91-129-107-242.cust.tele2.ee [91.129.107.242]) (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-a3.g.dreamhost.com (Postfix) with ESMTPSA id 3E7A180575; Sat, 24 Nov 2018 15:44:52 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a3 In-Reply-To: <5BF7AEF3.9060003@gmx.at> (martin rudalics's message of "Fri, 23 Nov 2018 08:40:35 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedruddufedgudejjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtjedrvdegvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdejrddvgedvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt 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:152747 Archived-At: >>>> + ((and (window-minibuffer-p other-window) >>>> + (not (minibuffer-window-active-p other-window))) >>>> + (user-error "Minibuffer is inactive")) >>> >>> Should we try to delete the active minibuffer window? >> >> Interesting question. Do you think it's worth the trouble >> to implement special handling of the minibuffer: >> >> 1. when a window in the below direction is requested to be deleted >> from the bottom window, and the minibuffer is active, >> then call (abort-recursive-edit) > > This looks counter-intuitive unless we are also able to delete the > minibuffer window. But the minibuffer window can't be deleted: 0. emacs -Q 1. M-: 2. C-x o 3. Type and eval in *scratch*: (delete-window (window-in-direction 'below)) This error is signaled: "Attempt to delete minibuffer or sole ordinary window" >> 2. when the selected bottom window is requested to be deleted >> and selection is requested to be moved in the below direction, >> then the minibuffer's window should be selected. > > If it's active, presumably. I'm not sure, but I wouldn't do that in a > first version. BTW, if you delete the window on the right frame > border and want selection to move to the right, does it wrap around to > the window on the left? Yes, it respects windmove-wrap-around.