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#25054: 25.1; bury-buffer makes bad choice of next buffer Date: Tue, 29 Nov 2016 09:09:26 +0100 Message-ID: <583D37B6.5020108@gmx.at> References: <583C81FB.1080908@gmx.at> 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 1480407016 8068 195.159.176.226 (29 Nov 2016 08:10:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 08:10:16 +0000 (UTC) Cc: 25054@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 29 09:10:11 2016 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 1cBdUQ-0001JO-If for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2016 09:10:10 +0100 Original-Received: from localhost ([::1]:35237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBdUU-0007qb-5h for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2016 03:10:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBdUM-0007oH-Fv for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 03:10:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBdUI-0003BO-Dp for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 03:10:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBdUI-0003At-Bc for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 03:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cBdUI-0005qx-3l for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2016 03:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Nov 2016 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25054 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25054-submit@debbugs.gnu.org id=B25054.148040698422471 (code B ref 25054); Tue, 29 Nov 2016 08:10:02 +0000 Original-Received: (at 25054) by debbugs.gnu.org; 29 Nov 2016 08:09:44 +0000 Original-Received: from localhost ([127.0.0.1]:45565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBdU0-0005qN-LF for submit@debbugs.gnu.org; Tue, 29 Nov 2016 03:09:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:56578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBdTz-0005q9-0l for 25054@debbugs.gnu.org; Tue, 29 Nov 2016 03:09:44 -0500 Original-Received: from [192.168.1.100] ([212.95.7.15]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LyVcA-1copaL1ah4-015syz; Tue, 29 Nov 2016 09:09:35 +0100 In-Reply-To: X-Provags-ID: V03:K0:yqVQRzJTtVfeWO1k/fhfXwDfmeEQ6y/Ox0yQerOI+09CjUDb4y6 xBzih6hfS9maciFo8mz2fj3AVHrdH6PbLUMaGlejzfb9qXMIEMSxpPe1BsHbF7MkpvLxecy Tq7nyHRyk5cS2cVXQ4ut8RcfuHx28jyRcJBkA9OGgv4L6GfZDgz/9vLejiMObSeSbWo1wyP 0gZKz1BvlYY5m6+J7ehPw== X-UI-Out-Filterresults: notjunk:1;V01:K0:FF+kZTy8Lxk=:YZ+LImwKe1FNm22TBc8LPR 6wXWasQj1tpHKgEtTnR+W3oejPU9WMgidDFW/fPERhvfq4gidHdiu7jMMQWYgTjepYyy2DoWQ E+PZBw0nXqB+LZ87cW/wia2UbD4QhM/lltAN61nPispE8Zk9cIdu63tiAJO4G3fD98EhgnvuE m0lW4jYr/HrtfDolDw9TfjBcARFbpvUEVFSX2S8Utxfu+jOLWOIY4OicDlUSJs0PVE62yPF1U TavM+noHyxQndeIJ1/fWOtScTHyaus66pJrnWrl/5eIAeBrhjOtEkQJPMukairDxCOx47+qDd +d8qWC82cJNQHs0KwqMy8MoAwgBej277au5pEKfokjetanbVmlKdOoub/YmF4j4z1HeVBK2Gn Q3kMveG0uQH8I9gu4VgSrT/+bUCpdEvbQqC75AlagMimdQbJTufjUUZud96IXXUW08EFhRx0s PfGtTgngFDpCI8WHxrMyVzM37O3h+RG4vr7qd79NBi1M5nBEpqxYsitXu3QYDrsBeVlKYjklh 6CCa/GqpikXt6wO1ugM3572CMA0zEt7GBQB2ylH+2ECoQQxRY2i+9/r6+DzWbIYvfjsw5r/jw DcydIZK68gw3Wgs5rYOmf3qj9GIChdq8d+E7a/QJ2MlyQBPjaC417fZxo0OEZr5PXX2J6xyqm ZFfiIppNr5M9kyN8W3D9vvolwwJltVsAFhXN1/MCjL4AKEFvRNRRazsPqJq0+IrJYhfI0d+K4 fB3qT4PXnlsVbr4PAljI7TXvTT14VLLlsKmBBqrxTm5jeNqNnj4EFAig0KAWxytWY56UBwV2 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:126231 Archived-At: > I wonder why the default was set to t. Do you know if there is a simp= le > explanation? To return to a previous window configuration without having to restore it explicitly. Consider simultaneous editing of two portions of the same buffer after C-x 2. If one of the windows is temporarily used for showing things like help, info or completions, quitting that window should implicitly restore previous buffer and location. The thread on Bug#20861 contains an explanation why your buffer "c" (one that was never shown before in the window you created via C-x 4 b) is unveiled there by =E2=80=98bury-buffer=E2=80=99. Maybe J=C3=BCrgen's sol= ution could be improved by switching to an already visible buffer (like "c") only after all other possibilities have been exhausted. Patches welcome ;-) martin