From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 05:03:36 2015 Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 09:03:36 +0000 Received: from localhost ([127.0.0.1]:54972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHTSa-0003sV-0y for submit@debbugs.gnu.org; Tue, 21 Jul 2015 05:03:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34272) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHTSX-0003sC-NM for submit@debbugs.gnu.org; Tue, 21 Jul 2015 05:03:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHTSR-0004oy-QG for submit@debbugs.gnu.org; Tue, 21 Jul 2015 05:03:28 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHTSR-0004ou-NL for submit@debbugs.gnu.org; Tue, 21 Jul 2015 05:03:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHTSQ-0006SE-Lb for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 05:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHTSK-0004lB-Oe for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 05:03:26 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:34204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHTSK-0004ky-Gh for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 05:03:20 -0400 Received: by lbbzr7 with SMTP id zr7so111362734lbb.1 for ; Tue, 21 Jul 2015 02:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type; bh=PtnKbUuc4cRVEWpofMsjuSe89/lx7bw2+yM5w5Xpm4w=; b=tvyv4bVvuABoaMP5K2NTcCZ+8/Yn2YT+4TfMjKhSuDTJgvUl2DfOLVHSaOzqharaLo WK7U/VYcDzNkR0SDh1ZwjJxe2GGOqrQOWb72HSc8D/2sD2TA93kjTkxyuehDG9eEbnZC wqUQ1ucwX2zqFfwSpd6c640Bnmpf9CyvkcT61bXnOaCOw4W4r+twEiqKqGpoVkC9/kwa Z85CK3SvB1qO10HUzn3bIEWxNkaWixdOH0JYk/883L4ccwjMG3Fo7C3bS6dU8YgrSunq JLOw5zBbBTv0HCCYLMR3tE5B2BGlQscbvE+mtZAu+XcdJ+H3WYZNmcXDgTM/PZ1TNDKY WVKg== MIME-Version: 1.0 X-Received: by 10.152.26.163 with SMTP id m3mr31995836lag.86.1437469399695; Tue, 21 Jul 2015 02:03:19 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Tue, 21 Jul 2015 02:03:19 -0700 (PDT) Date: Tue, 21 Jul 2015 10:03:19 +0100 X-Google-Sender-Auth: vDWaLDb2xWK3jJ0y9IQ9pGaCOfA Message-ID: Subject: 25.0.50; quit-restore-window should also retore width, not just height From: Artur Malabarba To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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. 5. Hit q in the help buffer. 6. The height of the bottom window is retored. 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, but it is not restored on quit. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 07:07:30 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 11:07:30 +0000 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 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 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 Message-ID: <55AE27E7.6030505@gmx.at> Date: Tue, 21 Jul 2015 13:07:19 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com, 21100@debbugs.gnu.org Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21100 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 08:31:42 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 12:31:42 +0000 Received: from localhost ([127.0.0.1]:55072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWhx-0001nE-95 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 08:31:41 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:36466) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHWhv-0001mw-5L for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 08:31:39 -0400 Received: by lagw2 with SMTP id w2so116565869lag.3 for <21100@debbugs.gnu.org>; Tue, 21 Jul 2015 05:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tja6SZQ6JGm36+zwUe/+1h0Co3w0qty/uJPCkNWKmlw=; b=DIARW4Qhm86sruEYcpaDmhDJxoQhtSiC8P0Z5NErCR++bIca78kNqR04BUJvaWLhVC NWKMYVP0ULAkZyUnhB0vykQRmT41R+1pqVlRK0i43HJG/absM4jOSlYBN2Xrbq9o4gwO eyUIIsiOW9TgZv1oZETO5eQFrMd0hhOGKYqjqWwJI3rGqWtp7mwLLDcjYojVQ7ceQkOe jyhfYiWV9EQGZoYT3Jmy2PN0E2ETfnp7w1UlEs+BOfKRXgsQEh+GzVuIcKSGuxXAH7bs VN8K+zsm10358+V+DQ2iKEz4yDiqdirbB9EtcmKTYZ8MJ5NexuHbKh9LUi8rkWnkePVZ 53Zg== MIME-Version: 1.0 X-Received: by 10.112.25.69 with SMTP id a5mr32210655lbg.16.1437481893020; Tue, 21 Jul 2015 05:31:33 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Tue, 21 Jul 2015 05:31:32 -0700 (PDT) In-Reply-To: <55AE27E7.6030505@gmx.at> References: <55AE27E7.6030505@gmx.at> Date: Tue, 21 Jul 2015 13:31:32 +0100 X-Google-Sender-Auth: 5QXDX6jMbUzYut2AkR4q8QWXtUc Message-ID: Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-07-21 12:07 GMT+01:00 martin rudalics : >> 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) 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. 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). From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 08:47:25 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 12:47:25 +0000 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 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 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 Message-ID: <55AE3F51.7030204@gmx.at> Date: Tue, 21 Jul 2015 14:47:13 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: <55AE27E7.6030505@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>> 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 09:33:08 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 13:33:08 +0000 Received: from localhost ([127.0.0.1]:55095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHXfP-0003CD-6E for submit@debbugs.gnu.org; Tue, 21 Jul 2015 09:33:07 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHXfJ-0003Bo-6Q for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 09:33:02 -0400 Received: by lagw2 with SMTP id w2so117769414lag.3 for <21100@debbugs.gnu.org>; Tue, 21 Jul 2015 06:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=g02kUMk+7ZqV4vlz4ddiOfY/F34r6arpyro3P+3/MiY=; b=Bqqgrb9ho6eWZGVU39yvoC/iqgE36wphUaXjNm06LaSliwWXUB/B0ll1+mjjDO9eJe 4fKtpbIKcPMSjdTv2lYVZMGqtqnKn1gBKrYzLOpWfeWDhK4VtpzPYWiOerNNEhVC0qP4 oPOwbbTHWset91QqPgOokW921YchAb1P6pynQxSnFgxYv2oaGYS153YQ5ROlgZzPzBUt ueMR7YYYZ+SxDdd5fXcvDudLi+2Z+HfUPJ83eFqBk8ygo1gpGkR2a8HYSLSi0FJzZWXv 3fFK0sz9GJjprLwadUzNYQcBbZ0A5zs3Geen/NlmdrzEDstfqukVXczdLllDrpYtzfaK EN7A== MIME-Version: 1.0 X-Received: by 10.152.19.67 with SMTP id c3mr33082522lae.4.1437485574914; Tue, 21 Jul 2015 06:32:54 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Tue, 21 Jul 2015 06:32:54 -0700 (PDT) In-Reply-To: <55AE3F51.7030204@gmx.at> References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> Date: Tue, 21 Jul 2015 14:32:54 +0100 X-Google-Sender-Auth: boV0X_d5lMl4xiWKKElyDbn_Kek Message-ID: Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>> 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. This was from emacs -Q. On my machine (running Ubuntu), with a maximized frame, increasing the font-size doesn't make the frame larger. Maybe it's a difference in the OS (I think on Windows if you increase font-size the frame does get enlarged). The point is that the combination of font-size and frame-size has to be such that two windows do not fit side-by-side. In this situation, Emacs usually creates temp windows below the current window (instead of to the right). Here's a new recipe to verify what I'm explaining now. 0. Start emacs -Q 1. Resize the frame so that it is less than 30 columns wide, and at least 30 lines tall. 2. Type `C-h f point RET'. 3. The temp window is created below. Now here is an updated recipe for the original behavior I was describing (the fact that windows are vertically expanded to fit the help buffer). 0. Start emacs -Q 1. Resize the frame so that it is less than 30 columns wide, and at least 30 lines tall. 2. Type `C-- C-5 C-x C-2', to create a tiny window below. 2. Type `C-h f point RET'. 3. The temp buffer is displayed in the window you had created, and the windows size is increased to half the frame. 4. If you hit q on that help window, it will return to the original height of 5 lines. >> 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. This sentence was part of the explanation leading up to the next one. The next sentence is the one that describes the behavior I get. Sorry if I wasn't clear. >> 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? Some edebugging shows me it is done by `display-buffer-use-some-window', and indeed I see a `window-resize' in there. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 13:04:21 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 17:04:21 +0000 Received: from localhost ([127.0.0.1]:55625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHaxp-0008GX-6C for submit@debbugs.gnu.org; Tue, 21 Jul 2015 13:04:21 -0400 Received: from mout.gmx.net ([212.227.17.22]:55577) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHaxm-0008GK-VK for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 13:04:19 -0400 Received: from [62.46.215.113] ([62.46.215.113]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LbyUS-1YYbZg2irk-00jHuu; Tue, 21 Jul 2015 19:04:12 +0200 Message-ID: <55AE7B88.2070402@gmx.at> Date: Tue, 21 Jul 2015 19:04:08 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Jf4rHL3olJW225DegMb9Mcavek3vdY5itsPtOHaX7C5SvMSTR5J NOyiRzhwcxo+RnIIgglwIZhPfpskUahSrgU8CFfbuANWHLmLYi4zs9wBeZRW0ul+cjsK5g6 bgU96aYAjqE+phOguN4oCzDwA1/F1Tz4L2P1gT8nrWXXF/NwRWQBuXf+Bevu51anhMeMbsn cY8LNRkmZMhch+E+q/SyA== X-UI-Out-Filterresults: notjunk:1;V01:K0:l9lkIIu26aI=:nFV5p1pqDiJwHAM3inrqOY pjdp6DBxCz6KUz30ORWRd8X7fkiMy5bwMVsJ12kMFZyI7EfzySj92QpqHwepbknjKj/00Tm/0 jjgcQvVlIiqA7vUDvFtotx2y+aDLFOgfkium+zcJIwpiHPsR+KOfPpr432IcgwLxtvatz+wQO sQKT7pQlNKq4b/f4Jr8Pt3oWkipOFGNH+Y+ZmEBMrb8Osepzr0tEa4Dhu8Fqw87PKeBRyeH1Y 71A/deY2/yWmI96B7o68GbAGQ4ARkPdRmFaKmIzu14fyEMd7tA7m/B8qrM40+C0MNchbnqe3D Qzh0ypiE/Y+SGs6+Y00IPrLAzFh8nrzpZQA1W8IBxzxTdX1/JuASPN199VVsUh87H1jQ5kkOZ oGpzRYOgvS/HY+qZwyok0zCfLLn/lXIsGoMjZ5FvS7TVFAJQy3Yw3nvaN4DDkSp8yLsqlaims ZRpag6ZTHpLve0A5oBF6mI8E8dky8BTK6/5sxYDi8jM73/PWitVLp8ubg0BVH0xNwEwvbwz6s ZJ5IFehgF97UUSgd6ike7A8ZDIu8Pq8tqhVMJG3zPHd71R5hBA8H56GmJiJfLIyizoCtD0oWk KhieGkTHntu8UpvjDu1RJEbIruwy+o/Vlrzzu8A3Ihd8f9w2RcNYtZUozGADS55xYetLh74KP 4bGt0Rexmh23OMIQgHJ8qOzVn6ZhBfLBUWCv6MwpZReeOZtKYl1xeojfK/CXfnC9JypA= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > This was from emacs -Q. On my machine (running Ubuntu), with a > maximized frame, emacs -Q doesn't start in a maximized frame. > increasing the font-size doesn't make the frame > larger. Maybe it's a difference in the OS (I think on Windows if you > increase font-size the frame does get enlarged). Not if it's maximized. I spent some time on the code handling that. > The point is that the combination of font-size and frame-size has to > be such that two windows do not fit side-by-side. In this situation, > Emacs usually creates temp windows below the current window (instead > of to the right). I have no problem resizing my frame so it makes either a new window on the bottom or on the right. The problem is that you are talking about _reusing_ a window on the bottom or the right. > Here's a new recipe to verify what I'm explaining > now. > > 0. Start emacs -Q > 1. Resize the frame so that it is less than 30 columns wide, and at > least 30 lines tall. > 2. Type `C-h f point RET'. > 3. The temp window is created below. > > Now here is an updated recipe for the original behavior I was > describing (the fact that windows are vertically expanded to fit the > help buffer). > > 0. Start emacs -Q > 1. Resize the frame so that it is less than 30 columns wide, and at > least 30 lines tall. > 2. Type `C-- C-5 C-x C-2', to create a tiny window below. > 2. Type `C-h f point RET'. > 3. The temp buffer is displayed in the window you had created, and the > windows size is increased to half the frame. Now I understand. This resizing is due to `even-window-heights' being non-nil by default. If you set that to nil, no resizing is done. Also, with more than two windows, you get no resizing either. This is a very old option, introduced some time before automatic side-by-side splitting was introduced. > 4. If you hit q on that help window, it will return to the original > height of 5 lines. Funny. I never even tested that. >> 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? > > Some edebugging shows me it is done by > `display-buffer-use-some-window', and indeed I see a `window-resize' > in there. The re-resizing should occur in `quit-restore-window' on this line: (window-resize window (- (nth 3 quad) (window-total-height window))) Please check. So what you probably want is a new option `even-window-widths' (or maybe `even-window-sizes') which, if non-nil, does for side-by-side splits the same thing `even-window-heights' does for a below split. And, obviously, `quit-restore-window' should be able to size it back (I have written this part already). Suggestions welcome. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 17:33:46 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 21:33:46 +0000 Received: from localhost ([127.0.0.1]:55717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHfAY-00066t-BE for submit@debbugs.gnu.org; Tue, 21 Jul 2015 17:33:46 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:34934) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHfAW-00066g-Ca for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 17:33:45 -0400 Received: by lahh5 with SMTP id h5so126325216lah.2 for <21100@debbugs.gnu.org>; Tue, 21 Jul 2015 14:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=WaS1xi7cdoQsLAYqNhu1pSTqTdJSNOj8QY+YKM1B2EI=; b=WVFsMVvtARjCzM92/5GbZpA4Ct8AZj5oIiBRohf9SfSIldPUwppYcT1+U6AzwFoSlz xEcrp2JsbjHFlDAIrjktbQsSQds/YCsJV5LMH0Ah+wd4Ke8qr1YovI9Z6l4oZAvT1LDu TMpeNZ4Ua/5/vUEqWbWTGEU8f9Yi7E/hvW1PfRLc0QiPA7ce9ORKhJlBpICaDbAihi1M 8bpKTgEbY5O1lRq3gm6/BH/lQL744dao2qeHWykhPRCiE0uzpn8mUPkY3LVnK0yfsHd1 O9+/LD+3mtThO+wnmSmWMA6STofdfr+trKYI3LKD+bQrE2kBU5jorpEqEUCt+vYulMYD Gcdw== MIME-Version: 1.0 X-Received: by 10.153.7.137 with SMTP id dc9mr26727315lad.16.1437514418384; Tue, 21 Jul 2015 14:33:38 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Tue, 21 Jul 2015 14:33:38 -0700 (PDT) In-Reply-To: <55AE7B88.2070402@gmx.at> References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> <55AE7B88.2070402@gmx.at> Date: Tue, 21 Jul 2015 22:33:38 +0100 X-Google-Sender-Auth: DssnoB0EIlcFI0lszzKkI_GOjS0 Message-ID: Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > The re-resizing should occur in `quit-restore-window' on this line: > > (window-resize window (- (nth 3 quad) (window-total-height > window))) > > Please check. Yes, it does. > So what you probably want is a new option `even-window-widths' (or maybe > `even-window-sizes') which, if non-nil, does for side-by-side splits the > same thing `even-window-heights' does for a below split. I have nothing against a new option, but that's not what I'm asking for. I'm fine with the current behavior (which is to even the width). > And, obviously, `quit-restore-window' should be able to size it back Yes, this is what I would like. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 18:48:55 2015 Received: (at 21100) by debbugs.gnu.org; 21 Jul 2015 22:48:55 +0000 Received: from localhost ([127.0.0.1]:55746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgLG-0007lR-C8 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 18:48:54 -0400 Received: from mout.gmx.net ([212.227.17.21]:52609) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgLE-0007lE-Bm for 21100@debbugs.gnu.org; Tue, 21 Jul 2015 18:48:52 -0400 Received: from [188.22.105.205] ([188.22.105.205]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MOjMY-1ZKRlQ04Os-0063FY; Wed, 22 Jul 2015 00:48:46 +0200 Message-ID: <55AECC49.3020208@gmx.at> Date: Wed, 22 Jul 2015 00:48:41 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> <55AE7B88.2070402@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:WRg4zLDHzO694WVpmPHl9LyYpz3bqd63dy2W121WnU4GkdHv5Lu Qr1GB3Bf94t+F69dv0ScO42hnVIE6Cy/Mt2sQvjjzkyKexkezxCUXwMFs3iVNsgcDLzF7Nv Ym5gAkQsFN2u0AVOxsVMTOA2FvvClZAiNPy872yINoGyu9MmQNIzPiPdu0pjCz2XyvCfcjI lBjAGAO+qf8w2jm85u34w== X-UI-Out-Filterresults: notjunk:1;V01:K0:j3hHIz2WfaQ=:As0be74cW9K1uR2uawkPlx 8a4aj7Iijp9MF+heZXPwQ9Pi1pIqSg8Uzl9TBt7Sxhnk0/16GhIkT/gY9MmW0FXrhoU1xyFV1 dpU506yIlhi/2I6/7ox9FiEslGh2FrdhfwGinzDmfx+1pjitf5gsu/erPo6y1bmhblNTPsIaa cOOLSh3FqWxPz2kmUQrnr+aXxVdDC3lHjlRYtumB3YptfUPVQTsv4njII5v3POSHiB4ssS/QM jucjeaz25ncjNT8jtHIfUi6cw+w369GlmepVkzjiExprb2TkDROsgOPsZkQD132pZ4mu5GG6s G/xllbkGOzunW3+DJ5/7RFJhW+pIR4uROKqaAZSOwuQsG/96DpbZkUSKxO1NHjakXcqptIZP6 GIhKivTV8tgj1GFPclRv8tZUzyCJi12RGAz+TzqtmFaz72QYMVm/wArn366SsJM2F+AjOZoIH 4lz0TT6MS5GA6KxHA2PFjn9zBGpgdQrrP/cdOxQdnueAlYiDGfDRKXXTPxDRSRAWUqeT6vsBv BCMOcRcsGknJH/lFFIvQ6mRYTUNmzMFQGHF9c0ILlqPBHWdcEvaE2/WS+UMw8UuXLDNyfhFCR zYXuvBzREOeDE/kF9nB/E1D10Ud7qTDjDcmW4rwPEcEnxQmgrDxurh8aOXQzg9B0UogzueeDd aFS4EoP3VJsBVsdw2M3nCGymuS/GKOzypnhCWVXhKd5bLSOHijFQrfWlcM41MGPtAvuY= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > I have nothing against a new option, but that's not what I'm asking > for. I'm fine with the current behavior (which is to even the width). You're fine with a fata morgana ;-) But if you insist: Please tell me which function does even the widths. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 22 06:38:04 2015 Received: (at 21100) by debbugs.gnu.org; 22 Jul 2015 10:38:04 +0000 Received: from localhost ([127.0.0.1]:56106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHrPX-0000LW-Am for submit@debbugs.gnu.org; Wed, 22 Jul 2015 06:38:03 -0400 Received: from mout.gmx.net ([212.227.17.21]:50929) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHrPV-0000L2-Ip for 21100@debbugs.gnu.org; Wed, 22 Jul 2015 06:38:02 -0400 Received: from [178.191.138.153] ([178.191.138.153]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M4GND-1YzVJI2871-00rmLW; Wed, 22 Jul 2015 12:37:55 +0200 Message-ID: <55AF727F.2080407@gmx.at> Date: Wed, 22 Jul 2015 12:37:51 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> <55AE7B88.2070402@gmx.at> In-Reply-To: <55AE7B88.2070402@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:drhk6ogi29+H9aQM4GKXvI/JT2AGq1pNFleaXDS6APaBCwOY/DC Bn89e4qHZ/iN7qN6YH1Lq37352cqTotpxSqFNWsWsVn7p0GARmUF37ZiTmRmrgnFm3q4xFV GEcVROA3I2DlQ9UtpYy2QU/1sxpSpnVWKvtIWxaf10z6XfqgL+vl46ocHiV41DAf6e0ax2V gTvTEIsnMmwCcdBGPpRYQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Y3FJ6YvFPXc=:AbLdV1n3Nq51B1mo0w2NBw f8NYzW8GF0tyiquSfe3NKEm51Quq6ox//urrLjontj/2bP3laBpoFj7EjMWAmJXx3Q/FubdPy X3c/ZlPxxM8CGATyqZu0r4TqnOHMA7QxXl+8fzPEdrt7Je5hFG0wUTSkpAdhs5FpgUu8hIx7l UDDb/UK3SK9S8AfJ25PaNEscSPUsdcbKHUdN+uFjlHL9eAHJJDYnoniFngOUq5wyZ1Aq1aXzz tu5jTLVlramlgRzaYy1Qnt6m2LwcyWLc8r3+tSejU0ieXN2XZ0Azj2X2BNJ/EsEujwQwPNVKr tRRXcs9iBweEMtWcRU9enKB4N7PEO7w0HsJ/eOKGM+UnUxfPXjBe9ogzUsOEMdGKyFSPL7a0O MJ7SbHPTzNFU4hqawl0ivyeipMUNSzUFYkJ4qm117HzrV/Ofv+gIqYfU4uY/J/wV4/38oYayU 94EZP1lUxrQT5817M2xDT9UyS1zP4cSGHHu6lS3H6kCRJinR9TuHJWK1KRUw1kJAxzL8rtQnY 5ZjZU9G2UYHItbZpQMXt2HusHLBiIXMeq4mShRiqNkZCKsw6uj5Vr0FrJZyiimgqNSE+LCGqp A+GHFerGgantg3bO0Dzq27IKp1XSg4DlQtxe3H8s7lBwrMH/zLW/SfFJmaT0END5FhueWeEsl 1BYEGtxsKN2INxHbH8L2YdsSModqwiGmkORH97nBap/Stqj6rdWQp1egNDJio8w+IApQ= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > So what you probably want is a new option `even-window-widths' (or maybe > `even-window-sizes') which, if non-nil, does for side-by-side splits the > same thing `even-window-heights' does for a below split. And, > obviously, `quit-restore-window' should be able to size it back (I have > written this part already). I renamed `even-window-heights' to `even-window-sizes'. The behavior should be now as you requested. Please have a look. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 22 08:34:05 2015 Received: (at 21100) by debbugs.gnu.org; 22 Jul 2015 12:34:05 +0000 Received: from localhost ([127.0.0.1]:56137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHtDo-0004ed-QD for submit@debbugs.gnu.org; Wed, 22 Jul 2015 08:34:05 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:33947) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHtDm-0004e7-0J for 21100@debbugs.gnu.org; Wed, 22 Jul 2015 08:34:02 -0400 Received: by lahe2 with SMTP id e2so74575075lah.1 for <21100@debbugs.gnu.org>; Wed, 22 Jul 2015 05:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Zx31uGJwtur5H3IW6omTe/YaV3QEwHvRxvGsygM+NCQ=; b=f/7ALdyjAQ/Jy6Pr01lNQlMVQgJM9VmBQIVEPqHUTAX/lWdggs0kZezVbAW2/dH1LX f+fuP3XIUPJTJZCUt0qi42wBCXviE4dLO7X86kx7u+JIa+W6ExEZTuE1D8WmEz7PTTEn 80jSufQ0mCQ+wN9s6o9rCmLPPiEFoJHtAeDvtdBsyi/WqEz9GpGtTJ/i5Ij266SvNQWX 5AugFv+sERpJGOpT7DT5V88tLYb02PJCKEihmBCttjSMsDy//xGdXEq3EGX+8LzOUIxn DNAKa8oJ30IClsTG+blPKwFILP8+oGaHsJqCYrSc15W3sXfJmwLnLmrk9bJSXnrgbwAf iDWw== MIME-Version: 1.0 X-Received: by 10.152.18.162 with SMTP id x2mr2133409lad.73.1437568436187; Wed, 22 Jul 2015 05:33:56 -0700 (PDT) Received: by 10.25.134.139 with HTTP; Wed, 22 Jul 2015 05:33:56 -0700 (PDT) In-Reply-To: <55AF727F.2080407@gmx.at> References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> <55AE7B88.2070402@gmx.at> <55AF727F.2080407@gmx.at> Date: Wed, 22 Jul 2015 13:33:56 +0100 X-Google-Sender-Auth: kAPMPYGUXREFj307NdVwSWOtpA0 Message-ID: Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100 Cc: 21100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-07-22 11:37 GMT+01:00 martin rudalics : >> So what you probably want is a new option `even-window-widths' (or maybe >> `even-window-sizes') which, if non-nil, does for side-by-side splits the >> same thing `even-window-heights' does for a below split. And, >> obviously, `quit-restore-window' should be able to size it back (I have >> written this part already). > > I renamed `even-window-heights' to `even-window-sizes'. The behavior > should be now as you requested. Please have a look. Looks perfect! Thank you, Martin! From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 04:17:03 2015 Received: (at 21100-done) by debbugs.gnu.org; 24 Aug 2015 08:17:03 +0000 Received: from localhost ([127.0.0.1]:36465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTmwB-0004iN-20 for submit@debbugs.gnu.org; Mon, 24 Aug 2015 04:17:03 -0400 Received: from mout.gmx.net ([212.227.15.19]:60526) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTmw8-0004hy-QV for 21100-done@debbugs.gnu.org; Mon, 24 Aug 2015 04:17:01 -0400 Received: from [62.47.255.61] ([62.47.255.61]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MRoRF-1ZJ2TF0qhl-00T0Nk; Mon, 24 Aug 2015 10:17:00 +0200 Message-ID: <55DAD2FB.40303@gmx.at> Date: Mon, 24 Aug 2015 10:16:59 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21100: 25.0.50; quit-restore-window should also retore width, not just height References: <55AE27E7.6030505@gmx.at> <55AE3F51.7030204@gmx.at> <55AE7B88.2070402@gmx.at> <55AF727F.2080407@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8lyPDzDEziTW+EGwUDbexgbOMImdlENvp1nqDPV97LrEoF/LdbE kFOCI87TJ00gw/fjaLakhiBhiz+KdYmjRjXrYyJq0FqrcAYGLmsANvRvZywSYnfg0tVkUWS mnYm6CgPCtq7zxRzxVynNepbvoEgsIwrHApuYl3eDTeYGgN59RryPmyvgfCndHUH0YaigL8 ZSOf+438JwiyJlz4Zpyrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ntODRq+avBs=:gOMeLcdRK2HQ9Scy8U64k0 E54S7zUEt88FpBzBV7VHxsGhYEtlWr5e6XATOGIixB2Fzc4jsaW/NkrvKLAy+cg1CWyQE54Jx OcbYjyROy25rT/DJkNWKh9Ea+WvWRMLizflwBKMkTSDXlscsHaEOhDEX5A0rwWz5Y79sX+WKE rXy4rNZMZqM7X9LBs5AdvkEvvlzTzcoQBa9C1EozKIP1UNZIqfx8btWSLGgGZKaXYmICW+mhg uEcS4T93LIJebkINwGuu8ySBFBSdIWo0dUEKEy+us+3oZM0ezfT2tKjvztRPEuKKYnQ8NIQee zaio/Ar3OuimSD6fX8LG/obCiFEheIs2ON3UuSdcd8s37HaYAr/GVx7PdarfkeCl3U0GRBekb ejOgpQojgv8IMhYTk8dZZt3qOvGmiPL9FIivDj+qLh5//Bcjctw44yCeX1T2iZoCB0bYDkQwI EqoHr4xPg6B/3MiMGHc6fFE+PUTR3vI5r76MfAJe9i+887191pzZb+rNnruDPli1SD0E5kEPX GNqKSSavtj0ZwOpxirCO0wES8l46VsiRvjBSYZ941K0OTRO6aVzbPXN1kfclaKcOQ/Lz3qaAm UlZzc4ZwhhKppQKAAjZeBeu0Ov3RLHLBrONZjttXgzZ/JfqI27E6cdRLnSz3AASk2etpm3YKM 2ghisV9BYvh/JRF5tj0taYWwdphhSeG4+rxPxdQUTaowpH4ePMDgnKl8T8ATSUnBRfcnNknU8 yeXpdUTQbTN4Ut6/vlP0W/u7cjsdSokNDopwMA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21100-done Cc: 21100-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> I renamed `even-window-heights' to `even-window-sizes'. The behavior >> should be now as you requested. Please have a look. > > Looks perfect! Thank you, Martin! Closing this bug. If there are still issues, feel free to reopen it. Thanks for the report and the additional information, martin From unknown Mon Aug 18 04:47:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Sep 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator