From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height Date: Tue, 21 Jul 2015 13:07:19 +0200 Message-ID: <55AE27E7.6030505@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437476902 24493 80.91.229.3 (21 Jul 2015 11:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 11:08:22 +0000 (UTC) To: bruce.connor.am@gmail.com, 21100@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 13:08:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZHVP8-0001R9-Lk for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 13:08:10 +0200 Original-Received: from localhost ([::1]:58720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVP7-0002S4-Oi for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 07:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVP4-0002Rx-6j for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVP1-0006GU-1R for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:08:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVP0-0006GI-TT for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHVP0-0006ns-CD for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jul 2015 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21100 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21100-submit@debbugs.gnu.org id=B21100.143747685026109 (code B ref 21100); Tue, 21 Jul 2015 11:08:02 +0000 Original-Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 11:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:55027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHVOT-0006n3-Vd for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:07:30 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:49295) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHVOR-0006mp-NL for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 07:07:28 -0400 Original-Received: from [88.117.84.27] ([88.117.84.27]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LnOve-1Yj0vH3AIo-00hb5f; Tue, 21 Jul 2015 13:07:21 +0200 In-Reply-To: X-Provags-ID: V03:K0:mCj7aN1GV5Kp3xCe812kHaEd1fZXOR+JGUCz1+pnyKBhjZaqg5p Zq123J0rXhkupn8F/pCvcFh3IAP161U8MdE7dP9NLSHNDATNPlFH6M4R7cgoKCSWXASgGE8 S6aVwEubg/S31RZ4XB+azOQMsk8LDjXzfQyON6BgdTqFcpmZI1HPBzvgmG4yh2/cgl4/ZO2 xVRqBxRUzQT3oPh5vTNcg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YXWz/dVaZjY=:OZimQX0vLK1zRAB4RTBnua ULNTCqQHtC2y3b08qhDEE2b7DjfZ2K6KZ1hAv+JnUPiwLclVowXO08Msx0lUXMvn+mGmCSqeL VV/OEdP9OjLJerXhSKy1d+6EivN7xMzQTkhpg37Ou8st3XNGUh6Blrfxg81dIbD2kzUkVcGZD HYWm5RYKYEDC2CcM2abMGKOpUedAzfiWRooUok34prmv7NJCzgwJgnStXILmNx0p2ypDpaY6r AazEOvceQmwhcYQEE7cFgizMzV1v+LW/fQO3r6jUbX7Z9Xew5TqBxG/+rgwB7EHzhveJffp9N dE/d3OF1225RXBWFLizbOF+PJHCjhBuXRrUSTLJSgl8LEFFVbzsazEAB3Whv2cPUCv6sGa1m/ mpILN7FBvs/IObzSUpVuqCKN4K72AHePfVcuU9pK+tPuvPTyYCJnndn6TJozBcnnRw7CLUSs1 f31cy0coIVaVGB8VeSC+T9LH1mfwO6BA10SnHOAnkkBHTyibcYnZoPFyf0rpIUBoHww8gicqL B0BLM7J9kgOI9SAesKu9A2fqmrUS5eLWPjbgc3iUNNoYhuAykh9b/Aycx/v3L55WQtUrGUb0G h+WboUL3N1iNZFY55mmKa6nTgYqfUUED1FiQaciaYaMlqHsQAuiWaL7wJuP2QgF5qXMN+17Zu LyV0v3aNQYUjzZVX8hUdLvAosnAOndBBOMfypH3yD6LheS5PL8K9L0qTRd2qEVh7GclI= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105050 Archived-At: > 1. Split the frame into two windows, one above the other. > 2. Make the bottom window very small. > 3. With point in the larger window, run `C-h f point RET' > 4. The bottom window increases in size to display the Help buffer. I can't reproduce that here. Even with `temp-buffer-resize-mode' enabled, the window doen't change its size because reused windows are not resized. From the doc-string of `temp-buffer-resize-mode': When Temp Buffer Resize mode is enabled, the windows in which we show a temporary buffer are automatically resized in height to fit the buffer's contents, but never more than `temp-buffer-max-height' nor less than `window-min-height'. A window is resized only if it has been specially created for the buffer. Windows that have shown another buffer before are not resized. A frame is resized only if `fit-frame-to-buffer' is non-nil. So what did you do to accomplish that resize? > 5. Hit q in the help buffer. > 6. The height of the bottom window is retored. Here the size remains unchanged again. > This does not happen if you split the frame into side-by-side windows, > and make of them very narrow. In this case, the width of the window > increases to display the help buffer, For such behavior your `fit-window-to-buffer-horizontally' must be non-nil, I presume. > but it is not restored on quit. It's true that `quit-restore-window' can't restore a previous width and it should be fairly easy to fix that. But can you provide me a simple scenario starting with emacs -Q so I can test it? I apparently forgot how this is supposed to work. martin