From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#3600: 23.0.94; shrink-window-if-larger-than-buffer Date: Thu, 18 Jun 2009 10:23:16 -0700 Message-ID: References: <0F4C735B7FF74432818F7CFAB4C85394@us.oracle.com> <4A3A11E7.4060900@gmx.at> Reply-To: Drew Adams , 3600@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245347394 4850 80.91.229.12 (18 Jun 2009 17:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2009 17:49:54 +0000 (UTC) To: "'martin rudalics'" , <3600@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 18 19:49:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHLkC-0006V7-7H for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2009 19:49:48 +0200 Original-Received: from localhost ([127.0.0.1]:52119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHLkB-0005t1-Nz for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2009 13:49:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHLYG-0007hg-JE for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2009 13:37:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHLYC-0007fm-NU for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2009 13:37:28 -0400 Original-Received: from [199.232.76.173] (port=34061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHLYC-0007fd-AS for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2009 13:37:24 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34043) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MHLYB-0002p1-Jm for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2009 13:37:23 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5IHbLF8016068; Thu, 18 Jun 2009 10:37:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5IHP5PR013867; Thu, 18 Jun 2009 10:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Jun 2009 17:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3600 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3600-submit@emacsbugs.donarmstrong.com id=B3600.124534580913764 (code B ref 3600); Thu, 18 Jun 2009 17:25:05 +0000 Original-Received: (at 3600) by emacsbugs.donarmstrong.com; 18 Jun 2009 17:23:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5IHNPt7013746 for <3600@emacsbugs.donarmstrong.com>; Thu, 18 Jun 2009 10:23:26 -0700 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5IHNGN7022241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Jun 2009 17:23:18 GMT Original-Received: from abhmt008.oracle.com (abhmt008.oracle.com [141.146.116.17]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n5IHNMhT010651; Thu, 18 Jun 2009 17:23:22 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Jun 2009 10:23:15 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4A3A11E7.4060900@gmx.at> Thread-Index: Acnv/NRW1SHyOtxhR7aUsldDe2S+9AAPEbEg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt008.oracle.com [141.146.116.17] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020A.4A3A7804.01B9:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 18 Jun 2009 13:37:28 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28824 Archived-At: > I guess it's a poor man's attempt to make sure that there's some other > window above or below the one to shrink. > > > And doesn't this code raise an error if the `menu-bar-lines' > > parameter is nil? Should it really be doing that? > > Looks like a bug. Could you try the attached patch? Since this code > hasn't been touched for quite some time we can't fix it for Emacs 23.1 > though. I don't know how to try it. What recipe do you suggest? I didn't try anything before; I was just perusing the code, and I wondered what it was trying to do.