[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no gnus-cite-prefix-regexp in gnus 5.11?
From: |
Katsumi Yamaoka |
Subject: |
Re: no gnus-cite-prefix-regexp in gnus 5.11? |
Date: |
Wed, 04 Jul 2007 09:37:35 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
::::: In <6uejjpz6d6.fsf@clpc78.comlab> poppyer wrote:
: I have just upgrade to gnus 5.11, where I found that the lines
: started with ":" is not recognized as citations. And I can not find the
: gnus-cite-prefix-regexp to customize. Any idea?
For Gnus v5.11 `message-cite-prefix-regexp' is what you look for.
If you use Emacs, not XEmacs, this will work:
(setq message-cite-prefix-regexp
"\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>|}+:]\\)+")
If you want this variable not to be modified globally, use this:
(defadvice gnus-cite-parse (around recognize-colon-as-citation
activate)
"Recognize lines started with `:' as citations."
(let ((message-cite-prefix-regexp
"\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>|}+:]\\)+"))
ad-do-it))