info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in gnus-delay-article and extension


From: Cecil Westerhof
Subject: Re: Error in gnus-delay-article and extension
Date: Tue, 22 Dec 2009 05:22:24 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Dan Christensen <jdc@uwo.ca> writes:

> Hmm, here's what I get:
>
> (setq delay "2009-12-22")
> "2009-12-22"
>
> (string-match "\\([0-9][0-9][0-9][0-9]\\)-\\([0-9]+\\)-\\([0-9]+\\)"
>               delay)
> 0
>
> (match-string 1 delay)
> "2009"
>
> (match-string 2 delay)
> "12"
>
> (match-string 3 delay)
> "22"
>
> (match-string 0 delay)
> "2009-12-22"

Very strange, when doing it in the message buffer it works. But when I
copy those statements to the scratch buffer it goes wrong again. Looks
like the scratch buffer acts differently.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

[Prev in Thread] Current Thread [Next in Thread]