Re: [Factor-talk] Indentation in Emacs with factor-mode

2008-11-16 Thread Glenn Tarcea
Hi, You can fix the tabs on indent by putting the following in your .emacs (I also do this for my lisp code): (setq-default indent-tabs-mode nil) V. Glenn Tarcea [EMAIL PROTECTED] On Nov 15, 2008, at 9:22 PM, Eduardo Cavazos wrote: On Saturday 15 November 2008 19:35:53 Jose A. Ortega

Re: [Factor-talk] Safe parsing

2008-11-16 Thread Eduardo Cavazos
On Saturday 15 November 2008 22:49:17 Slava Pestov wrote: But, if syntax is split up into two vocabularies, you'd be out of luck for library data types. Eg, parsing a float array (using F{ in float-arrays) is safe. Yeah, words that provide literal syntax for library data would have to go in a

Re: [Factor-talk] Safe parsing

2008-11-16 Thread Slava Pestov
On Sun, Nov 16, 2008 at 9:29 AM, Eduardo Cavazos [EMAIL PROTECTED] wrote: Yeah, words that provide literal syntax for library data would have to go in a separate library. But that actually sounds good for use with words like 'parse-with-vocabs'. It seems desirable to say: ... FACTOR

Re: [Factor-talk] Safe parsing

2008-11-16 Thread Slava Pestov
Hi Ed, I just realized that the whole safe parsing words idea is subtly flawed. For example, T{ is a safe parsing word but we can use it to construct an object that crashes the Factor VM: ( scratchpad ) T{ vector f { } 100 } . Memory protection fault at address 303038 Now that I think about it,

Re: [Factor-talk] Pull request: more emacs font lock goodies

2008-11-16 Thread Eduardo Cavazos
On Sunday 16 November 2008 09:42:52 Jose A. Ortega Ruiz wrote: I'm very glad to help. I've sent another pull request with the indentation stuff in a separate email. I'll come up with more little improvements and cleanups to factor.el, but before i'd like to ask if you'd be comfortable with a

[Factor-talk] springies demos not working ?

2008-11-16 Thread Dave Fashena
Hi all, I noticed that none of the springies demos seem to be working. I see the same problem on a G5 Powermac and Intel iMac running OS 10.5.5. All of the springies demos worked in the past on both my machines. I first noticed the problem when I installed the latest Factor about a week

Re: [Factor-talk] springies demos not working ?

2008-11-16 Thread Slava Pestov
Hi, Thanks for reporting the problem. The stack effect of gl-rect had changed and I forgot to update springies. I pushed a patch fixing the problem. Incidentally, the compiler did catch the problem; when loading springies, a message was printed reporting that there were compiler errors. I guess

Re: [Factor-talk] Pull request: more emacs font lock goodies

2008-11-16 Thread Jose A. Ortega Ruiz
Eduardo Cavazos [EMAIL PROTECTED] writes: Not a problem, change away! Thanks... i'll submit a new pull request shortly with the cosmetic changes. I'm interested in any ideas you have for Emacs integration, minor and major. As you know, Factor is highly reflective so the skys the limit for

[Factor-talk] Windows startup files heads-up

2008-11-16 Thread Slava Pestov
Hi all, On Windows, Factor now looks for files named factor-boot-rc and factor-rc in your home directory, without the leading period. Windows Explorer won't let you create files whose names start with a (.), and only on Unix does it make the files hidden anyway. So you will need to rename your

[Factor-talk] Small 'bug' in factor.el

2008-11-16 Thread Glenn Tarcea
The changes in the factor.el are great! One small 'problem' I found is that when highlighting keywords, a keyword like MIXIN: has the IN: highlighted, rather than the whole word. I haven't looked very hard at the regular expression matching, but one coughhackcough that fixes it is to move

[Factor-talk] tty-server

2008-11-16 Thread Eduardo Cavazos
On Sunday 16 November 2008 13:55:15 Jose A. Ortega Ruiz wrote: I'll sure need lots of help on this side :) For starters, i've noticed there's already a 'factor-telnet' function in factor.el that, i presume, can connect to a running listener. Is that correct? What does the factor listener side

[Factor-talk] springes are slow on OS X

2008-11-16 Thread Eduardo Cavazos
On Sunday 16 November 2008 12:47:10 Dave Fashena wrote: I noticed that none of the springies demos seem to be working. I see the same problem on a G5 Powermac and Intel iMac running OS 10.5.5. Hi Dave, Besides that bug, there's also a bug which causes the springes demos to run much slower

Re: [Factor-talk] Small 'bug' in factor.el

2008-11-16 Thread Glenn Tarcea
It looks like factor.el didn't get recompiled on my system until I made a change. Never mind this bug report. Glenn V. Glenn Tarcea [EMAIL PROTECTED] On Nov 16, 2008, at 8:27 PM, Glenn Tarcea wrote: The changes in the factor.el are great! One small 'problem' I found is that when