Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@justresearch.com>
Subject: Re: mail archival idea/feature request
Date: 12 Jul 1999 11:24:04 -0400	[thread overview]
Message-ID: <vxkiu7plwmj.fsf@beaver.jprc.com> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "10 Jul 1999 23:23:02 +0200"

Kai.Grossjohann@CS.Uni-Dortmund.DE writes:
> You can even add stuff to gnus-summary-mode-hook which only puts in
> the date when in nnir groups.

Yup -- I do this for gnus-summary-line-format as well as
gnus-summary-mode-line-format.

(setq gnus-select-group-hook
      (function
       (lambda ()
	 ;; Ignore From: in summary for certain groups.
	 (cond ((string-match "clari." gnus-newsgroup-name)
		(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-6,6n%]%)   %s\n"))
	       ((string-match "comp.sources" gnus-newsgroup-name)
		(setq gnus-summary-line-format "%U%R%z%I%(%[%4L%]%)   %s\n"))
	       ((string-match "nnir:" gnus-newsgroup-name)
		(setq gnus-summary-line-format "%U%R%z [%d] %I%(%[%4L: %-20,20f%]%) %s\n"))
	       (t
		(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n")))
	 ;; Put full newsgroup name in summary mode line for nnir.
	 (setq gnus-summary-mode-line-format
	       (if (string-match "nnir:" gnus-newsgroup-name)
		   "Gnus: %G [%A] %Z" "Gnus: %g [%A] %Z"))
	 )))

See "[%d]", plus "%G" in the mode line, for nnir groups.

The latter is needed due to the fact that %g's provision of a
"shortish" group name makes the resulting nnir ephemeral group name
completely nonsensical, so I want the complete, long name there.


  parent reply	other threads:[~1999-07-12 15:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-09 18:27 Andrew Hobson
1999-07-09 21:04 ` Lars Magne Ingebrigtsen
1999-07-09 21:39   ` Andrew Hobson
1999-07-11  8:58     ` Lars Magne Ingebrigtsen
1999-07-09 22:49 ` Kai.Grossjohann
1999-07-10 13:53   ` Andrew Hobson
1999-07-10 21:23     ` Kai.Grossjohann
1999-07-12 14:50       ` Andrew Hobson
1999-07-12 15:24       ` Karl Kleinpaste [this message]
1999-07-12 15:52   ` Wes Hardaker
1999-07-12 16:13     ` Kai Großjohann
1999-07-12 15:55 ` Wes Hardaker
1999-08-27 17:39   ` Lars Magne Ingebrigtsen
1999-09-01 16:53     ` Wes Hardaker
1999-09-01 19:06       ` Andrew Hobson
1999-09-03 21:32         ` Wes Hardaker
1999-09-03 22:11           ` Andrew Hobson
1999-09-07 17:33             ` Wes Hardaker
1999-09-25  7:51         ` Lars Magne Ingebrigtsen

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=vxkiu7plwmj.fsf@beaver.jprc.com \
    --to=karl@justresearch.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).