Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-buffer-configuration bug?
@ 1996-05-03 18:24 Sten Drescher
  1996-05-04 19:51 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Sten Drescher @ 1996-05-03 18:24 UTC (permalink / raw)



When I do a horizontal split, the mode line isn't working right.  I
display the time in the mode line, so I do:

(add-hook 'display-time-hook
	  (lambda () (setq gnus-mode-non-string-length 
			   (+ 29 (length display-time-string)))))

	It looks like, in a horizontal split, sgnus 0.80 is still
creating the mode line like it has the full line width, rather than
just part of it.  Is this a known problem, or am I doing something
wrong here?

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-03 18:24 gnus-buffer-configuration bug? Sten Drescher
@ 1996-05-04 19:51 ` Lars Magne Ingebrigtsen
  1996-05-04 21:46   ` Sten Drescher
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-05-04 19:51 UTC (permalink / raw)


Sten Drescher <sten.drescher@tivoli.com> writes:

> When I do a horizontal split, the mode line isn't working right.  I
> display the time in the mode line, so I do:
> 
> (add-hook 'display-time-hook
> 	  (lambda () (setq gnus-mode-non-string-length 
> 			   (+ 29 (length display-time-string)))))

`gnus-mode-non-string-length' is no longer used by default.  The
buffer names (etc) are all shown unabbreviated, and will push other
items off the mode line.  If you have other stuff on the mode line,
you should either do what you've done here, or modify
`gnus-summary-mode-line-format' (and so on).

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-04 19:51 ` Lars Magne Ingebrigtsen
@ 1996-05-04 21:46   ` Sten Drescher
  1996-05-05 11:46     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Sten Drescher @ 1996-05-04 21:46 UTC (permalink / raw)
  Cc: ding

>>>>> Lars Magne Ingebrigtsen writes:

LMI> Sten Drescher <sten.drescher@tivoli.com> writes:
>> When I do a horizontal split, the mode line isn't working right.  I
>> display the time in the mode line, so I do:
>> 
>> (add-hook 'display-time-hook (lambda () (setq
>> gnus-mode-non-string-length (+ 29 (length display-time-string)))))

LMI> `gnus-mode-non-string-length' is no longer used by default.  The
LMI> buffer names (etc) are all shown unabbreviated, and will push
LMI> other items off the mode line.  If you have other stuff on the
LMI> mode line, you should either do what you've done here, or modify
LMI> `gnus-summary-mode-line-format' (and so on).

	But I `did what you've done here`, and it's still getting
pushed off.  If doing this is supposed to fix that, it doesn't, and
it's a bug.

	Sten

-- 
#include <disclaimer.h>                               /* Sten Drescher */
ObCDABait:      For she doted upon their paramours, whose flesh is as the
flesh of asses, and whose issue is like the issue of horses.  [Eze 23:20]
Unsolicited email advertisements will be proofread for a US$100/page fee.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-04 21:46   ` Sten Drescher
@ 1996-05-05 11:46     ` Lars Magne Ingebrigtsen
  1996-05-05 17:22       ` Sten Drescher
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-05-05 11:46 UTC (permalink / raw)


Sten Drescher <stend@grendel.texas.net> writes:

> 	But I `did what you've done here`, and it's still getting
> pushed off.  If doing this is supposed to fix that, it doesn't, and
> it's a bug.

Yup.  The function used `frame-width' instead of `window-width'.  Fix
in 0.81.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  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-07 20:16         ` Dave Goldberg
  0 siblings, 2 replies; 10+ messages in thread
From: Sten Drescher @ 1996-05-05 17:22 UTC (permalink / raw)


>>>>> Lars Magne Ingebrigtsen writes:

LMI> Sten Drescher <stend@grendel.texas.net> writes:
>> But I `did what you've done here`, and it's still getting pushed
>> off.  If doing this is supposed to fix that, it doesn't, and it's a
>> bug.

LMI> Yup.  The function used `frame-width' instead of `window-width'.
LMI> Fix in 0.81.

	Question to the readers at large: Am I the only one here who
is using a horizontal split and the time in the mode line?  I ask
because this bug has been in since Gnus 5.0.15.

-- 
#include <disclaimer.h>                               /* Sten Drescher */
ObCDABait:      For she doted upon their paramours, whose flesh is as the
flesh of asses, and whose issue is like the issue of horses.  [Eze 23:20]
Unsolicited email advertisements will be proofread for a US$100/page fee.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-05-05 21:51 UTC (permalink / raw)


Sten Drescher <stend@grendel.texas.net> writes:

> 	Question to the readers at large: Am I the only one here who
> is using a horizontal split and the time in the mode line?  I ask
> because this bug has been in since Gnus 5.0.15.

And you haven't reported it before?  Tsk, tsk.  :-)

But I guess most people use multiple frames instead of horizontal
splits.  At least that's my impression.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-05 21:51         ` Lars Magne Ingebrigtsen
@ 1996-05-06  5:09           ` Sten Drescher
  0 siblings, 0 replies; 10+ messages in thread
From: Sten Drescher @ 1996-05-06  5:09 UTC (permalink / raw)
  Cc: ding

>>>>> Lars Magne Ingebrigtsen writes:

LMI> Sten Drescher <stend@grendel.texas.net> writes:
>> Question to the readers at large: Am I the only one here who is
>> using a horizontal split and the time in the mode line?  I ask
>> because this bug has been in since Gnus 5.0.15.

LMI> And you haven't reported it before?  Tsk, tsk.  :-)

	I just hadn't taken the time to reconfigure the windows 'till
now.  And since I'm only running emacs 19.29 at home (off a CD - I
don't have the HD space to install 19.30), I'm using Gnus 5.0.15, as
opposed to emacs 19.30 and sgnus 0.80 at work.

LMI> But I guess most people use multiple frames instead of horizontal
LMI> splits.  At least that's my impression.

	Well, I have enough windows floating around my screens as it
is - I like the idea of keeping related info in one window, although I
tend to pop up a separate frame for Info, and editing .emacs and
.gnus.

	Sten

-- 
#include <disclaimer.h>                               /* Sten Drescher */
ObCDABait:      For she doted upon their paramours, whose flesh is as the
flesh of asses, and whose issue is like the issue of horses.  [Eze 23:20]
Unsolicited email advertisements will be proofread for a US$100/page fee.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-05 17:22       ` Sten Drescher
  1996-05-05 21:51         ` Lars Magne Ingebrigtsen
@ 1996-05-07 20:16         ` Dave Goldberg
  1996-05-08  3:22           ` Jason L Tibbitts III
  1 sibling, 1 reply; 10+ messages in thread
From: Dave Goldberg @ 1996-05-07 20:16 UTC (permalink / raw)
  Cc: ding


> 	Question to the readers at large: Am I the only one here who
> is using a horizontal split and the time in the mode line?  I ask
> because this bug has been in since Gnus 5.0.15.

Nope. Me too.  I've just ignored it. I look at the mode line so rarely
I don't think I noticed it until your initial message.

Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg@mitre.org


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-07 20:16         ` Dave Goldberg
@ 1996-05-08  3:22           ` Jason L Tibbitts III
  1996-05-09 21:10             ` Sten Drescher
  0 siblings, 1 reply; 10+ messages in thread
From: Jason L Tibbitts III @ 1996-05-08  3:22 UTC (permalink / raw)


>>>>> "DG" == Dave Goldberg <dsg@linus.mitre.org> writes:

DG> Nope. Me too.  I've just ignored it. I look at the mode line so rarely
DG> I don't think I noticed it until your initial message.

I have a horizontal split that doesn't go all the way down the page.  The
top of the screen is split in two (subject and tree views) with the article
at the bottom.  All I cared about was that there was as much space as
possible in the bottom mode line for the subject of the message.  The new
GNUS behavior breaks that; there's wasted space at the right of the longer
mode line.
-- 
      Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager:  University of Houston High Performance Computing Center
                1994 PC800 "Kuroneko"      DoD# 1723


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: gnus-buffer-configuration bug?
  1996-05-08  3:22           ` Jason L Tibbitts III
@ 1996-05-09 21:10             ` Sten Drescher
  0 siblings, 0 replies; 10+ messages in thread
From: Sten Drescher @ 1996-05-09 21:10 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1996-05-09 21:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-03 18:24 gnus-buffer-configuration bug? 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 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).