From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50387 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Slighty improved regexps for citations Date: Tue, 25 Feb 2003 22:06:39 +0100 Organization: Lemis World Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1046207535 24678 80.91.224.249 (25 Feb 2003 21:12:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 21:12:15 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18nmLw-0006Jc-00 for ; Tue, 25 Feb 2003 22:11:04 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18nmJe-0004Hs-00; Tue, 25 Feb 2003 15:08:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Feb 2003 15:09:40 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA10420 for ; Tue, 25 Feb 2003 15:09:25 -0600 (CST) Original-Received: (qmail 81750 invoked by alias); 25 Feb 2003 21:08:20 -0000 Original-Received: (qmail 81745 invoked from network); 25 Feb 2003 21:08:20 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 25 Feb 2003 21:08:20 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18nmZ7-0006Tj-00 for ; Tue, 25 Feb 2003 22:24:41 +0100 Original-To: ding@gnus.org Original-Path: wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 85 Original-NNTP-Posting-Host: p62.246.146.198.tisdip.tiscali.de Original-X-Trace: quimby.gnus.org 1046208281 24906 62.246.146.198 (25 Feb 2003 21:24:41 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 25 Feb 2003 21:24:41 GMT X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Mail-Copies-To: never User-Agent: Oort Gnus v0.16 Hamster/2.0.0.1 Cancel-Lock: sha1:CkkB6jqFMxZejETED/eP+8IODWg= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50387 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50387 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sorry there was a little error (I forgot the true-part in the regexp for message.el). Here is the correct patch (the other one again so it's more convenient for the one who commits) Here something for the changelog: 2003-02-25 Karl Pflästerer * message.el (message-cite-prefix-regexp): added `:' and `#' * deuglify.el (gnus-outlook-deuglify-cite-marks): added `:' --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=message.el.diff Content-Description: patch(2) for message.el Index: message.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v retrieving revision 6.306 diff -u -r6.306 message.el --- message.el 23 Feb 2003 13:39:47 -0000 6.306 +++ message.el 25 Feb 2003 21:10:13 -0000 @@ -488,8 +488,9 @@ :type 'regexp) (defcustom message-cite-prefix-regexp +(setq message-cite-prefix-regexp (if (string-match "[[:digit:]]" "1") ;; support POSIX? - "\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>|}+]\\)+" + "\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>|:#}+]\\)+" ;; ?-, ?_ or ?. MUST NOT be in syntax entry w. (let ((old-table (syntax-table)) non-word-constituents) @@ -504,7 +505,7 @@ "\\([ \t]*\\(\\w\\)+>+\\|[ \t]*[]>|}+]\\)+" (concat "\\([ \t]*\\(\\w\\|[" non-word-constituents - "]\\)+>+\\|[ \t]*[]>|}+]\\)+")))) + "]\\)+>+\\|[ \t]*[]>|:#}+]\\)+")))) "*Regexp matching the longest possible citation prefix on a line." :group 'message-insertion :type 'regexp) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=deuglify.el.diff Content-Description: patch for deuglify.el Index: deuglify.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/deuglify.el,v retrieving revision 6.10 diff -u -r6.10 deuglify.el --- deuglify.el 8 Feb 2003 21:20:53 -0000 6.10 +++ deuglify.el 25 Feb 2003 20:33:47 -0000 @@ -244,7 +244,7 @@ :type 'number :group 'gnus-outlook-deuglify) -(defcustom gnus-outlook-deuglify-cite-marks ">|#%" +(defcustom gnus-outlook-deuglify-cite-marks ">|#%:" "Characters that indicate cited lines." :type 'string :group 'gnus-outlook-deuglify) --=-=-= bye KP -- He took his vorpal sword in hand: Long time the manxome foe he sought-- So rested he by the Tumtum tree, And stood awhile in thought. "Lewis Carroll" "Jabberwocky" --=-=-=--