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 14:47:13 +0200 Message-ID: <55AE3F51.7030204@gmx.at> References: <55AE27E7.6030505@gmx.at> 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 1437482911 25872 80.91.229.3 (21 Jul 2015 12:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 12:48:31 +0000 (UTC) Cc: 21100@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 14:48:20 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 1ZHWy4-0004zh-8s for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 14:48:20 +0200 Original-Received: from localhost ([::1]:59245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWy3-0002eA-Rp for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 08:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWxr-0002Oy-Hg for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHWxm-0006Cs-Fv for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:48:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHWxm-0006C7-Dc for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHWxl-00029r-NB for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 08:48: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 12:48:01 +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.14374828458244 (code B ref 21100); Tue, 21 Jul 2015 12:48:01 +0000 Original-Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 12:47:25 +0000 Original-Received: from localhost ([127.0.0.1]:55077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWxB-00028t-8S for submit@debbugs.gnu.org; Tue, 21 Jul 2015 08:47:25 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWx9-00028d-GB for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 08:47:24 -0400 Original-Received: from [188.22.108.88] ([188.22.108.88]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MBrCt-1Z7JYI1H7v-00AmF3; Tue, 21 Jul 2015 14:47:17 +0200 In-Reply-To: X-Provags-ID: V03:K0:MnuF6yZvWAdhlH9gSWQohKbYLLTTEilQwAwzncPn7K9LtlDuBPt shSBjv1HTOAc3YYzAeNC9QQTVdvHXG4e/Z4txl+P0f7zGlZHgmC/Va+zLKglkBaBNzp1if2 rf2LPKjDX/aHEhSLXyjDsvR+37fLkfuXuPHNfQkbfyx73h0msVS0diiqkJY/JkVV+lJZe0W 3r6ZoCypElwtxJIRpZHPw== X-UI-Out-Filterresults: notjunk:1;V01:K0:aCCoCUTmJI0=:WtnpQ6WojAiyrKLP4zGsW1 SPk0E0crqPYaeYixWsDleuOBVLvnTJhOEyaFxwHYBGBXvbeCtJQETTj+Lt0XJU6/Hfv2CJZ3b 9MxLgAME20V3wtoLjhIKv7Aaq6k+rloiTqm0iQimIMHL9gOpyPSrTc3o5DPPHAkIKO8IwdFqT 7LncxHEge5qK4BxJQjoW/fl0DVxDdwvAUOaIT3rEKpoTxmnKFcJ8RsC9T7r3s6CAUmIuUcYr2 GLJ4Jdm4ilXDztZ2ULqNveZUWaIcg/zVepW17m7CcMxSUNDyx63ogG3+DH8755n9cwIEWcyQ/ LUvsqTa+fjLseexsA309/KtS4gsAblLbf7Z4z1uYl2eW3fgsjZMUX9FDr51cqDTtfRsAAyfXG eSX384kL2mMRTM+IROHzRxrOo5h9q7NwRzML5IBGgetlVADD2Qynkr/aMSfL8Iso4B5Fec89w GCKpdOlJ2jVc3F+22SPFr4/2393SVR/0SVT7oz3nHr/QP75jilUMnVop2C2KZp4jzyxybU4h7 iwkkrFRw+Srl8lFtGIwag0YUBg+FzyM/twsCRul2BoantPC9PGRavy+anLLib21sOjGJDk8fj 6z5Gk3an3LxZ69nZZZtk2CSms7dS0+t1+l+qfziCEAipUz1Y9ZhKBZ2hCLupDQHamaESgRSEp s6yyV0d/76QKGJolDcbrdxt4WfvKKXRdc+P22CG/a0MCxhi1w2cwRXIW5XgpSqUjFLjg= 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:105052 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. > > That's probably because your monitor is larger than my laptop's. > >> So what did you do to accomplish that resize? > > Try doing (set-face-attribute 'default nil :height 290) That's no recipe, at least not with emacs -Q. With emacs -Q this just makes my frame much larger than my display. Please try to give me a recipe with emacs -Q. Something's at work here which I don't understand yet. > If the frame is large enough to fit two windows side-by-side, then the > help buffer will always be created in a new window to the right. This contradicts your scenario where you say that the help buffer reuses an already existing window. > However, if the font size is large enough that two windows do NOT fit > side by side in the frame, then the window is created below. In this > scenario, you get the behavior I described (i.e., if there's already a > window below the current one, it is reused by the help buffer and it > is expanded if necessary). It's just that I don't know _why_ a reused window would be expanded. Can you point me to where in the code this expansion takes place? martin