From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: Slighty improved regexps for citations
Date: Wed, 26 Feb 2003 17:37:59 +0100 [thread overview]
Message-ID: <v9vfz7atg8.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <ubs10hs9k.fsf@hschmi22.userfqdn.rz-online.de> (Frank Schmitt's message of "Wed, 26 Feb 2003 00:09:27 +0100")
On Wed, Feb 26 2003, Frank Schmitt wrote:
> sigurd@12move.de (Karl Pflästerer) writes:
>> I found the reason now and IMO it's worth to discuss again about
>> it.
JFTR: <news:81sn1ji51m.fsf@zion.bpnetworks.com> ff.
<URL:http://news.gmane.org/onethread.php?group=gmane.emacs.gnus.general&
root=%3C81sn1ji51m.fsf@zion.bpnetworks.com%3E>
>> 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.
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.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
next prev parent reply other threads:[~2003-02-26 16:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 20:27 Karl Pflästerer
2003-02-25 21:06 ` Karl Pflästerer
[not found] ` <hhk7fnrxnc.fsf@blah.pl>
2003-02-26 17:05 ` Karl Pflästerer
2003-02-25 21:19 ` Reiner Steib
2003-02-25 22:05 ` Karl Pflästerer
2003-02-25 22:27 ` Karl Pflästerer
2003-02-25 23:09 ` Frank Schmitt
2003-02-26 16:37 ` Reiner Steib [this message]
2003-02-26 17:59 ` Karl Pflästerer
2003-02-26 22:11 ` Karl Pflästerer
2003-02-25 21:33 ` Raymond Scholz
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=v9vfz7atg8.fsf@marauder.physik.uni-ulm.de \
--to=4.uce.03.r.s@nurfuerspam.de \
--cc=reiner.steib@gmx.de \
/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).