Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Rebol mode for Emacs

From: d4marcus:dtek:chalmers:se at: 24-Dec-2000 17:18

On Wed, 20 Dec 2000 [jeff--rebol--net] wrote:
> Hey-- when I get back from the holiday, I've got some other > elisp for running a rebol sub process with com-int, and > stuff. I'll clean it up and put it up somewhere.
Sounds interesting.
> It's also pretty easy to have an elisp function that takes > your current buffer and filters through a REBOL script, > which opens up lots of possibilities.
Like for example? Except for 'do-ing it, I can't think of anything ATM that I would like to do with an entire buffer. But I can imagine others would, like running it through colorize, and send it to the contrib library. Or to update an embedded script. However, you don't have to take the whole buffer. For example, you could 'do the marked region. You could run 'help on the word under the pointer. Or you could... er, something else. Btw, I updated the file slightly now. The indentation fix is included of course, but font-lock also works better now. Previously it only recognized every other keyword of the same type, for example in "reduce reduce" only one of the the words were colored. This happened because it required each word to be pre- and proceeded with a space or tab, otherwise it would for example match "skip" in "select/skip", or "read" in "my-read_function", because "- _ /" etc wasn't considered as word seperators. It was a "damned if I don't - damned if I do" situation, but I fixed it by changing the syntax table. So... Anyway, it works ok now. :-) Still located at: Merry Christmas! Marcus ------------------------------------ If you find that life spits on you calm down and pretend it's raining