Gnus development mailing list
 help / color / mirror / Atom feed
From: Sten Drescher <sten.drescher@tivoli.com>
Subject: Re: gnus-buffer-configuration bug?
Date: 09 May 1996 16:10:39 -0500	[thread overview]
Message-ID: <vp68a58sds.fsf@dogbert.tivoli.com> (raw)
In-Reply-To: Jason L Tibbitts III's message of 07 May 1996 22:22:49 -0500

>>>>> 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               |
+-----------------------------------------------------------------------+


      reply	other threads:[~1996-05-09 21:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-03 18:24 Sten Drescher
1996-05-04 19:51 ` Lars Magne Ingebrigtsen
1996-05-04 21:46   ` Sten Drescher
1996-05-05 11:46     ` Lars Magne Ingebrigtsen
1996-05-05 17:22       ` Sten Drescher
1996-05-05 21:51         ` Lars Magne Ingebrigtsen
1996-05-06  5:09           ` Sten Drescher
1996-05-07 20:16         ` Dave Goldberg
1996-05-08  3:22           ` Jason L Tibbitts III
1996-05-09 21:10             ` Sten Drescher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vp68a58sds.fsf@dogbert.tivoli.com \
    --to=sten.drescher@tivoli.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).