Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Bug: Gnus uses face gnus-cite-1 for non-cited text
Date: Thu, 08 Feb 2007 22:16:35 +0900	[thread overview]
Message-ID: <b4my7n8kcwc.fsf@jpl.org> (raw)
In-Reply-To: <87r6t0q5b6.fsf@baldur.tsdh.de>

>>>>> In <87r6t0q5b6.fsf@baldur.tsdh.de>
>>>>>	Tassilo Horn <tassilo@member.fsf.org> wrote:

> I tested with this posting:

[...]

>> (text-properties-at (point))

> ==> (fontified t)

>> (mapcar 'overlay-properties (overlays-at (point)))

> ==> ((face gnus-cite-1 evaporate t))

What put this face should be `gnus-article-highlight-citation',
not `gnus-message-citation-mode'.  `gnus-message-citation-mode'
uses font-lock.  font-lock uses text properties, not overlays.
So, I think the culprit is not `gnus-message-citation-mode'.
Evaluating the `(gnus-kill-all-overlays)' form in the message
buffer will delete those faces (you can also add it to some
message-*-hook for the workaround).

I guess that those overlays are copied from the article buffer
for some reason.  Or don't you use `gnus-article-highlight-citation'
purposely in the message buffer?  I've used it like the following
in the past:

(let ((gnus-article-buffer (current-buffer)))
  (gnus-article-highlight-citation t))

Regards,



  reply	other threads:[~2007-02-08 13:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 11:34 Tassilo Horn
2007-02-07  1:43 ` Katsumi Yamaoka
2007-02-07  9:25   ` Katsumi Yamaoka
2007-02-07 11:30   ` Tassilo Horn
2007-02-07 13:20     ` Tassilo Horn
2007-02-08  9:12       ` Katsumi Yamaoka
2007-02-08 11:03         ` Tassilo Horn
2007-02-08 13:16           ` Katsumi Yamaoka [this message]
2007-02-08 14:41             ` Tassilo Horn
2007-02-09  9:35               ` Katsumi Yamaoka
2007-02-09 10:59                 ` Tassilo Horn
2007-02-09 11:08                   ` Tassilo Horn

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