From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Bug: Gnus uses face gnus-cite-1 for non-cited text
Date: Wed, 07 Feb 2007 10:43:57 +0900 [thread overview]
Message-ID: <b4m4ppyoi76.fsf@jpl.org> (raw)
In-Reply-To: <87tzxzsenz.fsf@baldur.tsdh.de>
[-- Attachment #1: Type: text/plain, Size: 921 bytes --]
>>>>> In <87tzxzsenz.fsf@baldur.tsdh.de> Tassilo Horn wrote:
> sometimes when I follow up and yank an article Gnus uses the wrong face
> (gnus-cite-1) for my own, non-cited text. I made a screenshot of this
> bug [1]. As you can see the whole paragraph starting with "Sorry" is
> displayed with gnus-cite-1, whereas all my other paragraphs are
> displayed with the default face.
Showing the local value of `font-lock-keywords' in the message
buffer and the value of `message-cite-prefix-regexp' would be
helpful. In addition, have you changed the value of
`message-cite-prefix-regexp' or added/removed some faces to/from
`gnus-cite-face-list'?
Currently the behavior of `gnus-message-citation-mode' is decided
by those values as of time when Gnus is compiled. So, customizing
those options will not affect the behavior, or it might cause a
trouble if anything. Well, the following patch may possibly do
the trick.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 447 bytes --]
--- gnus-cite.el~ 2007-01-24 07:12:47 +0000
+++ gnus-cite.el 2007-02-07 01:42:02 +0000
@@ -1126,10 +1126,12 @@
"\\)"))
limit t)
(let ((cdepth
+ (min
(length (apply 'concat
(split-string
(match-string-no-properties 0)
- "[ \t [:alnum:]]+"))))
+ "[ \t [:alnum:]]+")))
+ gnus-message-max-citation-depth))
(mlist (make-list (* (1+ gnus-message-max-citation-depth)
2)
0)))
next prev parent reply other threads:[~2007-02-07 1:43 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 [this message]
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
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=b4m4ppyoi76.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).