Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Norman Walsh <ndw@nwalsh.com>
Cc: ding@gnus.org
Subject: Re: Formatting summary line of '#' marked messages
Date: Thu, 10 May 2007 21:23:29 +0900	[thread overview]
Message-ID: <b4mejloq33y.fsf@jpl.org> (raw)
In-Reply-To: <87wszg7vfg.fsf@nwalsh.com>

>>>>> In <87wszg7vfg.fsf@nwalsh.com> Norman Walsh wrote:

> As long as I'm asking for clues, I've been wanting to change the
> formatting of lines marked with '#' for a while now. I'd like to give
> them a more distinctive face since I most often use them for marking a
> bunch of spam to kill.

> Alas, I got hopelessly lost attempting to decipher the various summary
> mode line variables.

> Clue, please?

Currently there seems to be no option for that.  Here is a
workaround instead:

--8<---------------cut here---------------start------------->8---
(eval-after-load "gnus-sum"
  '(add-hook 'gnus-summary-update-hook
	     (lambda nil
	       (if (memq (gnus-summary-article-number)
			 gnus-newsgroup-processable)
		   (let ((inhibit-read-only t))
		     (put-text-property
		      (point-at-bol) (point-at-eol)
		      'face 'gnus-summary-high-read))))
	     'append))
--8<---------------cut here---------------end--------------->8---

Regards,



  reply	other threads:[~2007-05-10 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 11:46 Norman Walsh
2007-05-10 12:23 ` Katsumi Yamaoka [this message]
2007-05-11  7:25   ` Katsumi Yamaoka

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=b4mejloq33y.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=ndw@nwalsh.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).