Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* no gnus-cite-prefix-regexp in gnus 5.11?
@ 2007-07-03 18:31 poppyer
  2007-07-03 19:00 ` Tassilo Horn
  2007-07-04  0:37 ` Katsumi Yamaoka
  0 siblings, 2 replies; 3+ messages in thread
From: poppyer @ 2007-07-03 18:31 UTC (permalink / raw)
  To: info-gnus-english

Hi, all,

       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?



-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no gnus-cite-prefix-regexp in gnus 5.11?
  2007-07-03 18:31 no gnus-cite-prefix-regexp in gnus 5.11? poppyer
@ 2007-07-03 19:00 ` Tassilo Horn
  2007-07-04  0:37 ` Katsumi Yamaoka
  1 sibling, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2007-07-03 19:00 UTC (permalink / raw)
  To: info-gnus-english

poppyer <poppyer@gmail.com> writes:

Hi,

>        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?

,----[ /usr/portage/distfiles/cvs-src/gnus/lisp/ChangeLog ]
| 2007-02-07  Katsumi Yamaoka  <yamaoka@jpl.org>
| 
| 	* gnus-cite.el (gnus-cite-face-list): Set the values of
| 	gnus-message-max-citation-depth and gnus-message-citation-keywords.
| 	(gnus-message-max-citation-depth): Use defvar rather than defconst.
| 	(gnus-message-cite-prefix-regexp): New variable.
|    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| 	(gnus-message-search-citation-line): Use it; protect against long
| 	citation prefix; fill match data with nil rather than 0 for XEmacs; set
| 	the 0th match data for Emacs.
| 	(gnus-message-citation-keywords): Set LAXMATCH flag in every HIGHLIGHT.
| 	(gnus-message-add-citation-keywords): Append keywords rather than
| 	prepending; emulate font-lock-add-keywords if it is not available.
| 	(gnus-message-remove-citation-keywords): Emulate
| 	font-lock-remove-keywords if it is not available.
`----

HTH,
Tassilo
-- 
Chuck  Norris doesn't  say  "who's  your daddy",  because  he knows  the
answer.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no gnus-cite-prefix-regexp in gnus 5.11?
  2007-07-03 18:31 no gnus-cite-prefix-regexp in gnus 5.11? poppyer
  2007-07-03 19:00 ` Tassilo Horn
@ 2007-07-04  0:37 ` Katsumi Yamaoka
  1 sibling, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2007-07-04  0:37 UTC (permalink / raw)
  To: info-gnus-english

::::: 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))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-04  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 18:31 no gnus-cite-prefix-regexp in gnus 5.11? poppyer
2007-07-03 19:00 ` Tassilo Horn
2007-07-04  0:37 ` Katsumi Yamaoka

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