Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: no gnus-cite-prefix-regexp in gnus 5.11?
Date: Wed, 04 Jul 2007 09:37:35 +0900	[thread overview]
Message-ID: <b4m7iphhuls.fsf@jpl.org> (raw)
In-Reply-To: <6uejjpz6d6.fsf@clpc78.comlab>

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

      parent reply	other threads:[~2007-07-04  0:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03 18:31 poppyer
2007-07-03 19:00 ` Tassilo Horn
2007-07-04  0:37 ` Katsumi Yamaoka [this message]

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=b4m7iphhuls.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.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).