From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50400 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: Slighty improved regexps for citations Date: Wed, 26 Feb 2003 17:37:59 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1046277524 26954 80.91.224.249 (26 Feb 2003 16:38:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2003 16:38:44 +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 18o4Zt-00070F-00 for ; Wed, 26 Feb 2003 17:38:41 +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 18o4ZZ-00082e-00; Wed, 26 Feb 2003 10:38:21 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Feb 2003 10:39:20 -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 KAA13219 for ; Wed, 26 Feb 2003 10:39:06 -0600 (CST) Original-Received: (qmail 34552 invoked by alias); 26 Feb 2003 16:38:02 -0000 Original-Received: (qmail 34547 invoked from network); 26 Feb 2003 16:38:02 -0000 Original-Received: from theotp5.physik.uni-ulm.de (134.60.10.145) by 66.230.238.6 with SMTP; 26 Feb 2003 16:38:02 -0000 Original-Received: (from ste@localhost) by theotp5.physik.uni-ulm.de (8.11.2/8.11.2) id h1QGc0r02916; Wed, 26 Feb 2003 17:38:00 +0100 X-Authentication-Warning: theotp5.physik.uni-ulm.de: ste set sender to 4.uce.03.r.s@nurfuerspam.de using -f Original-To: ding@gnus.org X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody Mail-Followup-To: ding@gnus.org In-Reply-To: (Frank Schmitt's message of "Wed, 26 Feb 2003 00:09:27 +0100") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2.95 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50400 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50400 On Wed, Feb 26 2003, Frank Schmitt wrote: > sigurd@12move.de (Karl Pfl=E4sterer) writes: >> I found the reason now and IMO it's worth to discuss again about >> it. JFTR: ff. >> The reason was that people if they /wrote/ a message and a colon was the >> first sign in a line gnus thought this line was a quote and so used the >> text colour to indicate a citation.=20=20 Ah, `message' is required from `gnus-cite.el' and the function `gnus-cite-parse' uses `message-cite-prefix-regexp'. >> IMO that happens rather seldom but more often I see articles with a >> colon as indicator for a citation. As there seem to be different preferences, I'd suggest to decompose `message-cite-prefix-regexp'. The current value looks quite complicated, so users might be afraid to change it. ;-) What about adding a simpler variable `message-cite-prefix-chars' (or a list?) with default value of say `>', `|' and `}' (string ">|}" or a list). Then the user could easily add some chars (with concat, add-to-list, ...?). Or add a variable for extra chars (empty by default) that is integrated into `message-cite-prefix-regexp' during the initialization of this variable. What do you think? > The right solution would be (IMO) to have two categories of citation > marks: Frequently used ones and seldom used ones. > > For the seldom used ones, Gnus should only mark lines beginning with > those as quotes if the are several such lines. Nice idea. It this feasible? (I don't grok that font-lock stuff.) Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/