From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27095 Path: main.gmane.org!not-for-mail From: Arcady Genkin Newsgroups: gmane.emacs.gnus.general Subject: gnus-topic-line-format Date: 19 Nov 1999 14:36:33 -0500 Organization: Wgaf Sender: owner-ding@hpc.uh.edu Message-ID: <87yabu5l4u.fsf@main.wgaf.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164183 22865 80.91.224.250 (21 Oct 2002 01:36:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:36:23 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA19603 for ; Fri, 19 Nov 1999 14:37:41 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB09587; Fri, 19 Nov 1999 13:37:36 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Nov 1999 13:37:17 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA09853 for ; Fri, 19 Nov 1999 13:37:06 -0600 (CST) Original-Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA19584 for ; Fri, 19 Nov 1999 14:36:38 -0500 (EST) Original-Received: from main.wgaf.net ([24.114.152.71]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with ESMTP id <19991119193437.TFPM7575.mail.rdc3.on.home.com@main.wgaf.net> for ; Fri, 19 Nov 1999 11:34:37 -0800 Original-Received: from antipode by main.wgaf.net with local (Exim 2.05 #1 (Debian)) id 11otph-0002FB-00; Fri, 19 Nov 1999 14:36:33 -0500 Original-To: ding@gnus.org X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Original-Lines: 23 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) XEmacs/21.1 (Biscayne) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27095 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)