From: yamaoka Date: Thu, 12 Apr 2001 23:21:39 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_3-00-quimby~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c12502af1a1da8c50dbf27f1f1f1a552de9f7c;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6edbbc6..1eb9759 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2001-04-10 08:01:15 Katsumi Yamaoka + Committed by ShengHuo ZHU + + * gnus-msg.el (gnus-post-news): Fill the Newsgroups header by the + newsgroup names when the original article is a news message. + +2001-04-12 19:00:00 ShengHuo ZHU + + * message.el (message-cite-prefix-regexp): Use POSIX regexp if + supported. Suggest by Jim Meyering . + 2001-04-02 Nevin Kapur Committed by Kai Gro,A_(Bjohann . diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index a4fe65d..1627f27 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -627,7 +627,13 @@ header line with the old Message-ID." (message-news (or to-group group)) (set-buffer gnus-article-copy) (gnus-msg-treat-broken-reply-to) - (message-followup (if (or newsgroup-p force-news) "" to-group))) + (message-followup (if (or newsgroup-p force-news) + (if (save-restriction + (article-narrow-to-head) + (message-fetch-field "newsgroups")) + nil + "") + to-group))) ;; The is mail. (if post (progn diff --git a/lisp/message.el b/lisp/message.el index e97cf63..240caaa 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -443,8 +443,10 @@ The provided functions are: :type 'regexp) (defcustom message-cite-prefix-regexp - ;; ?-, ?_ or ?. MUST NOT be in syntax entry w. - "\\([ \t]*\\(\\w\\|[-_.]\\)+>+\\|[ \t]*[]>»|:}+]\\)+" + (if (string-match "[[:digit:]]" "1") ;; support POSIX? + "\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>»|:}+]\\)+" + ;; ?-, ?_ or ?. MUST NOT be in syntax entry w. + "\\([ \t]*\\(\\w\\|[-_.]\\)+>+\\|[ \t]*[]>»|:}+]\\)+") "*Regexp matching the longest possible citation prefix on a line." :group 'message-insertion :type 'regexp)