Received: (at 36161) by debbugs.gnu.org; 19 Jun 2019 09:20:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 19 05:20:29 2019 Received: from localhost ([127.0.0.1]:46020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hdWlY-00039w-Ox for submit <at> debbugs.gnu.org; Wed, 19 Jun 2019 05:20:29 -0400 Received: from mout.gmx.net ([212.227.17.22]:38449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1hdWlW-00039h-8h for 36161 <at> debbugs.gnu.org; Wed, 19 Jun 2019 05:20:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560936020; bh=89gqdoOoReJoEIqfzWnXLS8Hq2w2CO1euaePsk8oFt0=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=UNgJa8dQZTYmPlRt8dvimDvnjb+2QhfoMgQ1PoRUcaA/lNq/CzLXHSP8fZeQjM4Fz NF1Hcxhdrzpo71n7RB/U9K2O3G9as2YJAphS3ms9Nah3XteKeDlNwhrjSaMlKHXY43 JIvMZpwG/zErUk9FQdJvpQ5ECwfjp09GTPJ8TMLQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([212.95.5.75]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTRQq-1i2i0C36tQ-00Tmhf; Wed, 19 Jun 2019 11:15:12 +0200 Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: Dmitry Gutov <dgutov@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> <1bf87542-fc41-98ab-c4b4-3dd0074573c1@HIDDEN> <85473004-8bbb-56ef-967e-0d3f8acf79ae@HIDDEN> <3bf7a2d5-128e-724b-694e-908366915d3f@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <45889b62-ccc6-c9ae-bb56-68124973dc0e@HIDDEN> Date: Wed, 19 Jun 2019 11:15:13 +0200 MIME-Version: 1.0 In-Reply-To: <3bf7a2d5-128e-724b-694e-908366915d3f@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:r8KOuu9uWHWKlQA/OI/bqAY1HweAxvsW4odTuVxpDJVxdX4IHbk forFhVb+4YkrrDjY4DEkVL5pIjk6GJI/ICC55i37m2/15g54+jkWzJhSRG5vciPtjHUinBC sIJ6QDFO9fEh7zfU8WwYZIIfzVb3Z3JnTKyk6j0hLQOx1MeTOx1/rBL6/+uE118vZXFceyh ufghacKpsxd7yhOCJjUIw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PiljjFoaP3w=:CDYzeL7zBFyAjiPk4E2x7N bf1eIOhzUEvQ0X353hVdoYkP25pXcWZWssn/SfmHQy78+VBdkghPz57zIdpGrBrsPoAmAJTvt dnTbGHVlNCQawq7R55bUk+Bh7bfyaRUwn5eC0iVfAjbJN/swmdYP9rq/j7yiE6HFBFSJNLTp1 FeA46fJQ/FaOH0iJpuyb8o4BzKK5zVUiItFQC/C+CuUc9g9OTT2r0JXmOCn3QvVukSMp/aJ2q MkO6iILbVpEQfICAOvWkJgCtMASzK7gHWoKBRNGQfzdrT3nwAOhIjYxMRxtzEPKG0oM1HgaBN 6h77suRqk8NqLOp/gejXEtngHqItK+mAY18u+96HJ3p0qL/Inw5uyOaZ3gBWnTuTT2xHWbCzc T/vGqIebKnluaCGRSg/7aMEaHsVzGQ3L+miRAO0DeDk1nhsqchWKQmfpKYne55gTm6L1W1f/2 BKCJsacRQILbC5E/7uZDigApnC8jRbfDby5tpBo+nbFdecbw8/Y8EGgE+GzJY7eq/lmzMRf/3 NlzQC19zYjsnEL+xJ5R5viMNqIcY/zh2dVuqoPshuJyJ0N9wSqmFO8U6KMOKq/k+xph9Xl9Tn VT1z4L9WftWdAWiweGLqXKyeR8bknXM52FeuhB0bAQzx7HpGWtJR5WJ9Rb+8Niocb19ru4LYh 8DZG0ECCOrNLOoRy7n/3VdoiejmouDPXZzf64pSRq4NEJe12TqFlJfmcPAC675+l+owX4R1Vu LHrNafZZq/MpOuaqSQHYc2dGU1oY91qicVTA2Z9vE7S6S3nvlrQJ8hDO+YWG6S7GiVuyPaLuV PKKbFSH5C/khkR2l+rfZdAB362LpTP9A0vRyF32iVy8jIIkHHN81DE2IsbYF89EjC2ixL3AcS oNBayPmTwQ+LFohdxHiihEjaVAiep7Cg1IZKAH4pa5F1wYtHSy3j9CHC0gl4Mvmtg6fuVW46d EW83oH+N8xnKBTpiBZcPF+nDLj7cpPPkq/voKm/7d6GPis1Aw4bO/ X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > OK, let's try again. The recipe is: > > 1. emacs -Q > 2. Split the frame into 4 windows, so that new display-buffer calls don't pop any new windows. > 3. Select the top-left window (for instance). > 4. Call M-x project-find-regexp, input "Xref", press RET. The result is an *xref* buffer shown in one of the windows. > 5. Press q. > 6. Try 4. again. > 7. Repeat 5,6 as many times as you like. The *xref* buffer will be displayed in all three available windows in turn. Sorry, step 4 does not work here so I cannot try that. The behavior you see might be caused by the rotation of windows in 'window-list-1'. But also some other buffer display action might be responsible. So the first question is whether you are sure that the window is produced by 'display-buffer-in-previous-window' in all these cases. >> > So about that main use case (the Debugger), can it just exclude the selected window using inhibit-same-window? That would obviate the need for special logic in this case. >> >> An 'inhibit-same-window' entry is the canonical way to "exclude" the >> selected window. A 'previous-window' entry is just a hint to "prefer" >> some other window. > > I'm not sure if you're trying to say "no" in response to my question. But if so, I suppose this bug report can be closed (and we can conclude that this function is definitely not suitable for xref). Thanks for updating the docstring. I've been trying to say "yes" to the question "can it just exclude the selected window using inhibit-same-window". martin
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 19 Jun 2019 01:38:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 18 21:38:03 2019 Received: from localhost ([127.0.0.1]:45787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hdPY3-0007fV-JO for submit <at> debbugs.gnu.org; Tue, 18 Jun 2019 21:38:03 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:38216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1hdPY1-0007ez-LI for 36161 <at> debbugs.gnu.org; Tue, 18 Jun 2019 21:38:02 -0400 Received: by mail-wm1-f45.google.com with SMTP id s15so5128892wmj.3 for <36161 <at> debbugs.gnu.org>; Tue, 18 Jun 2019 18:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TIIlPFWqyzaX0PgnpnXulJYOzfypWOxRMSUMElzlNwg=; b=S+Mq1W7THddJA0d67cYB1b25VVMVf6Dl40ytldM0niWnba/RZO5zbMpdcmS72MI9mX NjMkkMju+ItqIpAcUouMs/rC4QUuDBHYJm5gNElyKOTzeDfKDZJdBmij7mzOeRcGGCdu epxUkemckmELDsf+PII754V/olqvSCO2LQCdJnNj19gmD/KGmX6vaGEgfIo5y+xWIbDz 0PUE6cs/NDRumbUbcLH+/nuONMJNWPet4fDliOKJ6OEkYVEd4tv/rCLw+4UihxmGwoNB xTgpF8LluNakTYBvkIhSg0m0JkevhTaizhFA8upwPL4qvDqYKXPvUQDX8pI6WldI+n4U yxsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TIIlPFWqyzaX0PgnpnXulJYOzfypWOxRMSUMElzlNwg=; b=V1oumK+mj+EJPc4vCa4awMOn4dsHFCAPHEIFYoMEvzp9cYutr9p4/2xdqq5n2m6aV7 bADrMuwuk4cxnEZoZo5U2R/zguf+KQ6zwQ+r8t+Xxr4yIX1BlAHRDSGbxalkPW7GFPV0 vpk3x7zdIxCidQn9HSQn8n+XlPnYU0YJ6+5vJfcRLXxHdMonczvVUlbpWpvj3+fmMpxX 2uzFqekVZFAkKUNeGtcCAz6CUu+ijiSq5DP6pKqPPSjPxtve0S3OUTbX7DXe/Bre6B0d 8oHmblokvz8ezAdAhk3HQdkVJ6Ou7x4A57TIVFDNUsGdeRcN2NwGqW9DrHpDxX85yEGu Xz3Q== X-Gm-Message-State: APjAAAV6S4kxddyV4dvTcB9Wk7Occ/lxlxg8gjwi35MkoxfIYs0ibhS5 3u1xw30fr7nwG+FQ5h2HKyxim7kL+7g= X-Google-Smtp-Source: APXvYqz/Cdiq9tk6jREPnnMKxU4AW6lg0W9cyv8UKsoTQo+g1zda/KD0GQUMomnzFZuWd8Jz9wFzWg== X-Received: by 2002:a1c:700b:: with SMTP id l11mr5687891wmc.106.1560908275260; Tue, 18 Jun 2019 18:37:55 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id q12sm13141335wrp.50.2019.06.18.18.37.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2019 18:37:54 -0700 (PDT) Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: martin rudalics <rudalics@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> <1bf87542-fc41-98ab-c4b4-3dd0074573c1@HIDDEN> <85473004-8bbb-56ef-967e-0d3f8acf79ae@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <3bf7a2d5-128e-724b-694e-908366915d3f@HIDDEN> Date: Wed, 19 Jun 2019 04:37:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <85473004-8bbb-56ef-967e-0d3f8acf79ae@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On 16.06.2019 11:16, martin rudalics wrote: > > > Hence it's more suitable for buffers popping up in special occasions > > > (like, for example, when a bug occurred and the debugger should be > > > entered) and less suitable for buffer editing. > > > > I have also noticed it's not always good for special buffers either, > e.g. if I run xref-find-definitions, press q, and run it again, > different windows will be used for the two times. > > When a different window gets used there's usually a reason. So I'd > need a recipe to tell you more about this ... OK, let's try again. The recipe is: 1. emacs -Q 2. Split the frame into 4 windows, so that new display-buffer calls don't pop any new windows. 3. Select the top-left window (for instance). 4. Call M-x project-find-regexp, input "Xref", press RET. The result is an *xref* buffer shown in one of the windows. 5. Press q. 6. Try 4. again. 7. Repeat 5,6 as many times as you like. The *xref* buffer will be displayed in all three available windows in turn. > > So about that main use case (the Debugger), can it just exclude the > selected window using inhibit-same-window? That would obviate the need > for special logic in this case. > > An 'inhibit-same-window' entry is the canonical way to "exclude" the > selected window. A 'previous-window' entry is just a hint to "prefer" > some other window. I'm not sure if you're trying to say "no" in response to my question. But if so, I suppose this bug report can be closed (and we can conclude that this function is definitely not suitable for xref). Thanks for updating the docstring.
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 16 Jun 2019 08:16:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 16 04:16:46 2019 Received: from localhost ([127.0.0.1]:39661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hcQLG-00076m-IF for submit <at> debbugs.gnu.org; Sun, 16 Jun 2019 04:16:46 -0400 Received: from mout.gmx.net ([212.227.17.22]:48547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1hcQLE-00076W-JX for 36161 <at> debbugs.gnu.org; Sun, 16 Jun 2019 04:16:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560672999; bh=RM2sYK7AHgTbVl3+CK/hhvgyYpDOmraZ+PLuzN0pbgM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=GRPg9zv5PbF/+inKMVWbODTPNlPbRS1H2oKrfNapEunVQ6x0FFwon7DZ/qUHYBZ0x 5sjc7yLZloE8bEeL1XssQz3Uo/7kBsqUMbmmyAi5s8Yg0EUeS1cmDiz3Pv8iC+2hzE J/pCbKKg4EU4FmCrhb4jEKfY7Iy9dwlXFj9xNVCE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([46.125.249.103]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LwGDy-1ihnw03kxK-017zUs; Sun, 16 Jun 2019 10:16:39 +0200 Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: Dmitry Gutov <dgutov@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> <1bf87542-fc41-98ab-c4b4-3dd0074573c1@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <85473004-8bbb-56ef-967e-0d3f8acf79ae@HIDDEN> Date: Sun, 16 Jun 2019 10:16:39 +0200 MIME-Version: 1.0 In-Reply-To: <1bf87542-fc41-98ab-c4b4-3dd0074573c1@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:hMAmVSteDkBNnfdvWqc7vhWybTYIVhseU4U8HvSaAb0wjceHOGB GsfUTrTP/tEHYvgdExWHCo2mA5WeW/49OMg+QU9bEJ1vIHTvQlGCRIdiXr4idz8eLyhsEyf MdeRFh8wczU+amNVuWHHiTdEN9msqaatzZf8b6Fe3wmC2QXmheELSYrGsNJm866pj6S+7bC qxylUZptp1CKcuzRggwPQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Mqeax9l65Tg=:rL5YSS2Do+OR6rz1n3wrtO CGtldN19RPDJ/h7oiIlImV13FkLdF1skwLq9B7KYFERqKRCF2b/2LdHF4hPE2eNE1vMtyA1K5 nEXjF8HhpeI9tPSB6Vp404ohONtwDa+pjNBCH4MrPqiMT4sX1tHXrrL2CQRo1VlNrqyGuIeoc rSG6e9EHLm/k94LVxO4kD6MBMA45DRxnpTUdsjMntpNhLz7Wwefm8gVAfd30N8J8Aa7Xmh3Dm 7AkhGxU9SNoC9NZqbj4jabiJnY6OoAKGzocSL3iPiZ4PT4l0WgbGVeUL/jX6ge2q7QoqulI3p tZNObj207IxA3J4wlNBcmW4SK9LacqdC1/7vYCdd3UFkjNGoLhYcRJhyF0qF0XdkUU94V6ATa rAqPshPZ+A9RQuwPRi2p00t/LPOXqIqBEyuvmNiz7o8Cj8EBUPRCeMlp+spt3joZbTOll41qG KFUrDU/6lxOPrUSveuoxmSVHrvTWW5cJQLFP8YdRm6VzoniW7ia75s2fwN4JjaNfmzjN+2lCQ sK4317iSYDzQxru9p6dABof1s/4Uo8hhxNgkvTKhZRuZUa9BUoIdWZKJTsgcSQ/gzIvf7rGV/ HRZCTkF0Obnhp8/06TQRCbiTLrAbV0ZY2SRAQKofCzCnN8AGIdSjdb11UTzGodGIj5OZu2wod n55YRy3iF8miMyJOFVgQO5G3XZerGUj/FOIjDgNnkXQTZVvJUIq+BvTQaqq9T1Aj8379mr4hO aKlh548jWvsvlmWWqDf2IVB7YQ1O40F+p2KZ8qh4Gld2kEcLJQ+A15jMuJ8JGYR6kelN02REG zcyoyz52Qtapc4Mzgr4ivMiHseGSlAx55e94nh/unVvBZqidP4PCGCCkFUtG2mGm8h5KXzp7E izwah+tu2vdgbRXLB8S28o+7sP7+wdmoV9yh4l53dLVvv/2uBHRFrRLucNcXwB0eJR2781gPh 5BchYn8t9T6Au4zy1zhoKFvXt2wBXVyQfjbwGK4nprBidCZvspBvH X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > > Hence it's more suitable for buffers popping up in special occasions > > (like, for example, when a bug occurred and the debugger should be > > entered) and less suitable for buffer editing. > > I have also noticed it's not always good for special buffers either, e.g. if I run xref-find-definitions, press q, and run it again, different windows will be used for the two times. When a different window gets used there's usually a reason. So I'd need a recipe to tell you more about this ... > So about that main use case (the Debugger), can it just exclude the selected window using inhibit-same-window? That would obviate the need for special logic in this case. An 'inhibit-same-window' entry is the canonical way to "exclude" the selected window. A 'previous-window' entry is just a hint to "prefer" some other window. martin
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 16 Jun 2019 00:47:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 15 20:47:52 2019 Received: from localhost ([127.0.0.1]:39446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hcJKq-00039O-GG for submit <at> debbugs.gnu.org; Sat, 15 Jun 2019 20:47:52 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:53687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1hcJKo-000399-Iz for 36161 <at> debbugs.gnu.org; Sat, 15 Jun 2019 20:47:51 -0400 Received: by mail-wm1-f42.google.com with SMTP id x15so5807150wmj.3 for <36161 <at> debbugs.gnu.org>; Sat, 15 Jun 2019 17:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dRwDqClJ1rBFWP11QF55jA+3zPnO7c4A4pglGI/9iD8=; b=p+MPaqrERo3YUbqf+W5cJuN4NZPxmUsZ2OSaYtOkdA0voaiUPexRu21e/N7m2TnOZZ h8G6+ebgwxIGIulyX2AzK0E6/9plxZ6erp8P3fTmzkY8xudCzf5v12OXDeNT5JyFQIaP 9OTmbPt/gR1FvcSIvHy5F26PSMhH0h83nSS10L2dmgII59gKboZ4nw1GgqmHivUd5A1q FnXuF8Grz1+BN5Aes38VGjuLEylO5ZASMGiA/VdBd7RkHNM+RSGdoenXz1vVDMRd1cDs /naI4vb76OxCmJZH9czOd45COov28hOygFl11gPlEP2UOcO/kPPB2GeGJYao6cAyGZ16 MJ0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dRwDqClJ1rBFWP11QF55jA+3zPnO7c4A4pglGI/9iD8=; b=LzAX5Ly4WGpV/aTHip1yk1ZMg85Vs4wGSYtPlJ7Y5/YI2te7wI9qXtxDsARL44pj+o GKPdUAUPIJOQuj8E1JhwwCJfDj92eE3OcyMkdW32kbfy7i0XiAAqR2aeILggOFTwWdEs Ah4oDOv1loAOVx03DrJn0pppaQlFjx2XyyKgZq3VRlvj5ZHAR+9tNjEly+rAYKWW7gEn sj1RICAnP47do5EgIdRqHT4mp2GR9vYv8T+Six+qStbTWpNlLeoT6bJSR5HoCrqdnOM7 NCcLQ9UGwjDv0LHrQhtVpuXUOlxsTZp9o2zg97LvI6H0/dLr+FcYSS/Rjwif+wOOQEmS Hn3Q== X-Gm-Message-State: APjAAAU09KJh3dmGhxwF08y0FQ/Cp6zlygNH8uPA5YAPr+gfDOJ0uevn GATvY5KfqFUya5IZSygnuUnHVwd/phY= X-Google-Smtp-Source: APXvYqzFsoQ3It0c2/L3Ie4T7tY1GCSB7meXdayevf6AN4i8n2ssDE0HcFolpKbf4m7c8JEA04cR9A== X-Received: by 2002:a1c:f918:: with SMTP id x24mr6940057wmh.132.1560646064480; Sat, 15 Jun 2019 17:47:44 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id v24sm5691894wmj.26.2019.06.15.17.47.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Jun 2019 17:47:43 -0700 (PDT) Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: martin rudalics <rudalics@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <1bf87542-fc41-98ab-c4b4-3dd0074573c1@HIDDEN> Date: Sun, 16 Jun 2019 03:47:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On 13.06.2019 11:43, martin rudalics wrote: > Hence it's more suitable for buffers popping up in special occasions > (like, for example, when a bug occurred and the debugger should be > entered) and less suitable for buffer editing. I have also noticed it's not always good for special buffers either, e.g. if I run xref-find-definitions, press q, and run it again, different windows will be used for the two times. > A 'previous-window' ALIST entry should continue to support the > principle of least surprise by allowing to choose a non-selected > window that never showed the buffer before. The selected window, > however, should be always either chosen or excluded from choice by > special means - either via 'display-buffer-same-window' or using an > 'inhibit-same-window' entry. So about that main use case (the Debugger), can it just exclude the selected window using inhibit-same-window? That would obviate the need for special logic in this case.
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 13 Jun 2019 08:49:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 13 04:49:20 2019 Received: from localhost ([127.0.0.1]:34516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hbLQ7-0007Kk-TH for submit <at> debbugs.gnu.org; Thu, 13 Jun 2019 04:49:20 -0400 Received: from mout.gmx.net ([212.227.17.22]:33489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1hbLQ5-0007KQ-Mg for 36161 <at> debbugs.gnu.org; Thu, 13 Jun 2019 04:49:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560415749; bh=H7zJKUXZOC/9as6Spyju5dlEU9zpLYrL4vm7jk6kxZM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=MgiHeVIyKIPWB7UZDr5Hx9OJWiFBlaBcYWx3lBnvdTnvBO1Bs9VJNYAGneoQEm/GI P4YUTFPHBOdfuQkWxi4NS0+dtBRSjuYGesWYUt6VZ9AEdwPJ91NvqWbUmWVCllBZP8 icXQvn4/O+OH/whcPLjnYpGyGM8/Pd89N4yv01/4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([213.162.73.176]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTzb8-1i1IS449xK-00R0GH; Thu, 13 Jun 2019 10:44:02 +0200 Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: Dmitry Gutov <dgutov@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <e909627d-1c11-0ad4-c3b9-dc5918ea4182@HIDDEN> Date: Thu, 13 Jun 2019 10:43:56 +0200 MIME-Version: 1.0 In-Reply-To: <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:q9b/d5BDpNzrgZnzDfqTJnPhqemPgKD2Wt1VQmQYTbf0QWtSQDU 3rdt8rvafy/0YEqLOWIsxGpmBRlyJQbnXnXRFqCRuZ6Lw4c9HioPcJnpV+zvDIStRNHAmC2 gjwdryxkDWpslHtwzPbX9o7q7OOVOkmWFAEkxV64LxcuZR3MLZRuf2fz0a7RfJwR6nP9qby pWAIVxAuzWVJm//CNaKqA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:zqC0e/IPogw=:JWcU8IcX7JNcA6XX/uxFQP NM/6vkIz/R/QYcG82vd47xkak5ZaUJDnQS/9OEa2WkQAlElcRGNiHL0RMQQ040Cv9/AeAf10Y blVgXMUClX+nAv7C/sYOFX2qqCXnM9nj6eibT+FzNPS+ZIFGrHLBtx+XCMIqoZet0uq4la5CF uQl31v9ex08dugI5krnRZW1IEu5BTxvhxJiieZJVX9CrIoHC0xaSj5IWHolWAJK6a7Y47yguB v0a4KOrSWI1Sn2PPoBQrD5RJAHlPrdRm091GCvb0B+ikcqaCtf4x3eD9ztKRuLZm642d/I5Pu Vy2pM+whSos2vqfM29pIC3vzkkdshwLitb0NMsp3CpLq1PSn9eKSUKt2HWrEsMLKdMKsFCxHH 1t/buiCLTfOq0yM8VK39tov5c+73Orv5bSWobCvT94TPeBfc3isnVqxbR8Y6ro+thZ5vA1A6M cnXfaezD12GhAdq4RnaX1FEGxWorUA4Z+NE9PpFC0Dv7EvOkRS1jEO07XQiGT4Fy+ElshH3N7 ictg7EspnfGbTRwiZ1zOlGunjWN9HLd6ymXl2UD9jO8tywAOuRn/5L2zHdStloxz1ww3MryGx 1r1ajr4zlCU6+8RxwtLS2Pgbz3KsQGn+UHd0tHdtnHWj0UBzYm4iqakS3RZm1z6G4mfS8fqc0 QVVCWh92HeLF7BvOiQMpndwYwkSUgfCprIpYwxd8DIQCua9w047T7OlE/UblBD4o9ceM5/EZn 6u767IJX6QDpW0Czaj5hlYfs2Agn2H6kqV/hcowaL1F64xf+7mEa7xxk+xH+WZQ8r2FQGvMgW pWTUH4e71bYLlHx7FcAR8GVlZrSWUAG2+O7RStoJZLMOERXLxEB9nMuGLXvw8wUmPf8VUAtkQ WmZnj9bm5eqa/k/2RCrtxmsOytikL2VN+v3mzB1CZaaIXJUAOehgBy3bBpIPBWpwpLVCJEfWC SPut0yt+x90whYoHTf1sHl388pz6kDScN5Uwbkn1mOf+4rU/2W+13 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > > I would have to understand first why one and the same buffer was > > displayed in different windows previously. > > Not sure what answer you're looking for. Suppose a user used switch-to-buffer sometime in the past to show it there? > > I think the question is, if the caller supplies the `previous-window' cons in ALIST, is there a point in second-guessing its choice? > > FWIW, I've only found one user of this function that does that, and it's `debug'. Which behavior do you think that command would prefer? 'display-buffer-in-previous-window' was added to fix a problem with the debugger buffer (Bug#8789). The idea behind it is that once a buffer was shown in a specific window and that window still exists, it would support the principle of least surprise to show it there again. And to _not_ have this function do anything when a window showing that buffer was just ephemeral and got deleted in between. In that latter case a more deterministic function (like below-selected, at-bottom) should take over. 'display-buffer-in-previous-window' will work well if it is exclusively used for showing a buffer a second time (maybe together with 'prev-buffer' and 'next-buffer'). It's behavior deteriorates as soon as a user switches to that buffer in some arbitrary fashion. Hence it's more suitable for buffers popping up in special occasions (like, for example, when a bug occurred and the debugger should be entered) and less suitable for buffer editing. A 'previous-window' ALIST entry should continue to support the principle of least surprise by allowing to choose a non-selected window that never showed the buffer before. The selected window, however, should be always either chosen or excluded from choice by special means - either via 'display-buffer-same-window' or using an 'inhibit-same-window' entry. martin
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 12 Jun 2019 13:31:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 12 09:31:59 2019 Received: from localhost ([127.0.0.1]:60895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hb3M6-0001FU-Ru for submit <at> debbugs.gnu.org; Wed, 12 Jun 2019 09:31:59 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:41097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1hb3M3-0001FG-Ot for 36161 <at> debbugs.gnu.org; Wed, 12 Jun 2019 09:31:56 -0400 Received: by mail-wr1-f50.google.com with SMTP id c2so16934977wrm.8 for <36161 <at> debbugs.gnu.org>; Wed, 12 Jun 2019 06:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mUyiK/8Y15WK/QniI+NL8z/1Ry0MRrrO0r0wqdyLFMA=; b=Ew3RtBrwbLohlgzZZWNedr1HIsGPz6ZoVwFBaCrQ/iMXqboCaKVyBZu999tCpMq/vQ o/cUH41J8QyNHTcpCFcl/slxmsHlWAlSrp/pzlUgfrBV2jJu2vRBFzj0H6D0bD8YI3CO jHXdQSRRPiM+QjignOgS7uA7QGimEfbFbokMcY5u3j6P42r4WOW9yjdOjv21rrdbM/3R 7LPd43hWdpOkw8zaD/we9r/M7xIU2o39msO0VFmB/OPGcwoUC55oaYExVnHZgFLsaVdc EERkPuaC3iq2sAB1zPu0xizakS3WPP8BnsBpFudDBTiNdBridTyB3ORLf7aR2RVdCyEN omLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mUyiK/8Y15WK/QniI+NL8z/1Ry0MRrrO0r0wqdyLFMA=; b=S9Cp5R9xPq1BZT7lkS8C8aztKV72zZrWsP+mNC5V8e0ldQsFK3azUade6sxtKrdqTN DD7MBwr7cH56G3CUO7DbR/I8h1UVKIcmE36I5OJ0NPRrj+HcOae7IDbhVSgjOUb/SnoL xqdGj/+UtE3d1AK8zOr5hQdB2qX4tQnMvkJneFO/hTnESctL336M9tTNMlxAg6RlzUTp MHiO3x5v/IOAk5uPnzKq67DKWbC1Q3xuNEEcmN88Uw9nuetVvQZ3cxI30+PCluKcWycn GMlGQyWjvi8+aHi+zoQpJfPj+Rvx3RUyGrLcmWDi3qSfbs6wr7j/v20Kpag7ma42xdv0 vZWw== X-Gm-Message-State: APjAAAUbLEDPKoowRJDvWmfak83JpOhz8BXI+iFcdbG8RJYSbKe283Di vUFTHhACKjGdhSxuR+pTzifodGpWi84= X-Google-Smtp-Source: APXvYqyH/S/+DMe/zq91unSnD5yBE+hsjrULpBovjfocl5CdY4FUAsArevToB0T9G6WeBtpM1z6BPw== X-Received: by 2002:a5d:4bce:: with SMTP id l14mr3325494wrt.79.1560346309286; Wed, 12 Jun 2019 06:31:49 -0700 (PDT) Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id z5sm6432284wmf.48.2019.06.12.06.31.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 06:31:48 -0700 (PDT) Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: martin rudalics <rudalics@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <3415bbc7-54fd-111e-a18b-0a927d93a7b2@HIDDEN> Date: Wed, 12 Jun 2019 16:31:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On 12.06.2019 12:18, martin rudalics wrote: > > TBH, the new docstring seems a lot more confusing to me. "may > override" doesn't really tell us what the function is going to do. > > OK. This time I tried to tell everything I know. Please have a look. It's much better now, thanks. And the wording of "is usable for" is somehow more obvious to me (even though the information is the same). > I would have to understand first why one and the same buffer was > displayed in different windows previously. Not sure what answer you're looking for. Suppose a user used switch-to-buffer sometime in the past to show it there? I think the question is, if the caller supplies the `previous-window' cons in ALIST, is there a point in second-guessing its choice? FWIW, I've only found one user of this function that does that, and it's `debug'. Which behavior do you think that command would prefer?
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 12 Jun 2019 09:19:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 12 05:19:08 2019 Received: from localhost ([127.0.0.1]:60714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hazPP-0003s1-Ve for submit <at> debbugs.gnu.org; Wed, 12 Jun 2019 05:19:08 -0400 Received: from mout.gmx.net ([212.227.17.22]:33107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1hazPN-0003rP-EL for 36161 <at> debbugs.gnu.org; Wed, 12 Jun 2019 05:19:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560331138; bh=S5DGfNZj6YXO0sIDZKbC9ExB8KqlFuwuosrmEIaKrVc=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=EXvnzVlvlVEiDsX9ScSl789/TyofQ4ZLp0N72Zx/4WptUhdjubwQHGPOkdcaLGG2y aK3F/Q9lLPVzN9lqQbB/sXWof5sdJZzV1fimBaY6POG7RYb6JbPeAQ3TRRDDT0p0xQ mOpb2gZts2pdXx0C1uVM/FP5lrPer371VC0lvzKo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([212.95.5.158]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MaJ3t-1i79IF16I9-00WFcl; Wed, 12 Jun 2019 11:18:58 +0200 Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: Dmitry Gutov <dgutov@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <d022ee9f-3038-c53a-120f-1efd44bbd3e9@HIDDEN> Date: Wed, 12 Jun 2019 11:18:51 +0200 MIME-Version: 1.0 In-Reply-To: <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:cSxT+pcsW8717QKYTmwmhqk3w4SHlSovRdqkTL7WEJSdUpUmhgG KmDKHNjA0lsJLWLaGxLQZsX6f6g7hzPHgpa/1NRd5p2DrJwqjIYbxzZoks40vHIb28Gvt9c GBrN4sNWDneAt0nEDVJ4AMZbJhlJYa2RgLSoJelHNNw4NFAK6r4LjEHQQuIC1rXdm7vItns De1yaiZW0XeMhYZWDwBsw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sm8ytQ9yOpc=:v4RXk4xf1ux5UJZ/6F414m 5E0dmku/YjAoUMPWwew0C+xmOLJwgs1Zl6djqWjFloDBczgIwLbm9xyM38JX/5JUXCWLEEGCz JBYDQ/TEDJrAGYPj6V/CbF65bTZUdZ93HXjFe2KXTYdk8PSTBPQIb+7+WOV+4QQhIg5o55pkx pDEp70cTVzEc3c9iEBAUCC8WSbv3yfH39jnDKSyRZRJE9zvsrA2iWnnViFTsdXDYBGebHxRE1 OHkJoC67ID0j09VEPVVRHwX2v2hIIO753/kD7V2ymnkioXWkXO7h9YMzkZzM5hpGajLBdllHa lajAaZ22FiFLFnMzGgD7b/x6UqY3rNjL8MAx3gcZRHxa/4GMzuY7UpyWN/ObI9M6sBfl0gFjT KRvelJbh63waH1B+y+GKnIPhR1Kz/zAUkXQqdOAdtAsbr88HoxH1PmIhN8Ke2uKvbu3CgvDeN 0hoBzLx51d0mgYFsvHAPZpuGjAe8xNhWlbGq/jXGA+ffBQcqehPyvMKpsy59/RIrpALjTWu9U Tm3RWlNVNE3fEnOaOu6M2yC6BFcXuPvVkaVZGW6rBs4fc2D89eIWIV6BChCeE1cvzZlvUZy9N nPwjMKdfhx6thPCUAsxQXltclr9v7j5zQMjCDxSRYsUyJZQfU7HxsnfUlX3V5VZ95yVPzyI1D MnGRgofXs2eKZ5QW8ugjaGaxsY33UV4Q+X27qinksIjmV6KN24uoJrMFB/2fSUISBU6YpvUIT lEe+1r/zLbG4WUUGEjW86vUBrgEwS4zO329pRtELWr4r4pAK6TIkCsreKTn3Eiz6rLjD7PRUB sWttjiJSlK4Ggty1Q/CFwWulRAKZBL5O8vBdz0JyAywCmeT7OhlvBstKji0Jo+srCYlJhxNEg Kj6GMeFZXP5A2nmTqOV1Tmr9f1/68UnDrfsuz0bp+rh3n/QSxnQQovxsiGoqAXOfG0iT6ILdu HeSMHC6CoYAcmHnZuycQRXj0Jx0gNqmjXTjICy6QYKDIVI8JQEjeZrCLTdJZJd/qnFLdNuSkB zA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> We can also change the semantics of this function to fit the old >> doc-string but I'd prefer to not do that on the release branch. > > Do you know of any reasons not to do that? If only to make this function shorter and easier to understand, that would be a good thing. I would have to understand first why one and the same buffer was displayed in different windows previously. > TBH, the new docstring seems a lot more confusing to me. "may override" doesn't really tell us what the function is going to do. OK. This time I tried to tell everything I know. Please have a look. martin
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 11 Jun 2019 13:01:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 09:01:24 2019 Received: from localhost ([127.0.0.1]:58153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hagOy-0001g6-Kd for submit <at> debbugs.gnu.org; Tue, 11 Jun 2019 09:01:24 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:51384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1hagOw-0001fs-52 for 36161 <at> debbugs.gnu.org; Tue, 11 Jun 2019 09:01:22 -0400 Received: by mail-wm1-f50.google.com with SMTP id 207so2873942wma.1 for <36161 <at> debbugs.gnu.org>; Tue, 11 Jun 2019 06:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2XT0+LzzsiWQbTawx7ZF71AUa3/5QftuRtodOmM8SJU=; b=Z9UJIkxV+zp7Q4hoX0bkYKtI3d3ebdoPbHWHibD/5DP9RjgoeSyZm0U2KtrNmbKGxq neEcxq5ZyjXCNlTXR8x3UwG6MhymhUbo+aFklZwx2Ndkaybk1BpZlDLlDe3k2MHnD5ME 4uiA3wj9QwWX7ZjA92E5lblSuYyN9FSsv4yjyhpIuaodO44Ov+iPUxWlF0FUq5iNSK5p rlrNL6onPca6qORh2QTfOZm7XqhKv92RiOkGiCcQ8gicKoq+h0VgeSTug6aOP0XQgdVq m3dmy1BMzO8ctJWdRBXE8I+c75ZZW5bek3EQw0qB5AHOI58+2zR3Di0EcOTqwiWaDEoJ dDvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2XT0+LzzsiWQbTawx7ZF71AUa3/5QftuRtodOmM8SJU=; b=j6PtmCJDe+Zd3L18JrHosKhzrGmG4FJKg7YYQCVEgsksIwuYC0LGkL9dkPsmyk4/Zj xjQwCsLUcLOeZLO8lGlj1dx2raOHo/eq3FWk3lvC2LgMD7zd2mFou/X6NB4T3EU0pz22 J+71Bf4PW5OwXLAYyDIkpFAcCpJKLq+SZF3sBDjfJHdtpwzwzTfZICAHLSJOlPUdbVJ4 k53LeoCQ5axelvTrR/+qIH1NKcrCOc3Gj1cxxTTXTBdTQh0vXl5toJuO9BRXOqMV+pUh MSNb/cHEv70xBmNi6IiBhCVBVveJKIXNMFdX4hkK4vmE/5tgLmGd9nf8j9DoSQvzw2J2 U1gA== X-Gm-Message-State: APjAAAUMxqwY9Iia2ZJS0xE/hAqKQwVf/p/Bs54cicpzz7+WtfVG7eiC CGt76ODlvyxQYl7IrhGn38koH2z3Nc4= X-Google-Smtp-Source: APXvYqy3CizhuKV9hjT+NnNYPM2kS2FApNykab8FxgRokfVwAwUVZ9R4jU7RCHIjSLCv+I1YuQo5UQ== X-Received: by 2002:a7b:c8d4:: with SMTP id f20mr18061831wml.90.1560258075559; Tue, 11 Jun 2019 06:01:15 -0700 (PDT) Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id v204sm3623882wma.20.2019.06.11.06.01.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 06:01:14 -0700 (PDT) Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: martin rudalics <rudalics@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <1f4197c2-05b0-7ab6-41be-605eaf918200@HIDDEN> Date: Tue, 11 Jun 2019 16:01:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On 11.06.2019 11:16, martin rudalics wrote: > > In particular, the last paragraph. When PREVIOUS-WINDOW and the selected > > window are the same, it can select a different window, contrary to its > > description. > > Right. I amended doc-string and info entry accordingly. FWIW, emacs-26 was pretty far from my mind when I filed this. But now I realize that we should avoid using this function in xref either way in case we decide to distribute it on ELPA as a core package for older Emacsen. So thanks. > We can also change the semantics of this function to fit the old > doc-string but I'd prefer to not do that on the release branch. Do you know of any reasons not to do that? If only to make this function shorter and easier to understand, that would be a good thing. TBH, the new docstring seems a lot more confusing to me. "may override" doesn't really tell us what the function is going to do.
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at 36161) by debbugs.gnu.org; 11 Jun 2019 08:17:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 04:17:04 2019 Received: from localhost ([127.0.0.1]:57983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1habxo-0000tG-6u for submit <at> debbugs.gnu.org; Tue, 11 Jun 2019 04:17:04 -0400 Received: from mout.gmx.net ([212.227.17.22]:35697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1habxl-0000sO-8h for 36161 <at> debbugs.gnu.org; Tue, 11 Jun 2019 04:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560241013; bh=XUzGvk4S3X0yX76+0XAoXvN+DmB/Qimeq5xZ2qwE0Cc=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=UUf6i6Nry3ojfoRDc7oZ0ThmqQb/EoQAyf0APwsePy5Rx2RzVw0uoIBR6xkRuBBTo HcXZ5+M8nK/u9UspVlGbKzCFPSvK3t8fT6aAAhvfIYau35e02IRzas/w8PxUCbiHcI GRwAwuRix/Wp89K1xv5xe+N2bcAFJPyaG8xPr0VM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([213.162.73.248]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5IdH-1gbNzn3axT-00zV4K; Tue, 11 Jun 2019 10:16:52 +0200 Subject: Re: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW To: Dmitry Gutov <dgutov@HIDDEN>, 36161 <at> debbugs.gnu.org References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <78fc4891-dffb-e828-baca-118a5a300c9a@HIDDEN> Date: Tue, 11 Jun 2019 10:16:51 +0200 MIME-Version: 1.0 In-Reply-To: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:BR7zB4Wzwp+5ob+HlNyv+qJtYKWrrMTSH+gbdUcLxEtoHa6a5Y/ XjX2cazT7G+ph9T1KrSMZ5l95YJlAiPiSLxYb+TVgJHLieXBzUdAajPnfkEYa510dA9TjTJ HfVeYNhvr/rxeNjMonOWZGZkMkJtaql6pWQSIa68x0/XYkuYykAoFrp8T12Lc4vxD2HoW0t Xg208VSlszLy0NhvW45VA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MIJ/5uVQcbA=:f8zl43J6sKuKo0bVGR1hED xnCGx2b5QcDHbwAJJ0MtCJ5rp5mt7d8iT6NjwE1ZXKcxr30G099/vZ7k8342a1Qe4HoYg2pZt jJeuvVqnxzH24ROtyzPYKUBQUgDXZjrbVjO+SnJgTky5qRBrkRweM2tRWx1HI6R1ed3jrHGcp 63CPwE0RxPqvIFFA+GK3ZXcNoVg4lboQQdGkxsyHkCfTBLYck6Wcb2hQrco79lveVMT+/UCsg Pt+h6f5IokpDfPN//AYQ+3yCy2vHlQQEZJR1BgktK8DFz9YhGbLB9axIO+2Gl/JQnUOZTHn1y VYbdeXRnG/h4lUJgNhfIKMvb7iCiDd4YfxsN9KYTmhLucd3PgcpmmbkUqxulBn4IUTs/7GYLA Dont6C3jJJ+S37K65i/KLwVt9D2G7M8d4e9Y0JGu9CLWeP6lbMRbvaU3IBRVgNAIMeDwDacs+ sRtBbfO13KVHuURiLPHsiuSsYClndeiHzBTdjR+FQrgXiCZFABPRTPFfN5bUSgpW4AltUUczR bni3tUqCrAc4aAJcoY1YpW4+NMAnzoWFzsj95wy1iNaFJjypOjndjqwB5TMRg3sB6Ja49sznX +JTBkAU5njKqk7VZ+PJUBFdm1EIim5LupIemAKrR2dEDLhU27vCFHQwKaI89yytxQU1l+suX7 EcszKG2KypbeGAGx2En7P9UOSgcRbs1zKy8NgL7rUl3wsBdvU3K58v6b3lldeKNtgemtNS9u2 h1sDVTPeQeBpaVPhAnNSrmV/SoFFQ7fD8HnyU0ZxvmmVgdnij260d3C5Q0x8icwLb2n2WEYby qW0ZDCYIsKqwPvMQQu+wvKX2kOHeBSZ/41Xk9mI99iucVhWroMz/uVF2rOoCeXtBT9HAzp8KO 5VOdZQ7YJH+GWsw65gTxwfYS5P/qGOAH85cLCvSXSMuDAQ8Fnse5lbwE4w5pzJyZpbhss9raz PssTOdVxf8WiKocWZFbIJ4BJNcAsUERD0ZyCMh0cDXATpOa0PmLwfFM/XDfxVo3yO52RmYzn6 vF3yGkIJdJ5KzQy7O4245sg= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36161 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > In particular, the last paragraph. When PREVIOUS-WINDOW and the selected > window are the same, it can select a different window, contrary to its > description. Right. I amended doc-string and info entry accordingly. We can also change the semantics of this function to fit the old doc-string but I'd prefer to not do that on the release branch. Thanks, martin
bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Jun 2019 20:29:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 16:29:33 2019 Received: from localhost ([127.0.0.1]:57522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1haQv7-0004TV-I9 for submit <at> debbugs.gnu.org; Mon, 10 Jun 2019 16:29:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:38236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1haQv5-0004TM-1S for submit <at> debbugs.gnu.org; Mon, 10 Jun 2019 16:29:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43350) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <raaahh@HIDDEN>) id 1haQv3-0005v2-Ec for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2019 16:29:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <raaahh@HIDDEN>) id 1haQuz-0004fE-Gw for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2019 16:29:27 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:44484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <raaahh@HIDDEN>) id 1haQur-0004U3-Mr for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2019 16:29:21 -0400 Received: by mail-wr1-x42c.google.com with SMTP id b17so10505308wrq.11 for <bug-gnu-emacs@HIDDEN>; Mon, 10 Jun 2019 13:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=N9N1ZdLrlXpoyO+XbdnqRua5byCiHfu7krcJx4QCz4s=; b=ZSpAJkSkfTzTHA/ilCHkDjj96mBzqwANU7kXrlhCr7DFoSIU9ZsPfOdeF7VK2c/QJI /Gk97q959P0pSYX8ZffDxCxoiGUq/3/H8KPmtEyWUjWRKP1HFm72b86dyb4KABxTkDld xVIHcI3vEyhTcuoV1+7KgobWJ5Si8c8DJRLnXW32LFQozGrWl78uA8YfBwjUgVtWoNC0 poD4bc14lYoOm4/UY2vyCGNmbC11pUNUJUVpueD00O2kF4HWz9w2vla8FngYnK8nMWb5 j8mRC3eF9U6MaXIypvSXcr/q5cXNGMYG+wXj1NRIiHzv7PNcSr70Q4ZK5NyEqbNw30uC uJUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=N9N1ZdLrlXpoyO+XbdnqRua5byCiHfu7krcJx4QCz4s=; b=iLAudvGZyrt/MuJKBuizsm7d6Tg1cWLNJJcJVIyvl+w5WWxY2s7ke3WUKDh54kQbTx lPLeuqXRx5ae8qq7jtujweYlaRQkLjpH7dHsfHQWnMt8NONa/rLE4ED+0ONNDUqrrOfW +O/8KBfjyAv+uJuFojr5N5OQrYJ3KIPCSdWx8s19ijJQYi/DU3YEh4MLPORQ9mZMMYOH 2AnW07tQv9GQ8bm3DEd0MzZx5CtITveDTDL0OSMIvTIIWyrwW0Jj3toDSLH2fdc8xDqb odHHLc7qJEotXaOKBEb3C3VJFhFH125ZaCf/Na32VY+QYffP7XXL5wvsKNE5bM7r5jKS 3Gng== X-Gm-Message-State: APjAAAV8w/ewqK3I4kdp+SVKpMITxMarbcP67C7uCqGTLYBNIjKAZP4u VjK7Gt3STkdfCwv87FFpHPp2yVtQF+s= X-Google-Smtp-Source: APXvYqykbYxVO0xJbI98gksDyTPYCapLPtwcyWzIbmWPTiVnEuEsrllev7RKcIffso+zydAx6y6a7A== X-Received: by 2002:adf:9b8e:: with SMTP id d14mr2427444wrc.233.1560198551244; Mon, 10 Jun 2019 13:29:11 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id t14sm11485183wrr.33.2019.06.10.13.29.09 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 13:29:10 -0700 (PDT) To: bug-gnu-emacs@HIDDEN From: Dmitry Gutov <dgutov@HIDDEN> Subject: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW Message-ID: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@HIDDEN> Date: Mon, 10 Jun 2019 23:29:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.8 (-) In particular, the last paragraph. When PREVIOUS-WINDOW and the selected window are the same, it can select a different window, contrary to its description. Which is a problem for xref--show-pos-in-buf, like I've mentioned in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33992#52. In GNU Emacs 27.0.50 (build 58, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-06-10 built on zappa Repository revision: 0f67be92592ef82d971d004f4063e68682c123de Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12001000 System Description: Ubuntu 18.04.2 LTS
Dmitry Gutov <dgutov@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#36161
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.