Gnus development mailing list
 help / color / mirror / Atom feed
From: Raja R Harinath <harinath@cs.umn.edu>
Subject: Re: Group based gnus-summary-line-format ?
Date: 16 Mar 1998 17:42:17 -0600	[thread overview]
Message-ID: <d9ra4219uu.fsf@rawana.cs.umn.edu> (raw)
In-Reply-To: Stainless Steel Rat's message of "15 Mar 1998 21:08:55 -0500"

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
> >>>>> "ja" == <jari.aalto@poboxes.com> writes:
> | Isn't it sufficient to set the variable, then call gnus-compile?
> 
> ja> I mean that if I have 5 different summary line formats for 5
> ja> different "type of" Groups: nntp, private mail, mailing list, server
> ja> logs ....
> 
> I have nearly as many.  I have gnus-select-group-hook set an appropriate
> gnus-summary-line-format based on the newsgroup name, then at the end it
> calls gnus-compile.  It does not take that long.

Here's the recommended way to set `gnus-summary-line-format', taken from
gnus-gl.el.  Adapt it to your requirements:

      ;; Change how summary lines look
      (make-local-variable 'gnus-summary-line-format)
      (make-local-variable 'gnus-summary-line-format-spec)
      (setq gnus-summary-line-format gnus-summary-grouplens-line-format)
      (setq gnus-summary-line-format-spec nil)
      (gnus-update-format-specifications nil 'summary)
      (gnus-update-summary-mark-positions)

replacing `gnus-summary-grouplens-line-format' with your prefered
format. 

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash


  parent reply	other threads:[~1998-03-16 23:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-15 12:09 jari.aalto
1998-03-15 19:56 ` Kai Grossjohann
1998-03-15 21:05   ` jari.aalto
     [not found]     ` <x7en03qte0.fsf@peorth.gweep.net>
1998-03-16  2:18       ` Hrvoje Niksic
     [not found]         ` <x7u38zpe1b.fsf@peorth.gweep.net>
1998-03-16  2:54           ` Hrvoje Niksic
     [not found]             ` <x7ra43pbcj.fsf@peorth.gweep.net>
1998-03-16  3:28               ` Hrvoje Niksic
     [not found]                 ` <x7u38z2slw.fsf@peorth.gweep.net>
1998-03-16  4:15                   ` Hrvoje Niksic
1998-03-16 13:07       ` jari.aalto
1998-03-16 23:42       ` Raja R Harinath [this message]
1998-03-19 13:06 ` 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=d9ra4219uu.fsf@rawana.cs.umn.edu \
    --to=harinath@cs.umn.edu \
    /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).