Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: _/emphasize/_ both header and body
Date: 07 Oct 1999 03:07:51 -0400 (EDT)	[thread overview]
Message-ID: <yosuvh8jlkc8.fsf@jpl.org> (raw)
In-Reply-To: Yoshiki Hayashi's message of "07 Oct 1999 11:22:21 +0900"

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

I am trying to _/emphasize/_ both header and body using the following
codes:

(setq gnus-treat-emphasize '(or t head))

(eval-after-load "gnus-art"
  '(setq gnus-treatment-function-alist
	 (append
	  (delete '(gnus-treat-emphasize gnus-article-emphasize)
		  gnus-treatment-function-alist)
	  '((gnus-treat-emphasize gnus-article-emphasize)))))

but it does not work.  Because the function `gnus-treat-predicate'
returns nil for `(or t head)' when `condition' is `head'.

This is the patch aimed at the latest CVS source for the problem.
It contains */Hayashi/* -dono's patch in the article
<87ln9f9ag2.fsf@dp50.ecc.u-tokyo.ac.jp>.

1999-10-07  Katsumi Yamaoka <yamaoka@jpl.org>

	* gnus-art.el (gnus-treat-predicate): Examine whether the argument
	is list or not before condition.

1999-10-07  Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>

	* gnus-art.el (gnus-treat-predicate): Work for (typep "something").


[-- Attachment #2: gnus-art.el.diff --]
[-- Type: application/x-patch, Size: 942 bytes --]

[-- Attachment #3: Type: text/plain, Size: 38 bytes --]

-- 
Katsumi Yamaoka <yamaoka@jpl.org>

      reply	other threads:[~1999-10-07  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-07  2:22 gnus-treat-predicate doesn't honor typep Yoshiki Hayashi
1999-10-07  7:07 ` Katsumi Yamaoka [this message]

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=yosuvh8jlkc8.fsf@jpl.org \
    --to=yamaoka@jpl.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).