From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 01:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11276@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133479746417074 (code B ref -1); Thu, 19 Apr 2012 01:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2012 01:04:24 +0000 Received: from localhost ([127.0.0.1]:40621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKfnM-0004RL-35 for submit@debbugs.gnu.org; Wed, 18 Apr 2012 21:04:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35746 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKfnJ-0004RE-U1 for submit@debbugs.gnu.org; Wed, 18 Apr 2012 21:04:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SKfn3-0002Sh-78; Wed, 18 Apr 2012 21:04:05 -0400 From: Glenn Morris X-Spook: BRLO Panama Majic nuclear S Key bce 64 Vauxhall Cross X-Ran: R}p1;C9kx=H.gYn^qnNY~p[Mn64YKXM[u#J-Wb[hycA+P(z=.5z#AftHN|I]jwIWU00&wM X-Hue: magenta X-Attribution: GM Date: Wed, 18 Apr 2012 21:04:05 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Package: emacs Version: 24.0.95 The Elisp manual "Introduction to Minibuffers" says: The minibuffer's window is normally a single line[...]. You can explicitly resize it temporarily with the window sizing commands; it reverts to its normal size when the minibuffer is exited. In Emacs 23.4, it works to do: emacs -Q M-x C-x ^ C-x ^ (the minibuffer window gets one line taller each time) But in the current trunk, that has no effect. (The manual also says: You can resize it permanently by using the window sizing commands in the frame's other window, when the minibuffer is not active. I don't know what this means. It doesn't seem to work in any version of Emacs that I can find.) From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 06:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 11276@debbugs.gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133481864522190 (code B ref 11276); Thu, 19 Apr 2012 06:58:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 06:57:25 +0000 Received: from localhost ([127.0.0.1]:40774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKlIz-0005lq-BL for submit@debbugs.gnu.org; Thu, 19 Apr 2012 02:57:25 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:34418) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SKlIw-0005le-DS for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 02:57:23 -0400 Received: (qmail invoked by alias); 19 Apr 2012 06:56:58 -0000 Received: from 62-47-51-247.adsl.highway.telekom.at (EHLO [62.47.51.247]) [62.47.51.247] by mail.gmx.net (mp034) with SMTP; 19 Apr 2012 08:56:58 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+B7QIu4UuB6dp9QRelsvPPthxXOScRSKMyyeeEC4 aK2vVKiNQdt3ot Message-ID: <4F8FB736.9020303@gmx.at> Date: Thu, 19 Apr 2012 08:56:54 +0200 From: martin rudalics MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > In Emacs 23.4, it works to do: > > emacs -Q > M-x C-x ^ C-x ^ Which command does this run? I can't reasonably input "^" from the command prompt here. > (the minibuffer window gets one line taller each time) > > But in the current trunk, that has no effect. Does it work if you set `resize-mini-windows' to nil? If I do that here, I can, for example, drag the divider between the emacs -Q main window and the minibuffer window with the mouse. > (The manual also says: > > You can resize it permanently by using the window sizing commands in > the frame's other window, when the minibuffer is not active. > > I don't know what this means. It doesn't seem to work in any version of > Emacs that I can find.) The terminology "in the frame's other window" seems to indicate that this was written in an earlier century. martin From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133481957723571 (code B ref 11276); Thu, 19 Apr 2012 07:13:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 07:12:57 +0000 Received: from localhost ([127.0.0.1]:40784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKlY0-000688-W2 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 03:12:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45650 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKlXz-000681-Cy for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 03:12:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SKlXf-00072F-K7; Thu, 19 Apr 2012 03:12:35 -0400 From: Glenn Morris References: <4F8FB736.9020303@gmx.at> X-Spook: JUWTF Reno asset satellite imagery MD4 FIPS140 doctrine X-Ran: \]VB0s3Hp(DBo,z76s_iwSMA=qcAr//G92QhYV9FA7NY&0-Xr?foEI>5)d$w&=_Y`w"i/& X-Hue: blue X-Attribution: GM Date: Thu, 19 Apr 2012 03:12:35 -0400 In-Reply-To: <4F8FB736.9020303@gmx.at> (martin rudalics's message of "Thu, 19 Apr 2012 08:56:54 +0200") Message-ID: <9i62cw42l8.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) martin rudalics wrote: >> M-x C-x ^ C-x ^ > > Which command does this run? I can't reasonably input "^" from the > command prompt here. C-x ^ runs enlarge-window > Does it work if you set `resize-mini-windows' to nil? No. > If I do that here, I can, for example, drag the divider between the > emacs -Q main window and the minibuffer window with the mouse. I can't seem to do that (GNU/Linux, lucid toolkit), no matter what the value of resize-mini-windows is. Works in 23.4, not in trunk. > The terminology "in the frame's other window" seems to indicate that > this was written in an earlier century. I didn't get that impression the first time I read it, but you could be right. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 10:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 11276@debbugs.gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133483213710451 (code B ref 11276); Thu, 19 Apr 2012 10:43:01 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 10:42:17 +0000 Received: from localhost ([127.0.0.1]:40935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKoob-0002iV-Dn for submit@debbugs.gnu.org; Thu, 19 Apr 2012 06:42:17 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:48424) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SKooY-0002iG-Sd for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 06:42:16 -0400 Received: (qmail invoked by alias); 19 Apr 2012 10:41:50 -0000 Received: from 62-47-51-247.adsl.highway.telekom.at (EHLO [62.47.51.247]) [62.47.51.247] by mail.gmx.net (mp039) with SMTP; 19 Apr 2012 12:41:50 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18+tOkjJb8+zHKQFvc9Ib5Gi3z1YJl2hUMm/nzKGu crDXfS9xGLGAXh Message-ID: <4F8FEBFE.2030404@gmx.at> Date: Thu, 19 Apr 2012 12:42:06 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> In-Reply-To: <9i62cw42l8.fsf@fencepost.gnu.org> Content-Type: multipart/mixed; boundary="------------090109000206040001010601" X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------090109000206040001010601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > C-x ^ runs enlarge-window Silly binding. >> Does it work if you set `resize-mini-windows' to nil? > > No. First bug. I forgot that one can invoke `enlarge-window' and `shrink-window' in the minibuffer window. I'm not sure though whether these should have any effect when `resize-mini-windows' is non-nil. >> If I do that here, I can, for example, drag the divider between the >> emacs -Q main window and the minibuffer window with the mouse. > > I can't seem to do that (GNU/Linux, lucid toolkit), no matter what the > value of resize-mini-windows is. Works in 23.4, not in trunk. Second bug (though it should work with >= 2 windows). I misinterpreted the semantics of `one-window-p'. Please test the attached patch. Resizing miniwindows was hardly tested, unfortunately. martin --------------090109000206040001010601 Content-Type: text/plain; name="resize-mini-window.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="resize-mini-window.diff" === modified file 'lisp/mouse.el' --- lisp/mouse.el 2012-01-19 07:21:25 +0000 +++ lisp/mouse.el 2012-04-19 08:24:05 +0000 @@ -408,7 +408,7 @@ (and (eq line 'mode) (not resize-mini-windows) (eq (window-frame minibuffer-window) frame) - (not (one-window-p t frame)) + (not (one-window-p t)) (= (nth 1 (window-edges minibuffer-window)) (nth 3 (window-edges window))))) (which-side === modified file 'lisp/window.el' --- lisp/window.el 2012-04-11 02:36:04 +0000 +++ lisp/window.el 2012-04-19 10:22:56 +0000 @@ -2102,6 +2102,8 @@ ((zerop delta)) ((window-size-fixed-p nil horizontal) (error "Selected window has fixed size")) + ((and (window-minibuffer-p) (not horizontal)) + (window--resize-mini-window (selected-window) delta)) ((window--resizable-p nil delta horizontal) (window-resize nil delta horizontal)) (t @@ -2124,6 +2126,8 @@ ((zerop delta)) ((window-size-fixed-p nil horizontal) (error "Selected window has fixed size")) + ((and (window-minibuffer-p) (not horizontal)) + (window--resize-mini-window (selected-window) (- delta))) ((window--resizable-p nil (- delta) horizontal) (window-resize nil (- delta) horizontal)) (t --------------090109000206040001010601-- From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 11276@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13348458012540 (code B ref 11276); Thu, 19 Apr 2012 14:30:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 14:30:01 +0000 Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsMv-0000er-6U for submit@debbugs.gnu.org; Thu, 19 Apr 2012 10:30:00 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:55610) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsMp-0000eZ-A6 for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 10:29:55 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2Q00100DA78600@a-mtaout23.012.net.il> for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 17:28:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2Q001KXDJJ0990@a-mtaout23.012.net.il>; Thu, 19 Apr 2012 17:28:32 +0300 (IDT) Date: Thu, 19 Apr 2012 17:28:32 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83397zkd7z.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Glenn Morris > Date: Wed, 18 Apr 2012 21:04:05 -0400 > > (The manual also says: > > You can resize it permanently by using the window sizing commands in > the frame's other window, when the minibuffer is not active. This is inaccurate to the degree that it's exactly the other way around: when the minibuffer _is_ active, you can use, e.g., the mouse to drag the mode line above the minibuffer window and thus resize that window. When the minibuffer is not active, you can only do that if resize-mini-windows (a misnomer, see my other mail) is nil. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13348459492840 (code B ref 11276); Thu, 19 Apr 2012 14:33:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 14:32:29 +0000 Received: from localhost ([127.0.0.1]:41887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsPI-0000jf-Ff for submit@debbugs.gnu.org; Thu, 19 Apr 2012 10:32:29 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:56283) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsPC-0000jN-FU for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 10:32:22 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2Q00100DMV9600@a-mtaout23.012.net.il> for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 17:31:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2Q001XGDP44760@a-mtaout23.012.net.il>; Thu, 19 Apr 2012 17:31:53 +0300 (IDT) Date: Thu, 19 Apr 2012 17:31:50 +0300 From: Eli Zaretskii In-reply-to: <4F8FB736.9020303@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <831unjkd2h.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Thu, 19 Apr 2012 08:56:54 +0200 > From: martin rudalics > Cc: 11276@debbugs.gnu.org > > Does it work if you set `resize-mini-windows' to nil? If I do that > here, I can, for example, drag the divider between the emacs -Q main > window and the minibuffer window with the mouse. This doesn't work for me, neither on the trunk nor on the emacs-24 branch. > > (The manual also says: > > > > You can resize it permanently by using the window sizing commands in > > the frame's other window, when the minibuffer is not active. > > > > I don't know what this means. It doesn't seem to work in any version of > > Emacs that I can find.) > > The terminology "in the frame's other window" seems to indicate that > this was written in an earlier century. How would you rephrase this for this century? From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13348463583569 (code B ref 11276); Thu, 19 Apr 2012 14:40:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 14:39:18 +0000 Received: from localhost ([127.0.0.1]:41891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsVt-0000vR-UM for submit@debbugs.gnu.org; Thu, 19 Apr 2012 10:39:18 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:57472) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsVl-0000uq-Fr for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 10:39:09 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2Q00100DWKA100@a-mtaout23.012.net.il> for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 17:37:59 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2Q001HXDZA4780@a-mtaout23.012.net.il>; Thu, 19 Apr 2012 17:37:59 +0300 (IDT) Date: Thu, 19 Apr 2012 17:37:58 +0300 From: Eli Zaretskii In-reply-to: <4F8FEBFE.2030404@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83zka7iy7t.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Thu, 19 Apr 2012 12:42:06 +0200 > From: martin rudalics > Cc: 11276@debbugs.gnu.org > > First bug. I forgot that one can invoke `enlarge-window' and > `shrink-window' in the minibuffer window. I'm not sure though whether these > should have any effect when `resize-mini-windows' is non-nil. For compatibility with previous versions of Emacs, I think it shouldn't, at least not on the emacs-24 branch. resize-mini-windows is a misnomer: it actually means "mini-window size is controlled by display engine". That's why window-sizing commands in previous versions never paid heed to it, only redisplay did. And that's why, quite counter-intuitively, setting it to _nil_ allows the user to resize the mini-window. We could make the implementation more in line with the name in future versions, if we want, of course. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "'Eli Zaretskii'" , "'martin rudalics'" Cc: 11276@debbugs.gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13348484226743 (code B ref 11276); Thu, 19 Apr 2012 15:14:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 15:13:42 +0000 Received: from localhost ([127.0.0.1]:41936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKt3C-0001kd-I8 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 11:13:42 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:45536) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKt37-0001kO-BP for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 11:13:37 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3JFD6fB020674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Apr 2012 15:13:07 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3JFD5dc023621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Apr 2012 15:13:06 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3JFD52I032065; Thu, 19 Apr 2012 10:13:05 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Apr 2012 08:13:04 -0700 From: "Drew Adams" References: <4F8FB736.9020303@gmx.at><9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> Date: Thu, 19 Apr 2012 08:13:03 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: <83zka7iy7t.fsf@gnu.org> Thread-Index: Ac0eOlGgtZsEp/NWRemLiz60fLfAtwAAK3UA X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090204.4F902B84.0045,ss=1,re=0.000,fgs=0 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > resize-mini-windows is a misnomer: it actually means "mini-window size > is controlled by display engine". That's why window-sizing commands > in previous versions never paid heed to it, only redisplay did. And > that's why, quite counter-intuitively, setting it to _nil_ allows the > user to resize the mini-window. > > We could make the implementation more in line with the name in future > versions, if we want, of course. 1. The right way to go is to decide first on the behavior you want. Then base the name on what it actually does. If it needs to be renamed based on the desired behavior then rename it, deprecating and temporarily aliasing the old name. It does not make much sense to instead design the behavior based on what the name happens to be - unless that behavior is what you want anyway. IOW, design and name together; don't constrain the design to an existing name. 2. Wrt naming something that happens automatically (and possibly prevents or overrides manual change by a user - in this case resizing): Use "auto" or "automatic". In this case, call it "autosize", "autoresize", "automatic-(re)size", or some such. That suggests that (a) the behavior is automatic and (b) you might not be able to override it manually. If the behavior of this option should be to allow automatic resizing (which might or might not prevent manual resizing, depending on the design), then call it something like "auto-resize-minibuffer" or "auto-resize-minibuf-window". 3. I've already said before that it is wrong to use only "mini" here. This is not just a mini-window, i.e., a small window - it is a minibuffer window. See bug #3320, deemed "wont-fix" by Lars: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3320. Perhaps now that others consider that `resize-mini-windows' is a misnomer (for additional reasons), this misuse of "mini" can be reconsidered. 4. It might also be wrong (unnecessary for users) to refer here to minibuffer window_s_ (plural). In most contexts users do not need to know or care about the existence of multiple minibuffer windows. And in this case, unless the option behavior does something specific that needs to call user attention to multiple windows, Occam advises to just use the singular in the name. Nuances, if need be, can be pointed out in the doc. 5. And in this case it would perhaps not be inappropriate to refer to auto-resizing of the minibuffer and not bother to add "window". True, someone using apropos for "window" would not find it, but a search for "minibuf" would: `auto-resize-minibuffer'. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 17:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133485587918507 (code B ref 11276); Thu, 19 Apr 2012 17:18:02 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 17:17:59 +0000 Received: from localhost ([127.0.0.1]:42103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKuzW-0004oP-Vk for submit@debbugs.gnu.org; Thu, 19 Apr 2012 13:17:59 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:38923) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SKuzT-0004oC-Fw for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 13:17:56 -0400 Received: (qmail invoked by alias); 19 Apr 2012 17:17:29 -0000 Received: from 62-47-51-247.adsl.highway.telekom.at (EHLO [62.47.51.247]) [62.47.51.247] by mail.gmx.net (mp071) with SMTP; 19 Apr 2012 19:17:29 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/ox4okXKPo18He/Wvy9DkoylOC/jb1lL51RZvEi3 xrqlNQQWOCah7h Message-ID: <4F9048DD.7010808@gmx.at> Date: Thu, 19 Apr 2012 19:18:21 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> In-Reply-To: <83zka7iy7t.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------090703040706040403090004" X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------090703040706040403090004 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit >> First bug. I forgot that one can invoke `enlarge-window' and >> `shrink-window' in the minibuffer window. I'm not sure though whether these >> should have any effect when `resize-mini-windows' is non-nil. > > For compatibility with previous versions of Emacs, I think it > shouldn't, at least not on the emacs-24 branch. Sorry, my formulation was probably unclear. In Emas 23 you can often resize the active minibuffer window manually (via `enlarge-window' or `adjust-window-trailing-edge') regardless of the setting of `resize-mini-windows'. So should we keep that behavior or allow manual resizing only when `resize-mini-windows' is nil? > resize-mini-windows is a misnomer: it actually means "mini-window size > is controlled by display engine". That's why window-sizing commands > in previous versions never paid heed to it, only redisplay did. And > that's why, quite counter-intuitively, setting it to _nil_ allows the > user to resize the mini-window. The passive mini-window IIUC. > We could make the implementation more in line with the name in future > versions, if we want, of course. That's another issue. Please try the new patch I attached. It should mimic the behavior of Emacs 23 as close as possible. martin --------------090703040706040403090004 Content-Type: text/plain; name="resize-mini-window.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="resize-mini-window.diff" === modified file 'lisp/mouse.el' --- lisp/mouse.el 2012-01-19 07:21:25 +0000 +++ lisp/mouse.el 2012-04-19 17:09:19 +0000 @@ -406,9 +406,11 @@ (mouse-on-link-p start))) (enlarge-minibuffer (and (eq line 'mode) - (not resize-mini-windows) - (eq (window-frame minibuffer-window) frame) - (not (one-window-p t frame)) + ;; Enlarge the minibuffer window iff it's either selected + ;; or `resize-mini-windows' is nil. + (or (not resize-mini-windows) + (eq minibuffer-window (selected-window))) + (not (one-window-p)) (= (nth 1 (window-edges minibuffer-window)) (nth 3 (window-edges window))))) (which-side === modified file 'lisp/window.el' --- lisp/window.el 2012-04-11 02:36:04 +0000 +++ lisp/window.el 2012-04-19 17:09:12 +0000 @@ -1991,17 +1991,21 @@ the left. If the edge can't be moved by DELTA lines or columns, move it as far as possible in the desired direction." (setq window (window-normalize-window window)) - (let ((frame (window-frame window)) - (right window) - left this-delta min-delta max-delta) + (let* ((frame (window-frame window)) + (minibuffer-window (minibuffer-window frame)) + (right window) + left this-delta min-delta max-delta) ;; Find the edge we want to move. (while (and (or (not (window-combined-p right horizontal)) (not (window-right right))) (setq right (window-parent right)))) (cond - ((and (not right) (not horizontal) (not resize-mini-windows) - (eq (window-frame (minibuffer-window frame)) frame)) - (window--resize-mini-window (minibuffer-window frame) (- delta))) + ((and (not right) (not horizontal) + ;; Resize the minibuffer window iff it's either active or + ;; `resize-mini-windows' is nil. + (or (not resize-mini-windows) + (eq minibuffer-window (selected-window)))) + (window--resize-mini-window minibuffer-window (- delta))) ((or (not (setq left right)) (not (setq right (window-right right)))) (if horizontal (error "No window on the right of this one") @@ -2102,6 +2106,8 @@ ((zerop delta)) ((window-size-fixed-p nil horizontal) (error "Selected window has fixed size")) + ((and (window-minibuffer-p) (not horizontal)) + (window--resize-mini-window (selected-window) delta)) ((window--resizable-p nil delta horizontal) (window-resize nil delta horizontal)) (t @@ -2124,6 +2130,8 @@ ((zerop delta)) ((window-size-fixed-p nil horizontal) (error "Selected window has fixed size")) + ((and (window-minibuffer-p) (not horizontal)) + (window--resize-mini-window (selected-window) (- delta))) ((window--resizable-p nil (- delta) horizontal) (window-resize nil (- delta) horizontal)) (t --------------090703040706040403090004-- From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Apr 2012 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133485615818942 (code B ref 11276); Thu, 19 Apr 2012 17:23:01 +0000 Received: (at 11276) by debbugs.gnu.org; 19 Apr 2012 17:22:38 +0000 Received: from localhost ([127.0.0.1]:42108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKv42-0004vT-1i for submit@debbugs.gnu.org; Thu, 19 Apr 2012 13:22:38 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:42167) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SKv40-0004vE-7N for 11276@debbugs.gnu.org; Thu, 19 Apr 2012 13:22:36 -0400 Received: (qmail invoked by alias); 19 Apr 2012 17:22:10 -0000 Received: from 62-47-51-247.adsl.highway.telekom.at (EHLO [62.47.51.247]) [62.47.51.247] by mail.gmx.net (mp038) with SMTP; 19 Apr 2012 19:22:10 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/stUxPCcbs4V84yE6AvHlXTPVjvWsrW3Mrr4f8M+ IT1nn5mfPA6mcQ Message-ID: <4F9049F6.8080003@gmx.at> Date: Thu, 19 Apr 2012 19:23:02 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> In-Reply-To: <831unjkd2h.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Does it work if you set `resize-mini-windows' to nil? If I do that >> here, I can, for example, drag the divider between the emacs -Q main >> window and the minibuffer window with the mouse. > > This doesn't work for me, neither on the trunk nor on the emacs-24 > branch. With a split frame you should be able to do that. >> > (The manual also says: >> > >> > You can resize it permanently by using the window sizing commands in >> > the frame's other window, when the minibuffer is not active. >> > >> > I don't know what this means. It doesn't seem to work in any version of >> > Emacs that I can find.) >> >> The terminology "in the frame's other window" seems to indicate that >> this was written in an earlier century. > > How would you rephrase this for this century? Maybe "in a window adjacent to it"? martin From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133490785916253 (code B ref 11276); Fri, 20 Apr 2012 07:45:02 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 07:44:19 +0000 Received: from localhost ([127.0.0.1]:43424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8Vv-0004E5-06 for submit@debbugs.gnu.org; Fri, 20 Apr 2012 03:44:19 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:63838) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8Vr-0004Dr-I6 for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 03:44:16 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2R00600P2HUW00@a-mtaout21.012.net.il> for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 10:43:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2R006Z1PGWL7I0@a-mtaout21.012.net.il>; Fri, 20 Apr 2012 10:43:45 +0300 (IDT) Date: Fri, 20 Apr 2012 10:43:47 +0300 From: Eli Zaretskii In-reply-to: <4F9048DD.7010808@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83ipguj1ak.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> <4F9048DD.7010808@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Thu, 19 Apr 2012 19:18:21 +0200 > From: martin rudalics > CC: rgm@gnu.org, 11276@debbugs.gnu.org > > >> First bug. I forgot that one can invoke `enlarge-window' and > >> `shrink-window' in the minibuffer window. I'm not sure though whether these > >> should have any effect when `resize-mini-windows' is non-nil. > > > > For compatibility with previous versions of Emacs, I think it > > shouldn't, at least not on the emacs-24 branch. > > Sorry, my formulation was probably unclear. No, it was perfectly clear. It's my wording that is confusing. What I meant to say is that, for compatibility, resize-mini-windows should have no effect on "C-x ^" typed from the minibuffer window. > > resize-mini-windows is a misnomer: it actually means "mini-window size > > is controlled by display engine". That's why window-sizing commands > > in previous versions never paid heed to it, only redisplay did. And > > that's why, quite counter-intuitively, setting it to _nil_ allows the > > user to resize the mini-window. > > The passive mini-window IIUC. Yes. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133490807919648 (code B ref 11276); Fri, 20 Apr 2012 07:48:02 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 07:47:59 +0000 Received: from localhost ([127.0.0.1]:43428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8ZS-00056r-Js for submit@debbugs.gnu.org; Fri, 20 Apr 2012 03:47:58 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:52121) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL8ZQ-00056d-9w for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 03:47:57 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2R00300PAOYZ00@a-mtaout23.012.net.il> for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 10:47:03 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2R003RRPMEUZ80@a-mtaout23.012.net.il>; Fri, 20 Apr 2012 10:47:03 +0300 (IDT) Date: Fri, 20 Apr 2012 10:47:05 +0300 From: Eli Zaretskii In-reply-to: <4F9049F6.8080003@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83hawej152.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Thu, 19 Apr 2012 19:23:02 +0200 > From: martin rudalics > CC: rgm@gnu.org, 11276@debbugs.gnu.org > > >> Does it work if you set `resize-mini-windows' to nil? If I do that > >> here, I can, for example, drag the divider between the emacs -Q main > >> window and the minibuffer window with the mouse. > > > > This doesn't work for me, neither on the trunk nor on the emacs-24 > > branch. > > With a split frame you should be able to do that. > > >> > (The manual also says: > >> > > >> > You can resize it permanently by using the window sizing commands in > >> > the frame's other window, when the minibuffer is not active. > >> > > >> > I don't know what this means. It doesn't seem to work in any version of > >> > Emacs that I can find.) > >> > >> The terminology "in the frame's other window" seems to indicate that > >> this was written in an earlier century. > > > > How would you rephrase this for this century? > > Maybe "in a window adjacent to it"? What's the difference? Is your problem with the "window", in singular, or with something else, like "the frame"? From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13349160985690 (code B ref 11276); Fri, 20 Apr 2012 10:02:02 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 10:01:38 +0000 Received: from localhost ([127.0.0.1]:43537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLAel-0001Tf-Oz for submit@debbugs.gnu.org; Fri, 20 Apr 2012 06:01:37 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:53412) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SLAei-0001TR-L0 for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 06:01:33 -0400 Received: (qmail invoked by alias); 20 Apr 2012 10:01:02 -0000 Received: from 62-47-44-75.adsl.highway.telekom.at (EHLO [62.47.44.75]) [62.47.44.75] by mail.gmx.net (mp019) with SMTP; 20 Apr 2012 12:01:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18qZkgl1dsq3gi31zCgiGxG1IciRm5Li+gS25uorL y8Vn6A3R5u9qkz Message-ID: <4F9133F2.50403@gmx.at> Date: Fri, 20 Apr 2012 12:01:22 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> <4F9048DD.7010808@gmx.at> <83ipguj1ak.fsf@gnu.org> In-Reply-To: <83ipguj1ak.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> >> First bug. I forgot that one can invoke `enlarge-window' and >> >> `shrink-window' in the minibuffer window. I'm not sure though whether these >> >> should have any effect when `resize-mini-windows' is non-nil. >> > >> > For compatibility with previous versions of Emacs, I think it >> > shouldn't, at least not on the emacs-24 branch. >> >> Sorry, my formulation was probably unclear. > > No, it was perfectly clear. It's my wording that is confusing. What > I meant to say is that, for compatibility, resize-mini-windows should > have no effect on "C-x ^" typed from the minibuffer window. OK >> > resize-mini-windows is a misnomer: it actually means "mini-window size >> > is controlled by display engine". That's why window-sizing commands >> > in previous versions never paid heed to it, only redisplay did. And >> > that's why, quite counter-intuitively, setting it to _nil_ allows the >> > user to resize the mini-window. >> >> The passive mini-window IIUC. > > Yes. I checked in a fix similar to the one I posted earlier. Please test it with C-x ^ and modeline dragging. Thanks, martin From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.13349161335765 (code B ref 11276); Fri, 20 Apr 2012 10:03:02 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 10:02:13 +0000 Received: from localhost ([127.0.0.1]:43542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLAfK-0001Us-2T for submit@debbugs.gnu.org; Fri, 20 Apr 2012 06:02:12 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:44224) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SLAfH-0001UC-3x for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 06:02:07 -0400 Received: (qmail invoked by alias); 20 Apr 2012 10:01:37 -0000 Received: from 62-47-44-75.adsl.highway.telekom.at (EHLO [62.47.44.75]) [62.47.44.75] by mail.gmx.net (mp020) with SMTP; 20 Apr 2012 12:01:37 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19bVxkHlKhbb3FwekdpVVeQdK+ao0CaOIchrO27Gv mQ+Tidj5a0jWBY Message-ID: <4F913415.6050307@gmx.at> Date: Fri, 20 Apr 2012 12:01:57 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> <83hawej152.fsf@gnu.org> In-Reply-To: <83hawej152.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> >> > (The manual also says: >> >> > >> >> > You can resize it permanently by using the window sizing commands in >> >> > the frame's other window, when the minibuffer is not active. >> >> > >> >> > I don't know what this means. It doesn't seem to work in any version of >> >> > Emacs that I can find.) >> >> >> >> The terminology "in the frame's other window" seems to indicate that >> >> this was written in an earlier century. >> > >> > How would you rephrase this for this century? >> >> Maybe "in a window adjacent to it"? > > What's the difference? > > Is your problem with the "window", in singular, or with something > else, like "the frame"? > What does a term like "the frame's other window" mean? A frame can have a couple of "other windows". It took me some while to find out that the other window must be a full height live window. martin From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133491703410443 (code B ref 11276); Fri, 20 Apr 2012 10:18:01 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 10:17:14 +0000 Received: from localhost ([127.0.0.1]:43596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLAtu-0002iO-1z for submit@debbugs.gnu.org; Fri, 20 Apr 2012 06:17:14 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:49478) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLAtr-0002iA-Pd for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 06:17:12 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2R00700WER9000@a-mtaout21.012.net.il> for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 13:16:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.172.156]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2R00757WJT2ED0@a-mtaout21.012.net.il>; Fri, 20 Apr 2012 13:16:41 +0300 (IDT) Date: Fri, 20 Apr 2012 13:16:44 +0300 From: Eli Zaretskii In-reply-to: <4F9133F2.50403@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <83aa26iu7n.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> <4F9048DD.7010808@gmx.at> <83ipguj1ak.fsf@gnu.org> <4F9133F2.50403@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 20 Apr 2012 12:01:22 +0200 > From: martin rudalics > CC: rgm@gnu.org, 11276@debbugs.gnu.org > > I checked in a fix similar to the one I posted earlier. Please test it > with C-x ^ and modeline dragging. Seems to work fine, thanks. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 10:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133491906320168 (code B ref 11276); Fri, 20 Apr 2012 10:52:01 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 10:51:03 +0000 Received: from localhost ([127.0.0.1]:43679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLBQc-0005FE-OL for submit@debbugs.gnu.org; Fri, 20 Apr 2012 06:51:03 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:40485) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLBQa-0005Eh-BB for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 06:51:01 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2R00400Y1TGG00@a-mtaout23.012.net.il> for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 13:49:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.172.156]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2R004IAY2YGC00@a-mtaout23.012.net.il>; Fri, 20 Apr 2012 13:49:47 +0300 (IDT) Date: Fri, 20 Apr 2012 13:49:49 +0300 From: Eli Zaretskii In-reply-to: <4F913415.6050307@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <837gxaisoi.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> <83hawej152.fsf@gnu.org> <4F913415.6050307@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 20 Apr 2012 12:01:57 +0200 > From: martin rudalics > CC: rgm@gnu.org, 11276@debbugs.gnu.org > > >> >> > (The manual also says: > >> >> > > >> >> > You can resize it permanently by using the window sizing commands in > >> >> > the frame's other window, when the minibuffer is not active. > >> >> > > >> >> > I don't know what this means. It doesn't seem to work in any version of > >> >> > Emacs that I can find.) > >> >> > >> >> The terminology "in the frame's other window" seems to indicate that > >> >> this was written in an earlier century. > >> > > >> > How would you rephrase this for this century? > >> > >> Maybe "in a window adjacent to it"? > > > > What's the difference? > > > > Is your problem with the "window", in singular, or with something > > else, like "the frame"? > > > > What does a term like "the frame's other window" mean? A frame can have > a couple of "other windows". Would it be better if we said "the frame's other windows", in plural? > It took me some while to find out that the other window must be a > full height live window. ??? I can resize the minibuffer window like this: emacs -Q M-: (setq resize-mini-windows nil) RET C-x 2 drag the mode line of the lowest window with the mouse What is the recipe where you must have a full-height window above the minibuffer? From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133492360230053 (code B ref 11276); Fri, 20 Apr 2012 12:07:01 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 12:06:42 +0000 Received: from localhost ([127.0.0.1]:43715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLCbq-0007of-2y for submit@debbugs.gnu.org; Fri, 20 Apr 2012 08:06:42 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:41060) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SLCbn-0007oS-Ab for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 08:06:40 -0400 Received: (qmail invoked by alias); 20 Apr 2012 12:06:05 -0000 Received: from 62-47-55-34.adsl.highway.telekom.at (EHLO [62.47.55.34]) [62.47.55.34] by mail.gmx.net (mp039) with SMTP; 20 Apr 2012 14:06:05 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19YF5dWsJhYwx41ESuuEGn3Qr/ey8Kg7OYDUu59Md oYX8jJcuF9brJF Message-ID: <4F915125.702@gmx.at> Date: Fri, 20 Apr 2012 14:05:57 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> <83hawej152.fsf@gnu.org> <4F913415.6050307@gmx.at> <837gxaisoi.fsf@gnu.org> In-Reply-To: <837gxaisoi.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> What does a term like "the frame's other window" mean? A frame can have >> a couple of "other windows". > > Would it be better if we said "the frame's other windows", in plural? No. > ??? I can resize the minibuffer window like this: > > emacs -Q > M-: (setq resize-mini-windows nil) RET > C-x 2 > drag the mode line of the lowest window with the mouse > > What is the recipe where you must have a full-height window above the > minibuffer? Unplug your mouse ;-) For example, emacs -Q M-: (setq resize-mini-windows nil) RET C-x 2 C-x o M-x shrink-window martin From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, rgm@gnu.org Reply-To: Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133493150013227 (code B ref 11276); Fri, 20 Apr 2012 14:19:01 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 14:18:20 +0000 Received: from localhost ([127.0.0.1]:44413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLEfE-0003RH-2b for submit@debbugs.gnu.org; Fri, 20 Apr 2012 10:18:20 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:38427) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLEfD-0003R5-0L for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 10:18:19 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M2S006007IAX400@a-mtaout22.012.net.il> for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 17:17:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.172.156]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2S006C97OKRB40@a-mtaout22.012.net.il>; Fri, 20 Apr 2012 17:17:09 +0300 (IDT) Date: Fri, 20 Apr 2012 17:17:12 +0300 From: Eli Zaretskii In-reply-to: <4F915125.702@gmx.at> X-012-Sender: halo1@inter.net.il Message-id: <831uniij2v.fsf@gnu.org> References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> <83hawej152.fsf@gnu.org> <4F913415.6050307@gmx.at> <837gxaisoi.fsf@gnu.org> <4F915125.702@gmx.at> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Fri, 20 Apr 2012 14:05:57 +0200 > From: martin rudalics > CC: rgm@gnu.org, 11276@debbugs.gnu.org > > >> What does a term like "the frame's other window" mean? A frame can have > >> a couple of "other windows". > > > > Would it be better if we said "the frame's other windows", in plural? > > No. Why not? > > ??? I can resize the minibuffer window like this: > > > > emacs -Q > > M-: (setq resize-mini-windows nil) RET > > C-x 2 > > drag the mode line of the lowest window with the mouse > > > > What is the recipe where you must have a full-height window above the > > minibuffer? > > Unplug your mouse ;-) > > For example, > > emacs -Q > M-: (setq resize-mini-windows nil) RET > C-x 2 > C-x o > M-x shrink-window OK, but that's just the side effect of how shrink-window works, the mouse way proves that it _is_ possible to resize the minibuffer window even if the window above it is not full-height. From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Apr 2012 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 11276@debbugs.gnu.org, rgm@gnu.org Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133493593620040 (code B ref 11276); Fri, 20 Apr 2012 15:33:01 +0000 Received: (at 11276) by debbugs.gnu.org; 20 Apr 2012 15:32:16 +0000 Received: from localhost ([127.0.0.1]:44461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLFol-0005DA-MN for submit@debbugs.gnu.org; Fri, 20 Apr 2012 11:32:16 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:58722) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SLFoi-0005Cu-F2 for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 11:32:14 -0400 Received: (qmail invoked by alias); 20 Apr 2012 15:31:40 -0000 Received: from 62-47-55-57.adsl.highway.telekom.at (EHLO [62.47.55.57]) [62.47.55.57] by mail.gmx.net (mp036) with SMTP; 20 Apr 2012 17:31:40 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/QTWp46y3Q7RTqL17dKJ7vO+nNCRnIVp1ohsHh/1 ldzZzO11oselAK Message-ID: <4F918154.2030306@gmx.at> Date: Fri, 20 Apr 2012 17:31:32 +0200 From: martin rudalics MIME-Version: 1.0 References: <4F8FB736.9020303@gmx.at> <831unjkd2h.fsf@gnu.org> <4F9049F6.8080003@gmx.at> <83hawej152.fsf@gnu.org> <4F913415.6050307@gmx.at> <837gxaisoi.fsf@gnu.org> <4F915125.702@gmx.at> <831uniij2v.fsf@gnu.org> In-Reply-To: <831uniij2v.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> > Would it be better if we said "the frame's other windows", in plural? >> >> No. > > Why not? Because the other windows might be of no help here, see below. > OK, but that's just the side effect of how shrink-window works, the > mouse way proves that it _is_ possible to resize the minibuffer window > even if the window above it is not full-height. We know that resizing the minibuffer window works because the display code does it all the time. The mouse way doesn't prove anything additional because modeline dragging works regardless of the window I'm in. The idea of the original text You can resize it permanently by using the window sizing commands in the frame's other window, when the minibuffer is not active. was that there is only _one_ other window and in that case shrinking or enlarging that window via `enlarge-window' indeed resizes the minibuffer window. If, however, I'm not in a full-height window, shrinking or enlarging that window will not resize the minibuffer window. So the original text is misleading. Programmatically, it's obviously more simple to use (window-resize (minibuffer-window) 1) martin From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 20 14:30:36 2012 Received: (at control) by debbugs.gnu.org; 20 Apr 2012 18:30:36 +0000 Received: from localhost ([127.0.0.1]:44623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLIbF-000211-OQ for submit@debbugs.gnu.org; Fri, 20 Apr 2012 14:30:33 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37197 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLIbD-00020t-C8 for control@debbugs.gnu.org; Fri, 20 Apr 2012 14:30:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SLIam-0002BK-P8 for control@debbugs.gnu.org; Fri, 20 Apr 2012 14:30:00 -0400 Date: Fri, 20 Apr 2012 14:30:00 -0400 Message-Id: Subject: control message for bug 11276 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11276 24.0.96 From unknown Wed Jun 18 23:10:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11276: minibuffers windows can no longer explictly be resized Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Apr 2012 01:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 11276@debbugs.gnu.org, Eli Zaretskii Received: via spool by 11276-submit@debbugs.gnu.org id=B11276.133497011114124 (code B ref 11276); Sat, 21 Apr 2012 01:02:02 +0000 Received: (at 11276) by debbugs.gnu.org; 21 Apr 2012 01:01:51 +0000 Received: from localhost ([127.0.0.1]:44835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLOhz-0003fl-3M for submit@debbugs.gnu.org; Fri, 20 Apr 2012 21:01:51 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42686 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLOhx-0003fe-KW for 11276@debbugs.gnu.org; Fri, 20 Apr 2012 21:01:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SLOhU-0003ZD-Sb; Fri, 20 Apr 2012 21:01:20 -0400 From: Glenn Morris References: <4F8FB736.9020303@gmx.at> <9i62cw42l8.fsf@fencepost.gnu.org> <4F8FEBFE.2030404@gmx.at> <83zka7iy7t.fsf@gnu.org> <4F9048DD.7010808@gmx.at> <83ipguj1ak.fsf@gnu.org> <4F9133F2.50403@gmx.at> X-Spook: Leitrim FBI MP5K-SD STARLAN Ansar al-Islam Saddam Hussein X-Ran: ~c1v+=WE2O\,k[Q?x/e[exKj|+6=1Zq4zuJSJLiSPCthYg<7?y]wx|[K0rN+}RnSuuy[4V X-Hue: green X-Attribution: GM Date: Fri, 20 Apr 2012 21:01:20 -0400 In-Reply-To: <4F9133F2.50403@gmx.at> (martin rudalics's message of "Fri, 20 Apr 2012 12:01:22 +0200") Message-ID: <4uobql525b.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) martin rudalics wrote: > I checked in a fix similar to the one I posted earlier. Please test it > with C-x ^ and modeline dragging. Works for me; thanks.