Gnus development mailing list
 help / color / mirror / Atom feed
From: Arcady Genkin <a.genkin@utoronto.ca>
Subject: gnus-topic-line-format
Date: 19 Nov 1999 14:36:33 -0500	[thread overview]
Message-ID: <87yabu5l4u.fsf@main.wgaf.net> (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)


             reply	other threads:[~1999-11-19 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-19 19:36 Arcady Genkin [this message]
1999-11-25 17:47 ` gnus-topic-line-format Jack Vinson

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=87yabu5l4u.fsf@main.wgaf.net \
    --to=a.genkin@utoronto.ca \
    /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).