Gnus development mailing list
 help / color / mirror / Atom feed
From: Christoph Conrad <christoph.conrad@gmx.de>
Cc: ding@gnus.org
Subject: Re: gnus-summary-enter-digest-group: How to set the summary line format?
Date: 31 May 2001 23:59:48 +0200	[thread overview]
Message-ID: <m3snhl2o3i.fsf@gmx.de> (raw)
In-Reply-To: <vafhey12a88.fsf@lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "31 May 2001 10:28:39 +0200")

Hallo Kai,

du schreibst:

    > You can add something to gnus-summary-generate-hook that checks
    > the group name and frobs gnus-summary-line-format accordingly.

I thought about it; someone has to re-establish the global value of
gnus-summary-line-format when using this approach. In the end i came
up with another solution:

;; change summary line format in digests
(defadvice gnus-summary-read-group
  ( around gnus-summary-read-group-digest-summary-line act )
  (let ( (gnus-summary-line-format gnus-summary-line-format) )
    (when (and gnus-newsgroup-name
               (string-match "comp.risks$" gnus-newsgroup-name))
      (setq gnus-summary-line-format
            "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"))
    ad-do-it))

Best regards,
cu, -cc-
-- 
=> GNU Emacs Webring @ <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!


  reply	other threads:[~2001-05-31 21:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-31  7:10 Christoph Conrad
2001-05-31  8:28 ` Kai Großjohann
2001-05-31 21:59   ` Christoph Conrad [this message]
2001-06-01  6:40     ` Kai Großjohann

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=m3snhl2o3i.fsf@gmx.de \
    --to=christoph.conrad@gmx.de \
    --cc=ding@gnus.org \
    /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).