Gnus development mailing list
 help / color / mirror / Atom feed
* highlight cite in unprefixed articles
@ 1996-01-17  2:07 Markus Linnala
  1996-01-17 19:36 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Linnala @ 1996-01-17  2:07 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]


How can Gnus highlight cited text in unprefixed articles?
Examples:
------------------------------------------------------------------------

In article <foobaar@kaarne.cs.tut.fi> xxx@kaarne.cs.tut.fi (Xxx Xxxx) writes:

   Wn zvahfgn xha ar gnnf bing ar nvabng cnvxxnnafncvgäiäg crehfgrrrg
   xbexrna gnfba buwryzbvagvxvryvä infgnna. P-xbbqvfgn ghyrr iäxvfvaxva

nv zvgäxöuna gnexvfghxfvn? Nvavva, cnxbyyvara gbvzvvxbuna gäzä xbbqv inv rv? :)
Bbcf, n-buwryzbvwnuna ghbyynvfra gnexvfghxfra wbhghh xbbqvvafn wäggäzääa :) :)
------------------------------------------------------------------------
or (no attributions at all, but there is In-Reply-to:-header)
------------------------------------------------------------------------
In-reply-to: xxxx@xxx.xxx.fi's message of 19 Dec 1995 19:58:58 +0200


   Wbf wbxh gvrgää xbarra, wbffn A xälggvfgä ibv fhbenna eäcrygää enhgnn
   wn gbvzvn, äyäugäxööa.  Zäfäqbffv+jvagbbfn-luqvfgryzäxääa rv avva gbvzv.

Zvahyyn nvanxva ba fryynvara. Qbf ibv ghaarghfgv eäcrygää uneqvferxvfgrerwä
fhbenna, wn yvahxfva qbffvrzha nyyn clbevv uliva xnxfv gnv hfrnzcvn qbf-
------------------------------------------------------------------------

I think you can't add ' ' or \t' to gnus-cite-prefix-regexp without
breaking something.

Gnus should check /^[ \t]+/-cites if/and/or
-there is loose attributions
-Subject: Re:-, In-Reply-To:- or Reference:-headers exist
-there is headers at the article body.

'*' is used to cite articles and to bullet text. 

I think gnus-cite-prefix-regexp should convert to
gnus-cite-prefix-regexp-list. Check first item till there should not
be any citations left.

Something like: (dunno if regexps are working ones)
(setq gnus-cite-prefix-regexp-list
      '("^[]>|:}+»]*[]>|:}+»]\\(.*>\\)?\\|^.*>"
        "[ö%&]"
        "[ \t]+"))

-- 
//Markus - how about `Holy War!' against netters not using >'s


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: highlight cite in unprefixed articles
  1996-01-17  2:07 highlight cite in unprefixed articles Markus Linnala
@ 1996-01-17 19:36 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-17 19:36 UTC (permalink / raw)


Markus Linnala <maage@cs.tut.fi> writes:

> How can Gnus highlight cited text in unprefixed articles?

   There's no reliable way to highlight articles that use just spaces
to indent cited text -- you'll get more false hits as you'll get get
recognition of cited text.

   Is this text cited, for instance?

-- 
Home is where the cat is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-01-17 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-17  2:07 highlight cite in unprefixed articles Markus Linnala
1996-01-17 19:36 ` Lars Magne Ingebrigtsen

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