From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: check_min_window_sizes] Date: Sat, 18 Feb 2006 19:21:48 +0100 Message-ID: <43F765BC.50608@gmx.at> References: <87u0axpbba.fsf@stupidchicken.com> <87ek208z5o.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140298306 30053 80.91.229.2 (18 Feb 2006 21:31:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 21:31:46 +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 22:31:42 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 1FAZfs-0002Ye-Hc for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 22:31:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAZfr-0001qP-TK for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 16:31:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FAWof-000433-AV for emacs-devel@gnu.org; Sat, 18 Feb 2006 13:28:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAWnL-0003AQ-2z for emacs-devel@gnu.org; Sat, 18 Feb 2006 13:27:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAWnB-000376-CQ for emacs-devel@gnu.org; Sat, 18 Feb 2006 13:26:50 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FAWsm-0007bh-C6 for emacs-devel@gnu.org; Sat, 18 Feb 2006 13:32:37 -0500 Original-Received: (qmail invoked by alias); 18 Feb 2006 18:26:42 -0000 Original-Received: from N763P008.adsl.highway.telekom.at (EHLO [62.47.39.72]) [62.47.39.72] by mail.gmx.net (mp017) with SMTP; 18 Feb 2006 19:26:42 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Chong Yidong In-Reply-To: <87ek208z5o.fsf@stupidchicken.com> X-Y-GMX-Trusted: 0 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:50715 Archived-At: > 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. 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.