From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6061 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: idea, a token for splits to call shrink-window-if-larger-than-buffer Date: 28 Apr 1996 05:21:26 -0400 Sender: gsstark@MIT.EDU Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146573 2394 80.91.224.250 (20 Oct 2002 20:42:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:42:53 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id CAA11732 for ; Sun, 28 Apr 1996 02:50:05 -0700 Original-Received: from lola-granola.MIT.EDU (LOLA-GRANOLA.MIT.EDU [18.70.0.26]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sun, 28 Apr 1996 11:21:27 +0200 Original-Received: (from gsstark@localhost) by lola-granola.MIT.EDU (8.7.4/8.6.11) id FAA15708; Sun, 28 Apr 1996 05:21:26 -0400 (EDT) X-Yow: Being a BALD HERO is almost as FESTIVE as a TATTOOED KNOCKWURST. X-spook: NSA security Marxist Semtex Ft. Meade SDI explosion terrorist Original-To: ding@ifi.uio.no Original-Lines: 11 X-Mailer: September Gnus v0.78/Emacs 19.30 Xref: main.gmane.org gmane.emacs.gnus.general:6061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6061 It would be nice if some splits, notably the summary buffer when an article is showing would be minimized by calling shrink-window-if-larger-than-buffer after doing the normal splitting. One disadvantage It might be hard to predict where the extra space would end up. The obvious implementation might be inadequate in this regard, maybe Gnus shouldn't use shrink-if... but instead check window-height directly when calculating window heights. greg