Rebol Talk Forum  |  Licensing and Distribution  |  General discussions  |  Topic: Rebol with The Crimson Editor
Pages: [1] Print
Author Topic: Rebol with The Crimson Editor  (Read 1316 times)
dutcher
Newbie
*
Offline Offline

Posts: 1


View Profile
Rebol with The Crimson Editor
« on: January 14, 2007, 04:31:47 PM »

Hello,

I have both a desktop and a laptop runnning identical copies of Rebol, Win ME and of Crimson Editor.

I set the editor up as per Carl S's  instructions on the desktop and it performs an  appreciated feature nicely....it lets me use the 'hot key' to cause Rebol to evaluate the open script (a nice timesaver).

I set the editor up exactly the same way on the Laptop (IBM Thinkpad A30)..
but every time I try to use the 'hot key' it opens a message box:
"Another process is runnning"
"You must kill the other process first"

I have deleted and re-installed both Rebol and Crimson Editor and also switched over to the Firefox browser.......but I can't get by that issue when trying to use the hot key. Does anyone have any idea what the cause of this night be ??
Logged
PopMilo
Newbie
*
Offline Offline

Posts: 6


View Profile
Re: Rebol with The Crimson Editor
« Reply #1 on: February 14, 2007, 02:53:02 PM »

You are not alone Smiley I used to have same problem, but not anymore...

Unfortunately I don't remember how I fixed it  Undecided

Ill try to find the solution...
Logged
Anton
Jr. Member
**
Offline Offline

Posts: 65

Rebol veteran


View Profile WWW
Re: Rebol with The Crimson Editor
« Reply #2 on: February 25, 2007, 11:42:51 PM »

I think the reason for the "another process is running" error is that Crimson Editor launched a rebol process earlier which died as a result of some error. Since it was probably launched as cgi it does not open a console window, so you can't see it anywhere. It's a zombie. You must go to the task manager, find the rebol process and kill it.

I haven't tried using command launching features from a text editor for years, because I usually work straight from the console. I, too, was once enticed by the idea of integrating everything into one environment, but:
- Errors such as you have experienced above don't allow you to diagnose what went wrong and when it happened, and are annoying to clean up.
- It takes some effort to set up the editor to do this. Ok, it's a tiny effort, but all these little config steps add up, and you may have to do this every time you want to move to a newer version of rebol.

My rebol console and text-editor are decoupled. I can change text editor or rebol version and there is less setting up to do in order to get back to my usual way of working.
What I do is set up a start menu item to launch rebol (I have various versions of rebol in a submenu, actually), so I can quickly launch rebol at any time with the system-wide, always-available key sequence "Ctrl+Esc down right Enter".

My way of thinking about it is the other way around - the console is the main application for me, and the editor is a slave application to it !
I've set up my user.r to define an EDIT function which launches Crimson Editor to open a script, and some file-system functions CD and LS for navigating the file-system, so my usual work-flow goes like this:

"Ctrl-Esc down right down Enter" (opens the newest rebol/view console)
>> cd local/gui   ; (change directory to %local/gui/)
>> ls   ; (list directory contents)
>> edit %demo-scroll-panel.r  ; (opens Crimson Editor)
>> do %demo-scroll-panel.r  ; test

I use arrow keys to access the console history and quickly redo previously typed lines.
If anything went wrong, the console is still open so I can investigate the state of things directly.
Finally, when I feel this console session is too "poisoned" by accumulated script errors and loose words and so on, I quit the console quickly with
>> q

and restart, repeating the steps above, to test the script with a fresh console.

I hope that can be useful. I'm also interested in how other people stream-line their workflow patterns.
Logged
Brock
Newbie
*
Offline Offline

Posts: 14


View Profile
Re: Rebol with The Crimson Editor
« Reply #3 on: October 22, 2007, 11:51:04 AM »

I streamline my work-flow by always adding a short-cut to the console for every project I work on.  This little short-cut script is...

rebol[] halt

I typically save this as _console.r within the project I am working on and simply double click it from within my directory or explorer window when I want a project local console to work in.
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Licensing and Distribution  |  General discussions  |  Topic: Rebol with The Crimson Editor
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 14, 2008, 02:00:19 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2248 Posts in 586 Topics by 2512 Members
Latest Member: Jhvdyatb

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc