From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Help with windows and 'quit-restore Date: Wed, 01 Mar 2017 01:57:07 +0100 Message-ID: <87r32hx198.fsf@drachen> References: <87shmz86x6.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488329871 30018 195.159.176.226 (1 Mar 2017 00:57:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 00:57:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 01 01:57:46 2017 Return-path: Envelope-to: geh-help-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 1cisaP-0007GG-Ta for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 01:57:46 +0100 Original-Received: from localhost ([::1]:37851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cisaV-0005Jj-Vj for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Feb 2017 19:57:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cisa4-0005JO-GG for help-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:57:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cisa1-0006aA-FO for help-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:57:24 -0500 Original-Received: from mout.web.de ([212.227.15.4]:60905) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cisa1-0006YN-4m for help-gnu-emacs@gnu.org; Tue, 28 Feb 2017 19:57:21 -0500 Original-Received: from drachen.dragon ([109.43.0.139]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LsyBm-1cKMhj0u4I-012Xgm; Wed, 01 Mar 2017 01:57:09 +0100 In-Reply-To: <87shmz86x6.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 27 Feb 2017 17:01:41 -0800") X-Provags-ID: V03:K0:fYhTCf956m5RlpTib4CprxlS+sZh/JkZ+PoeH73AWteFvWPZnpC vBQv2wFClgiUJwFsjz+BUe3oPMCpol/TC2ftyaDsDHwJZ0sWJtWOhevXKzfb1yJiYUSymTh WBiDxCV4VtiFOtydRgtbzz9Jk2Wl+1+Fl+5k9EJ9whVIXO6AJR/b1Rxta6mkp8U4gZqtKMc 2Dn6VsBaIqD40aO1cTSqA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Ka0Xzdr3P0M=:aTAX7HpuCcfRO0S1yia+4s WqDnNIYMT2YXIRut8Onsm/kpPItXxcBnxvbKt1DjD+42FcjtL0Opz7A3qDWaHHzfDHOpdBKwv L2mXg2LWqPxP2E9VygALY1C58PxSGVtIhtp2WcBwn3oP7TkYj7OyguOl6W7gJSsJ/DXxQWhW1 xfVkTO6mVYVLb5MqH3eJTtrbusA51hXLf4rphBpoGEdM2a6ZwhpSN5ZFm6VTaxTobfNAMlXnd PxVxPfACSghqOB02xBFmNIgsKz8x06sfLwU/KMIrIhq4eE5EXAixFAcUglPb76XXampMN5Upx Oe3H6U0F6Too8aL2MDW1uslQZYTTrvtAJuuP5Gg6+aIlOQxT/PBhAWz2lRWpSMO/ZEvXClzX3 dEdLDb3SpQOtA3MbKwMG1hNNZa6Fdib/JdK9GgJVLxSGkagNEsBiy1kEWNrrU97pBtfB88aMs /KQ3hA9Z8uSZHS/G2ThYb75c1CBCAecVx+NERbRe2UZ2sH3H384X1iqAKKcN7UAYFuP+Ag7R5 AUytm9CKR0zJgwotb0ZIyzaOK5gQHZ3SAPRzGlRw9Jh0R4Qrr+wVlq6AaxUzTH3wj0DsgEw06 xaTK1nM331O0wdy7LE+fMVCjOgJCO3xVnthyqRyFFb0IdykrrZAPIT/zg185pTYXOVvD/RY7w y/qSr4cLAloFqNA0cBx6Nx1ofUKNx3iTsJ9rsheS6++aubUUa02arbwHRK7//zDKtBZNAPXYC J6DkiRPzUpxxQq2e7acInsFkhUOsusyHhuItd09Q/FBC7+izvFJ0VYLJ1zRT7mPNU/1C6DSH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112398 Archived-At: Eric Abrahamsen writes: > Can anyone point me to the correct call for that? M-x trace-functions shows that your call is equivalent to the one caused by `display-buffer', so I guess the different behavior has another reason. `display-buffer' calls `window--display-buffer' which does some more stuff - the (set-window-prev-buffers window nil) call looks like it could be related. Maybe you could try using `window--display-buffer' in your code? > Or reveal some better solution to the problem? The better solution would be to get it work with `display-buffer', I guess. Michael.