From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6188 Path: main.gmane.org!not-for-mail From: Sten Drescher Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-buffer-configuration bug? Date: 09 May 1996 16:10:39 -0500 Sender: stend@dogbert.tivoli.com Message-ID: References: <199605042146.QAA12601@grendel.texas.net> <199605051722.MAA02138@grendel.texas.net> <10394.831500185@blackbird.mitre.org> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146680 2815 80.91.224.250 (20 Oct 2002 20:44:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:44:40 +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 OAA21704 for ; Thu, 9 May 1996 14:59:58 -0700 Original-Received: from tivoli.com (tivoli.tivoli.com [146.84.1.5]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 9 May 1996 23:12:42 +0200 Original-Received: from dogbert.tivoli.com (dogbert.tivoli.com [146.84.5.8]) by tivoli.com (8.6.10/8.6.9-ESMTP) with ESMTP id QAA14759 for ; Thu, 9 May 1996 16:12:02 -0500 Original-Received: by dogbert.tivoli.com (SMI-8.6/SMI-SVR4) id QAA15819; Thu, 9 May 1996 16:10:40 -0500 Original-To: Gnus Development In-Reply-To: Jason L Tibbitts III's message of 07 May 1996 22:22:49 -0500 Original-Lines: 33 X-Mailer: September Gnus v0.81/Emacs 19.30 Xref: main.gmane.org gmane.emacs.gnus.general:6188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6188 >>>>> Jason L Tibbitts writes: JLT> I have a horizontal split that doesn't go all the way down the JLT> page. The top of the screen is split in two (subject and tree JLT> views) with the article at the bottom. All I cared about was JLT> that there was as much space as possible in the bottom mode line JLT> for the subject of the message. The new GNUS behavior breaks JLT> that; there's wasted space at the right of the longer mode line. This could be because the default mode lines use %%b, which lets emacs put in the buffer name. Since Gnus doesn't look at that when truncating the line, you have to add a large constant to the gnus-mode-non-string-length. My solution has been to take %%b out of the mode lines (since the emacs-added portion contains the mode name), and use the following display-time-hook: (add-hook 'display-time-hook (lambda () (setq gnus-mode-non-string-length (+ 15 (length display-time-string) (length mode-name) (length mode-line-process) (if line-number-mode 5 0) (if column-number-mode 4 0))))) -- +---------------------- Tivoli Customer Support ----------------------+ | Sten Drescher Tivoli Systems, Inc | | email: sten.drescher@tivoli.com 9442 Capital of Texas Hwy North | | phone: (512) 794-9070 Arboretum Plaza One, Suite 500 | | fax : (512) 345-2784 Austin, Texas 78759 | +-----------------------------------------------------------------------+