Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Custom message-cite-prefix-regexp
@ 2007-05-22 16:43 giglio robbo' d'acciaio
  0 siblings, 0 replies; 7+ messages in thread
From: giglio robbo' d'acciaio @ 2007-05-22 16:43 UTC (permalink / raw)
  To: info-gnus-english

My value is "\\([ 	]*[-_.[:word:]]+>+\\|[ 	]*[]>|}:+]\\)+" as suggested
                                                       ^
in order to parse as quoting also rows starting with `:', but it doesn't work
correctly since it parse also `:'s in the middle of rows, (i.e. "http: ...").
Is it possible to enhance it?
-- 
      Daniele Giglio      Dona i tuoi cicli di clock alla ricerca!
      dgiglio@iol.it      http://boinc.berkeley.edu/
                          --------------------
             TASSISTA (1) - Esattore.

             TASSISTA (2) - Zoologo specializzato in tassi.

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

* Re: Custom message-cite-prefix-regexp
  2007-05-23 23:03     ` Katsumi Yamaoka
@ 2007-05-24 14:01       ` giglio robbo' d'acciaio
  0 siblings, 0 replies; 7+ messages in thread
From: giglio robbo' d'acciaio @ 2007-05-24 14:01 UTC (permalink / raw)
  To: info-gnus-english

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> : This line is highlighted with a certain color.
> :: This line is highlighted with another color.
> These lines are not highlighted:
> http://www.gnu.org/ is the GNU home page.
> The Gnus home page is http://www.gnus.org/.

Yes, you're right. Maybe it's due to the custom color-scheme I use.
Bye.
-- 
      Daniele Giglio      Dona i tuoi cicli di clock alla ricerca!
      dgiglio@iol.it      http://boinc.berkeley.edu/
                          --------------------
    Quando i ceci diventano verdi dalla rabbia si chiamano piselli.

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

* Re: Custom message-cite-prefix-regexp
       [not found]   ` <mailman.1089.1179937550.32220.info-gnus-english@gnu.org>
@ 2007-05-23 23:03     ` Katsumi Yamaoka
  2007-05-24 14:01       ` giglio robbo' d'acciaio
  0 siblings, 1 reply; 7+ messages in thread
From: Katsumi Yamaoka @ 2007-05-23 23:03 UTC (permalink / raw)
  To: info-gnus-english

>>>>> In <mailman.1089.1179937550.32220.info-gnus-english@gnu.org>
>>>>>	giglio robbo' d'acciaio wrote:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> What situation did you write about?  I couldn't reproduce the
>> problem in hilighting citations in the article buffer.  Because
>> the regexp used then is the one that the value of `m-c-p-r' is
>> surrounded with "^\\(" ... "\\)"

> I'm not sure I had unterstood your reply, but this is what I have in my
> .emacs:

>  '(message-cite-prefix-regexp "\\([ 	]*[-_.[:word:]]+>+\\|[ ]*[]>|}:+]\\)+")

> Note that the default value lacks the `:' after `}'.

I've tried the one exactly the same as yours.

: This line is highlighted with a certain color.
:: This line is highlighted with another color.
These lines are not highlighted:
http://www.gnu.org/ is the GNU home page.
The Gnus home page is http://www.gnus.org/.

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

* Re: Custom message-cite-prefix-regexp
  2007-05-23 12:09 ` Katsumi Yamaoka
@ 2007-05-23 13:51   ` giglio robbo' d'acciaio
       [not found]   ` <mailman.1089.1179937550.32220.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 7+ messages in thread
From: giglio robbo' d'acciaio @ 2007-05-23 13:51 UTC (permalink / raw)
  To: info-gnus-english

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> What situation did you write about?  I couldn't reproduce the
> problem in hilighting citations in the article buffer.  Because
> the regexp used then is the one that the value of `m-c-p-r' is
> surrounded with "^\\(" ... "\\)"

I'm not sure I had unterstood your reply, but this is what I have in my
.emacs:

--8<---------------cut here---------------start------------->8---
 '(message-cite-prefix-regexp "\\([ 	]*[-_.[:word:]]+>+\\|[ ]*[]>|}:+]\\)+")
--8<---------------cut here---------------end--------------->8---

Note that the default value lacks the `:' after `}'.
-- 
      Daniele Giglio      Dona i tuoi cicli di clock alla ricerca!
      dgiglio@iol.it      http://boinc.berkeley.edu/
                          --------------------
                  - Come rendi Windows 98 piu' veloce?
                  - Lo getti con piu' forza.

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

* Re: Custom message-cite-prefix-regexp
       [not found] <mailman.1059.1179913513.32220.info-gnus-english@gnu.org>
@ 2007-05-23 12:09 ` Katsumi Yamaoka
  2007-05-23 13:51   ` giglio robbo' d'acciaio
       [not found]   ` <mailman.1089.1179937550.32220.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Katsumi Yamaoka @ 2007-05-23 12:09 UTC (permalink / raw)
  To: info-gnus-english

>>>>> In <mailman.1059.1179913513.32220.info-gnus-english@gnu.org>
>>>>>	giglio robbo' d'acciaio wrote:

> My value is "\\([ 	]*[-_.[:word:]]+>+\\|[ 	]*[]>|}:+]\\)+" as suggested
>                                                        ^
> in order to parse as quoting also rows starting with `:', but it doesn't work
> correctly since it parse also `:'s in the middle of rows, (i.e. "http: ...").
> Is it possible to enhance it?

What situation did you write about?  I couldn't reproduce the
problem in hilighting citations in the article buffer.  Because
the regexp used then is the one that the value of `m-c-p-r' is
surrounded with "^\\(" ... "\\)"

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

* Re: custom message-cite-prefix-regexp
  2007-04-30 11:14 custom message-cite-prefix-regexp giglio robbo' d'acciaio
@ 2007-04-30 12:48 ` Reiner Steib
  0 siblings, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2007-04-30 12:48 UTC (permalink / raw)
  To: info-gnus-english

On Mon, Apr 30 2007, giglio robbo' d'acciaio wrote:

> Would be anyone so kind to help me to customize this variable?
> The standard value is:
> "\\([ 	]*[-_.[:word:]]+[>]+\\|[ 	]*[]>|}+]\\)+"
>
> I'd like edit it in order to parse as quotes line starting with an
> arbitrary number of ':' too.

(setq message-cite-prefix-regexp
      (gnus-replace-in-string message-cite-prefix-regexp "}" "}:"))

In other words: change "}" to "}:".

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* custom message-cite-prefix-regexp
@ 2007-04-30 11:14 giglio robbo' d'acciaio
  2007-04-30 12:48 ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: giglio robbo' d'acciaio @ 2007-04-30 11:14 UTC (permalink / raw)
  To: info-gnus-english

Would be anyone so kind to help me to customize this variable?
The standard value is:
"\\([ 	]*[-_.[:word:]]+[>]+\\|[ 	]*[]>|}+]\\)+"

I'd like edit it in order to parse as quotes line starting with an arbitrary
number of ':' too.

Thank's in advance.
-- 
Ieri sera ad una festa una ragazza bellissima mi ha offerto da bere, e
poi mi ha invitato a casa sua.  Mi fa: "Scusa un attimo".  Quando
ritorna e' completamente nuda.  Si siede sulle mie ginocchia, comincia
ad accarezzarmi, a baciarmi dappertutto, e allora ho pensato: "Daniele,
questa occasione non fartela scappare!".  E cosi' mi sono fatto dare il
suo numero di telefono.
		-- Daniele Luttazzi

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

end of thread, other threads:[~2007-05-24 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 16:43 Custom message-cite-prefix-regexp giglio robbo' d'acciaio
     [not found] <mailman.1059.1179913513.32220.info-gnus-english@gnu.org>
2007-05-23 12:09 ` Katsumi Yamaoka
2007-05-23 13:51   ` giglio robbo' d'acciaio
     [not found]   ` <mailman.1089.1179937550.32220.info-gnus-english@gnu.org>
2007-05-23 23:03     ` Katsumi Yamaoka
2007-05-24 14:01       ` giglio robbo' d'acciaio
  -- strict thread matches above, loose matches on Subject: below --
2007-04-30 11:14 custom message-cite-prefix-regexp giglio robbo' d'acciaio
2007-04-30 12:48 ` Reiner Steib

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