Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: probem with mime parts face
Date: Mon, 04 Jun 2007 19:40:47 +0900	[thread overview]
Message-ID: <b4mmyzg0zps.fsf@jpl.org> (raw)
In-Reply-To: <87hcpreb4c.fsf@poczta.po.opole.pl>

>>>>> In <87hcpreb4c.fsf@poczta.po.opole.pl> Seweryn Kokot wrote:

> I have an email with 6 parts (text/plain). In Article buffer I type K b
> to distinguish them and have button for each file. Then I type RET on a
> button which hides the text and after typing again RET I get the text
> but with different foreground face of the text, namely
> boldface. Preferably this action should not change the face of the
> text. Is it a bug? I'm using Gnus v5.11 under Debian Unstable

> Any idea?

This workaround will do the trick:

(setq gnus-article-button-face nil)

Each MIME button has three faces; one is the `bold' face which
`gnus-parse-format' adds according to `gnus-mime-button-line-format',
and the others are the `gnus-button' face and the `widget-button'
face.  The former uses a text property and the others use
overlays.  The cause of the problem is that inserted text part
inherits the `gnus-button' face of the next MIME button.  The
workaround prevents Gnus from putting that face.

I think the appearance of MIME buttons should be controlled by
only the `gnus-button' face.  However, Gnus uses two (or more)
faces not only there but also here and there.  Moreover, I don't
know why the `widget-button' face is not inherited to the
inserted text part.  Anyway, I need to look into it further...



  reply	other threads:[~2007-06-04 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 19:19 Seweryn Kokot
2007-06-04 10:40 ` Katsumi Yamaoka [this message]
2007-06-05 11:43   ` Katsumi Yamaoka
2007-06-05 20:56     ` Seweryn Kokot

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=b4mmyzg0zps.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).