* gnus-topic-line-format
@ 1999-11-19 19:36 Arcady Genkin
1999-11-25 17:47 ` gnus-topic-line-format Jack Vinson
0 siblings, 1 reply; 2+ messages in thread
From: Arcady Genkin @ 1999-11-19 19:36 UTC (permalink / raw)
I have been experimenting with various hooks. I did the following:
(add-hook 'gnus-topic-mode-hook
'(lambda ()
(setq gnus-topic-line-format "%i %(%{%n -- %A%}%)%v\n")))
(add-hook 'gnus-group-mode-hook
'(lambda ()
(setq gnus-group-line-format "%M%S%p%P%5y: %(%G%)%l\n"
gnus-large-newsgroup 400)
(gnus-topic-mode)))
When I start Gnus, the topic-line is not formatted the way I specified
in gnus-topic-line-format. However, if I exit and re-enter topic mode
('t', 't'), then the line is formatted the way I wanted it.
Isn't gnus-topic-mode-hook run the *first* time topic mode is entered?
Thanks,
--
Arcady Genkin http://wgaf.dyndns.org
"'What good is my pity? Is not the pity the cross upon which he who
loves man is nailed?..'" (Zarathustra - F. Nietzsche)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnus-topic-line-format
1999-11-19 19:36 gnus-topic-line-format Arcady Genkin
@ 1999-11-25 17:47 ` Jack Vinson
0 siblings, 0 replies; 2+ messages in thread
From: Jack Vinson @ 1999-11-25 17:47 UTC (permalink / raw)
>>>>> "AG" == Arcady Genkin <a.genkin@utoronto.ca> writes:
[...]
[snip hooks to set -line-formats]
AG> When I start Gnus, the topic-line is not formatted the way I specified
AG> in gnus-topic-line-format. However, if I exit and re-enter topic mode
AG> ('t', 't'), then the line is formatted the way I wanted it.
AG> Isn't gnus-topic-mode-hook run the *first* time topic mode is entered?
Yes, but there are funny things with the various -line-format variables.
The help text for gnus-group-line-format says, among other things:
Also note that if you change the format specification to include any
of these specs, you must probably re-start Gnus to see them go into
effect.
This sounds like it refers only to some specific format specifiers.
However, I recall past conversations where the -line-format's only took
hold if you did something special after modifying them. I couldn't find
anything in a quick review of the -line-format variables. (There are lots
of them!)
--
Jack Vinson <jvinson@chevax.ecs.umass.edu> http://www.cis.upenn.edu/~vinson/
Zippy: That's a decision that can only be made between you & SY SPERLING!!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-11-25 17:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-19 19:36 gnus-topic-line-format Arcady Genkin
1999-11-25 17:47 ` gnus-topic-line-format Jack Vinson
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).