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#32850: 27.0.50; window-swap-states doesn't swap window prev/next-buffers Date: Fri, 26 Oct 2018 09:41:02 +0200 Message-ID: <5BD2C50E.2090508@gmx.at> References: <875zyrrhk8.fsf@mail.linkov.net> <5BAD2538.1060609@gmx.at> <871s9e1syw.fsf@mail.linkov.net> <5BB082A6.6040709@gmx.at> <87o9cepxfv.fsf@mail.linkov.net> <5BB1DC5D.2070903@gmx.at> <87ftxgqcx0.fsf@mail.linkov.net> <5BBC5C61.4090901@gmx.at> <87ftx79brv.fsf@mail.linkov.net> <5BC5A536.7020603@gmx.at> <87o9bqlu7y.fsf@mail.linkov.net> <5BC98A76.9070207@gmx.at> <87in1pltn3.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: 7bit X-Trace: blaine.gmane.org 1540539612 6742 195.159.176.226 (26 Oct 2018 07:40:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 07:40:12 +0000 (UTC) Cc: 32850@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 26 09:40:07 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 1gFwiy-0001bI-Lc for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 09:40:04 +0200 Original-Received: from localhost ([::1]:58692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwl5-0000dw-7E for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2018 03:42:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFwkw-0000dA-Iw for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFwkt-00052v-9Q for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:42:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFwkt-000523-56 for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFwkt-0000Ja-0r for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2018 03:42:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Oct 2018 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32850-submit@debbugs.gnu.org id=B32850.15405396811133 (code B ref 32850); Fri, 26 Oct 2018 07:42:02 +0000 Original-Received: (at 32850) by debbugs.gnu.org; 26 Oct 2018 07:41:21 +0000 Original-Received: from localhost ([127.0.0.1]:43153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFwkC-0000IC-NC for submit@debbugs.gnu.org; Fri, 26 Oct 2018 03:41:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFwkB-0000Hx-Qj for 32850@debbugs.gnu.org; Fri, 26 Oct 2018 03:41:20 -0400 Original-Received: from [192.168.1.101] ([212.95.5.134]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M243n-1fQsYe0ByN-00u58W; Fri, 26 Oct 2018 09:41:11 +0200 Original-Received: from [192.168.1.101] ([212.95.5.134]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M243n-1fQsYe0ByN-00u58W; Fri, 26 Oct 2018 09:41:11 +0200 In-Reply-To: <87in1pltn3.fsf@mail.linkov.net> X-Provags-ID: V03:K1:vhfL/uXp4BJvN8Rfr8qDn/7ISlq2GwYhzgWpbjdiW1QacMdzJvH Qf1H8K3Q+lC5mpfcRZK6aKLGqojjZAnFzd7IHkLTN2ZfdDE7JF34fNLx+yGgzcvARjVFBSn Rvxsp9pEp1B3+6rHrTLPZfQgyeWL5JSU7+gymtOaEkbvZsy2uajlkx4oW8Gg+fr1LAqu410 hkvhSjPCo1fAf0x2dFKkw== X-UI-Out-Filterresults: notjunk:1;V01:K0:NjhfxzROEx0=:FzWJbm2N+FvMgjY9SYLboF +3V/LbVofKI3FMLScZQCXXRlTA90PosXUBDOLu7jKPDIEbQnitnVNxbaSeCcEaHT3ufuvmYba 14mDTr9nFWImxqjI23dfiT96tae/XQuWKZh9v8Kqrf5mrZOlaZR6PSk8bIY8iIsH6QKJMs/Bj LKxvqeGuPuKS77q38tAVrL+oSfqozwElZJlvgMkn5s691TiVvsf69e5usqCkfTz6/apwf2m8+ zskHbxmN3qBpdnYZ/S5nBbnpnvEAVJVWW1i98rl8Baoaqd4AVg6IM0FDMjab0ur137AunAO3o 5cLMWTJhMom9WIA47QbFWu8TZRAZ6UzHZqTys6capXomZUFc47+hvP45uDz12f01FZjYRqqI9 VAXl1ApR8Eb1zBPp9fTUYtxAEsl49r8u9Pnx3ANnlPOjveqgZatBS2wmw20q+Yn0UB7swa+MS 3UB4xi3cNr3Ls9mCoc2RgZiHqLwhJhP0qqpCnywvO+wYAaNwP9CuVX8H31tK6MGEmw7x8OCWd ygxyOWWlk47hQMkCe0a1A8mfnqUAXilWeOBqWYuLtctrqnr+mt6BeIUUjxAtV8QHLBXO9Bp06 L+m6zdNK9dHWIVO2hJ8xIuaaDN0ea2pBFwmFfnvRl39eVPgB6D+ovdbC32UQa7kcL6VqdQyf1 y8eWGPSk8oq7qGkab3Q7sfhDQzvbuTX4ERlfs/TlHYBgZkCaWRTuVio6BD9wpZhQYnGFSeytV 1MmktObBWfQhOWtb0epKIWCnfNxu+bWoV37GdNHA72iSRLlWOg3nV1wV2GAJqXU1PUIgs9Bc 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:151637 Archived-At: >> The most simple way to find out is to define such a list in window.c >> and have 'set-window-prev-buffers' holler if the prev_buffers argument >> is equal to that list. > > I can't find out how '(nil nil nil)' gets into the prev-buffers, Did you try what I proposed? If that doesn't catch it, I have no idea. IIUC mark_discard_killed_buffers just removes entries from that list, it cannot introduce any nil valued elements. > so to avoid the error, I propose to install this patch: Well this will just cache the underlying problem. But I have no good idea how to investigate this issue any furher, so install if you like. martin