From unknown Tue Jun 17 01:48:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22723: 25.0.91; temp-buffer-resize-mode disables shrink-window Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Feb 2016 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22723@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.14557383844766 (code B ref -1); Wed, 17 Feb 2016 19:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2016 19:46:24 +0000 Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW83M-0001Eo-3l for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56928) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW83K-0001Ec-PT for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW83C-00046X-JJ for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:17 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW83C-00046T-Fz for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW836-0007h0-JV for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW833-00045X-CN for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:08 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW833-00045T-8a for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:05 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4856 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aW832-0000WG-Lz for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:05 -0500 Date: Wed, 17 Feb 2016 21:46:18 +0200 Message-Id: <83io1nunlh.fsf@gnu.org> From: Eli Zaretskii MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) To reproduce: emacs -Q M-x temp-buffer-resize-mode RET C-h f shrink-window RET M-x shrink-window RET Result: nothing happens. I realize that this is the result of temp-buffer-resize-mode taking control on the dimensions of the *Help* window, but for me this is an unintended consequence: I did want *Help* buffer resize itself when it displays a new topic, but I certainly didn't expect to lose the ability to resize my other windows. Moreover, doing nothing silently, without any error message, sounds sub-optimal UI to me. ("Fixing" this is easy: just switch to the window displaying *Help* and invoke shrink-window or enlarge-window from there -- from that moment on the resizing commands will work from other windows as well.) If the issue is not some unintended bug, then how about overriding this behavior when the commands are invoked interactively? Failing even that, can we at least have a prefix argument to override that explicitly? Thanks. In GNU Emacs 25.0.91.18 (i686-pc-mingw32) of 2016-02-17 built on HOME-C4E4A596F7 Repository revision: 2abcb06cab03cf9040348146fcc0e3e93ae24a58 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Temp-Buffer-Resize mode enabled Type C-x 1 to delete the help window. Scanning for dabbrevs...done user-error: No dynamic expansion for ‘temp-buf’ found Load-path shadows: None found. Features: (shadow sort mail-extr dabbrev emacsbug message dired format-spec rfc822 mml mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra help-fns help-mode easymenu cl-loaddefs pcase cl-lib cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 100797 6501) (symbols 56 21615 0) (miscs 48 40 107) (strings 16 19377 5571) (string-bytes 1 468866) (vectors 16 12474) (vector-slots 8 423274 4208) (floats 8 170 84) (intervals 40 290 143) (buffers 856 12)) From unknown Tue Jun 17 01:48:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22723: 25.0.91; temp-buffer-resize-mode disables shrink-window Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , 22723@debbugs.gnu.org Received: via spool by 22723-submit@debbugs.gnu.org id=B22723.145579272314022 (code B ref 22723); Thu, 18 Feb 2016 10:53:01 +0000 Received: (at 22723) by debbugs.gnu.org; 18 Feb 2016 10:52:03 +0000 Received: from localhost ([127.0.0.1]:60218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWMBn-0003e6-N5 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 05:52:03 -0500 Received: from mout.gmx.net ([212.227.17.21]:59274) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWMBm-0003dM-Lc for 22723@debbugs.gnu.org; Thu, 18 Feb 2016 05:52:03 -0500 Received: from [192.168.1.101] ([212.95.7.107]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LuP19-1ZnR2x1oD1-011mVC; Thu, 18 Feb 2016 11:51:56 +0100 Message-ID: <56C5A241.6060804@gmx.at> Date: Thu, 18 Feb 2016 11:51:45 +0100 From: martin rudalics MIME-Version: 1.0 References: <83io1nunlh.fsf@gnu.org> In-Reply-To: <83io1nunlh.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:/vMSh8l9+D5eLogCV6Uidt0yG2VV7CNjyKcCammCMcTNuhD+Hkp IiQKZOIC7XkbPEybJTHVNVZuNLDciStfpICSdZYyjhtby2NC8ukpm+w5Tg4TQOj5b9Kruof RpQ6hrxddzbGe/f7bpnW3+Uc3bCHIxD087NykNwqcViTwRTQs3b+SSXDZaqcl3qFen5bVLJ kMXj0KAasmu9Tvfege4CQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:dWcZtvQp+L0=:2RqNI/6chQi+uDg49ZAGrK lPhhHFCwDD1rYO5NZ2XLcKT1voyPUP9ykAQOngOgqaJheF9e2dQzJTc+Z0uitPzfhQaSVmYgX D3vH0sTTEiT83JCnqlADHAGycc6Pe17Ew/ptGle1uDUF88fTzzxUymwBF2TmV6VJIM9wui7sw tD5peuidxugP39a767xXg73ptMzcQ4nK3+zpVfDVb9SmJnCYD0V4nKCRks0f1gMDGV7zReDwS aiVRff3QPdkTDQF1QCLxcSEslneTdOJq1SjoNfo77CdFI5EaYIE7RttkiPNv0nhpagwgxDLXA DE+HXqY2Y+VlkLQOsOGP8PD1mLUee0MV1+XbhiV509E+EnQLbn71j/nB2qelElHjQXgHa+K8k VwMOPcVl1iApU+XZHBVL+7MR/w+2EObX4lANLEN5Nppj/u0s8PlqwpnitqMRtfCER/servcgl peEgiCt9nIoXMcjUJEvx6se+/gMp5FoNcut/11szORWSL2+5vROudS1qa8f7xHx1WI+Y23FN+ haKjei2JYC9MbCTDFvOprtHObYGiK18i3vWq4EPL8MRbQxwVPs+hMC3KOzPkCaSPC2Mec+76A JSLJtRSbOPmPo7a0UUh/CNn5ITBvLfIpDEmLZk/pD8n1Lynn9OB8kdpGR6QXIHgztti8x2HFt 2BM5afioHdFmfc9A0kHtcWutkdySPtwnc19ncDAZ8ejhrxQGQUR2uil0/rSH2hqV/8Tl/++hM sQ5SU21B3PFSypPud3i610L0n6EAHuEpDltStE1y1ec8ojxSO8ey8Vk75aipAO8wtPH/QMVL0 OJ2nh0Tzvepu3evjBLwcr2LYYMYAQ== X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.1 (/) > To reproduce: > > emacs -Q > M-x temp-buffer-resize-mode RET > C-h f shrink-window RET > M-x shrink-window RET > > Result: nothing happens. > > I realize that this is the result of temp-buffer-resize-mode taking > control on the dimensions of the *Help* window, but for me this is an > unintended consequence: I did want *Help* buffer resize itself when it= > displays a new topic, but I certainly didn't expect to lose the > ability to resize my other windows. Moreover, doing nothing silently,= > without any error message, sounds sub-optimal UI to me. > > ("Fixing" this is easy: just switch to the window displaying *Help* > and invoke shrink-window or enlarge-window from there -- from that > moment on the resizing commands will work from other windows as well.)= > > If the issue is not some unintended bug, then how about overriding > this behavior when the commands are invoked interactively? Failing > even that, can we at least have a prefix argument to override that > explicitly? Some time ago I changed the behavior of =E2=80=98enlarge-window=E2=80=99 = and =E2=80=98shrink-window=E2=80=99 to not report an error when the window co= uld not be resized as requested but to resize the window as much as allowed instead. This was not a very good idea because according to the Emacs manual these functions _are_ supposed to report an error in the described case. I hopefully fixed that now. The =E2=80=98temp-buffer-resize-mode=E2=80=99 bug you report here is just= an indirect consequence of that earlier bug. This issue should now have been fixed as well. Please have a look. I also fixed a bug with =E2=80=98adjust-window-trailing-edge=E2=80=99 cau= sing it to not report an error when there was no resizable window below (or on the right) of the edge to adjust. Please check this as well. Thanks, martin From unknown Tue Jun 17 01:48:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eli Zaretskii Subject: bug#22723: closed (Re: bug#22723: 25.0.91; temp-buffer-resize-mode disables shrink-window) Message-ID: References: <8360xksyib.fsf@gnu.org> <83io1nunlh.fsf@gnu.org> X-Gnu-PR-Message: they-closed 22723 X-Gnu-PR-Package: emacs Reply-To: 22723@debbugs.gnu.org Date: Fri, 19 Feb 2016 11:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1455883142-18238-1" This is a multi-part message in MIME format... ------------=_1455883142-18238-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22723: 25.0.91; temp-buffer-resize-mode disables shrink-window which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22723@debbugs.gnu.org. --=20 22723: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22723 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1455883142-18238-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22723-done) by debbugs.gnu.org; 19 Feb 2016 11:58:24 +0000 Received: from localhost ([127.0.0.1]:33549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWjhX-0004jJ-Jc for submit@debbugs.gnu.org; Fri, 19 Feb 2016 06:58:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40888) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWjhV-0004j5-SJ for 22723-done@debbugs.gnu.org; Fri, 19 Feb 2016 06:58:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWjhM-0002zu-Oo for 22723-done@debbugs.gnu.org; Fri, 19 Feb 2016 06:58:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWjhM-0002zq-Lb; Fri, 19 Feb 2016 06:58:12 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3741 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWjhL-0001uU-24; Fri, 19 Feb 2016 06:58:11 -0500 Date: Fri, 19 Feb 2016 13:58:04 +0200 Message-Id: <8360xksyib.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <56C5A241.6060804@gmx.at> (message from martin rudalics on Thu, 18 Feb 2016 11:51:45 +0100) Subject: Re: bug#22723: 25.0.91; temp-buffer-resize-mode disables shrink-window References: <83io1nunlh.fsf@gnu.org> <56C5A241.6060804@gmx.at> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22723-done Cc: 22723-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Thu, 18 Feb 2016 11:51:45 +0100 > From: martin rudalics > > Some time ago I changed the behavior of ‘enlarge-window’ and > ‘shrink-window’ to not report an error when the window could not be > resized as requested but to resize the window as much as allowed > instead. This was not a very good idea because according to the Emacs > manual these functions _are_ supposed to report an error in the > described case. I hopefully fixed that now. > > The ‘temp-buffer-resize-mode’ bug you report here is just an indirect > consequence of that earlier bug. This issue should now have been fixed > as well. Please have a look. > > I also fixed a bug with ‘adjust-window-trailing-edge’ causing it to not > report an error when there was no resizable window below (or on the > right) of the edge to adjust. Please check this as well. Thanks, both issues seem to be fixed now. I'm closing the bug. ------------=_1455883142-18238-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Feb 2016 19:46:24 +0000 Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW83M-0001Eo-3l for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56928) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW83K-0001Ec-PT for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW83C-00046X-JJ for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:17 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW83C-00046T-Fz for submit@debbugs.gnu.org; Wed, 17 Feb 2016 14:46:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW836-0007h0-JV for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW833-00045X-CN for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:08 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW833-00045T-8a for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:05 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4856 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aW832-0000WG-Lz for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:46:05 -0500 Date: Wed, 17 Feb 2016 21:46:18 +0200 Message-Id: <83io1nunlh.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 25.0.91; temp-buffer-resize-mode disables shrink-window MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) To reproduce: emacs -Q M-x temp-buffer-resize-mode RET C-h f shrink-window RET M-x shrink-window RET Result: nothing happens. I realize that this is the result of temp-buffer-resize-mode taking control on the dimensions of the *Help* window, but for me this is an unintended consequence: I did want *Help* buffer resize itself when it displays a new topic, but I certainly didn't expect to lose the ability to resize my other windows. Moreover, doing nothing silently, without any error message, sounds sub-optimal UI to me. ("Fixing" this is easy: just switch to the window displaying *Help* and invoke shrink-window or enlarge-window from there -- from that moment on the resizing commands will work from other windows as well.) If the issue is not some unintended bug, then how about overriding this behavior when the commands are invoked interactively? Failing even that, can we at least have a prefix argument to override that explicitly? Thanks. In GNU Emacs 25.0.91.18 (i686-pc-mingw32) of 2016-02-17 built on HOME-C4E4A596F7 Repository revision: 2abcb06cab03cf9040348146fcc0e3e93ae24a58 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Temp-Buffer-Resize mode enabled Type C-x 1 to delete the help window. Scanning for dabbrevs...done user-error: No dynamic expansion for ‘temp-buf’ found Load-path shadows: None found. Features: (shadow sort mail-extr dabbrev emacsbug message dired format-spec rfc822 mml mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra help-fns help-mode easymenu cl-loaddefs pcase cl-lib cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 100797 6501) (symbols 56 21615 0) (miscs 48 40 107) (strings 16 19377 5571) (string-bytes 1 468866) (vectors 16 12474) (vector-slots 8 423274 4208) (floats 8 170 84) (intervals 40 290 143) (buffers 856 12)) ------------=_1455883142-18238-1--