[REBOL] Script Error: parse-mail-list expected data argument of type: string

2002-06-25 Thread Matthew Kim

Hi all,

I'm fairly new to REBOL and I seem to have run into some trouble.  I'm
running a script that checks my inbox (via POP) every 40 seconds or so.
When it recieves email, it automatically responds to it.

2 questions. 

1) The script used to run fine, but every so often I can't seem to
connect to the POP server. I've disabled APOP using:

if system/version = 2.5.0.3.1 [
change pick find second get in system/schemes/pop/handler 'open
'if 3 true
]

As I've read in some discussions here.

Is this a problem on my end?  Or is it the POP server denying me acccess
every so often?

2) Since my script has become a litte more complicated, I've run into a
new error.  It seems to open the inbox fine, read the email, reply to
it, and then close the inbox.  However on its next cycle, when it tried
to open the inbox again I get this error:

** Script Error: parse-mail-list expected data argument of type: string
** Where: parse-email-addrs
** Near: Mail-List-Rules/parse-mail-list data


I have no idea what this mean.  Your help would be very much
appreciated!

Thanks,
Matt

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] UCE Complaint (Re: Editor)

2002-06-25 Thread Vance Lee Schowalter

You have sent the attached unsolicited e-mail to my
e-mail account.

I do not wish to receive such messages in the future.
Please remove my name from your lists immediately.


Delivered-To: [EMAIL PROTECTED]
Return-Path: <[EMAIL PROTECTED]>
Received: from psmtp.com ([64.75.1.184]) by bernie with esmtp; Tue, 25 Jun 2002 
00:58:51 -0600
Received: from source ([208.201.243.114]) by exprod5mx29.postini.com ([64.75.1.251]) 
with SMTP; Tue, 25 Jun 2002 01:59:41 CDT
Received: from cobalt.reboltech.com (localhost [127.0.0.1]) by cobalt.reboltech.com 
(8.9.3/8.9.3) with ESMTP id XAA30482; Mon, 24 Jun 2002 23:51:04 -0700
Received: with LISTAR (v0.129a; list rebol); Mon, 24 Jun 2002 23:51:03 -0700 (PDT)
Received: from johnson.mail.mindspring.net (johnson.mail.mindspring.net 
[207.69.200.177]) by cobalt.reboltech.com (8.9.3/8.9.3) with ESMTP id XAA30474 for 
<[EMAIL PROTECTED]>; Mon, 24 Jun 2002 23:51:03 -0700
Received: from antoninus-z.mspring.net ([207.69.231.70] helo=antoninus.mspring.net) by 
johnson.mail.mindspring.net with smtp (Exim 3.33 #1) id 17MkDj-0007gQ-00 for 
[EMAIL PROTECTED]; Tue, 25 Jun 2002 02:54:35 -0400
X-MindSpring-Loop: [EMAIL PROTECTED]
Received: from moutvdom01.kundenserver.de ([195.20.224.200]) by antoninus.mspring.net 
(Earthlink Mail Service) with ESMTP id uhg4t8.g5q.37kbpq6 for <[EMAIL PROTECTED]>; 
Tue, 25 Jun 2002 02:54:31 -0400 (EDT)
Received: from [172.19.20.61] (helo=mrvdomng0.kundenserver.de) by 
moutvdom01.kundenserver.de with esmtp (Exim 2.12 #3) id 17MkDa-00081M-00 for 
[EMAIL PROTECTED]; Tue, 25 Jun 2002 08:54:26 +0200
Received: from [213.6.94.78] (helo=fuchur.2b1.de) by mrvdomng0.kundenserver.de with 
esmtp (Exim 3.22 #2) id 17MkDZ-cz-00 for [EMAIL PROTECTED]; Tue, 25 Jun 2002 
08:54:26 +0200
Received: from smrgol.2b1.de ([10.1.1.1] helo=2b1.de ident=ingo) by fuchur.2b1.de with 
esmtp (Exim 3.32 #1 (Debian)) id 17Mk3O-6S-00 for <[EMAIL PROTECTED]>; Tue, 25 
Jun 2002 08:43:54 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 25 Jun 2002 08:43:54 +0200
From: Ingo Hohmann <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607
X-Accept-Language: en, de
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: Editor
References: <[EMAIL PROTECTED]> 
<004201c21be5$cb8a62a0$2606fea9@z6u5i3>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-archive-position: 21014
X-listar-version: Listar v0.129a
X-original-sender: [EMAIL PROTECTED]
Precedence: bulk
Reply-to: [EMAIL PROTECTED]
X-list: rebol

Hi Jim,

[EMAIL PROTECTED] wrote:
 > I wonder if anyone knows how to keep the focus in a text area when
 > you click on a button. If I am entering text using the key board,
 > when I click a button that is supposed to enter more text, all that
 > happens is that I lose the caret and the focus in the text area. I
 > have to click back into the text area to get the focus and caret
 > back.

I changed the "date" button in your ed-64.r (btw, does this mean, that
you have at least 70 specialized editors?) to the following:

btn green / 1.8 "Date" #"" [
focus my-area
put to-string now/date length? to-string now/date
]

Now the button works as expected - but only a few times. After 3 to 10
times it doesn't do anything at all.

I'm using REBOL/View 1.2.5.4.2 6-May-2002, anyone seeing the same problem?


I hope that helps,

Ingo


--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.




[REBOL] Re: Editor

2002-06-25 Thread Jason Cunliffe

> btn green / 1.8 "Date" #"" [
> focus my-area
> put to-string now/date length? to-string now/date
> ]

This works..

btn green / 1.8 "Date" #"" [
focus my-area
append my-area/text to-string now/date
]


./jason

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Rebol Editor

2002-06-25 Thread Gabriele Santilli

Hi Andrew,

On Tuesday, June 25, 2002, 5:55:05 AM, you wrote:

AM> I haven't worked out how to transfer that feature to other windows, like
AM> lists and editors and so on. Or how to make arrow keys work with it.

>> win: layout [t: text 200 "this is a text..."]
>> view/new win
>> win/feel: make win/feel [detect: func [f e] [if e/type = 'scroll-line [t/text: join 
>"scrolled " e/offset show t] e]]
>> do-events

HTH,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Editor

2002-06-25 Thread Gabriele Santilli

Hi Jim,

On Tuesday, June 25, 2002, 3:15:27 AM, you wrote:

jcn> I wonder if anyone knows how to keep the focus in a text area when you click on a 
button.

That happens when the area hase the DIRTY? flag on; to avoid that,
you should either disable the event function installed by RT:

>> print mold system/view/screen-face/feel/event-funcs
[func [face event /local fac][
if all [
system/view/focal-face
event/type = 'down
not within? event/offset win-offset? system/view/focal-face 
system/view/focal-face/size
system/view/focal-face/dirty?
] [
fac: system/view/focal-face
unfocus
do-face fac none
fac/dirty?: none
]
event
]]

or  maybe  just  patch  it so that it saves the caret position for
you.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Editor

2002-06-25 Thread Ingo Hohmann

Hi Jim,

[EMAIL PROTECTED] wrote:
 > I wonder if anyone knows how to keep the focus in a text area when
 > you click on a button. If I am entering text using the key board,
 > when I click a button that is supposed to enter more text, all that
 > happens is that I lose the caret and the focus in the text area. I
 > have to click back into the text area to get the focus and caret
 > back.

I changed the "date" button in your ed-64.r (btw, does this mean, that 
you have at least 70 specialized editors?) to the following:

btn green / 1.8 "Date" #"" [
focus my-area
put to-string now/date length? to-string now/date
]

Now the button works as expected - but only a few times. After 3 to 10 
times it doesn't do anything at all.

I'm using REBOL/View 1.2.5.4.2 6-May-2002, anyone seeing the same problem?


I hope that helps,

Ingo


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.