From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: check_min_window_sizes] Date: Sat, 18 Feb 2006 17:14:27 -0500 Message-ID: <87bqx48gcc.fsf@stupidchicken.com> References: <87u0axpbba.fsf@stupidchicken.com> <87ek208z5o.fsf@stupidchicken.com> <43F765BC.50608@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140303468 12164 80.91.229.2 (18 Feb 2006 22:57:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 22:57:48 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 18 23:57:46 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FAb1L-0007ca-6v for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 23:57:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAb1K-0003LU-Ms for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 17:57:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FAaLd-0008Mk-JW for emacs-devel@gnu.org; Sat, 18 Feb 2006 17:14:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAaLa-0008Jo-GR for emacs-devel@gnu.org; Sat, 18 Feb 2006 17:14:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAaLa-0008Jh-9P for emacs-devel@gnu.org; Sat, 18 Feb 2006 17:14:34 -0500 Original-Received: from [18.95.6.7] (helo=outgoing.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FAaR7-0001yE-TL; Sat, 18 Feb 2006 17:20:18 -0500 Original-Received: by outgoing.mit.edu (Postfix, from userid 1000) id DEA241E423B; Sat, 18 Feb 2006 17:14:27 -0500 (EST) Original-To: martin rudalics In-Reply-To: <43F765BC.50608@gmx.at> (martin rudalics's message of "Sat, 18 Feb 2006 19:21:48 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50721 Archived-At: martin rudalics writes: > > On second thought, the patch I posted was the wrong fix. I believe > > this one is correct (basically, size_window was checking for a > > safe_min_size that included the width of window fringes and > > scrollbars, but window_min_size_1 did not check for it). > > Excellent, both problems disappeared. Thanks again. Good, I checked in the patch. > I know I'm getting bothersome, but maybe you could also look at the > following. First remove all fringes. Now do > > (with-selected-window (split-window-horizontally) > (let ((window-min-width 2)) > (shrink-window (- (window-width) 2) t))) > > This should get you a right window with two columns only. Now add the > fringes again. This makes the right window display fringes only and no > text. That's to be expected, no? Or do you think that turning on the fringe is supposed to increase the size of the window (I don't)?