Am Dienstag, 4. November 2003 03:17 schrieb Tim Johnson:
>
> Now, given that scenario, suppose I've got rebol imbedded in my
> editor (which is VIM), just as python is imbedded in vim.
> If that were that case, I could program rebol to automate
> the writing of "C".
>
>     That would make for a remarkable plugin, and I'm sure that the vim
>     developers and the vim community would work with RT to make that
>     happen. that would be just awesome and give rebol that much more
>     exposure.
>
> And BTW, I don't believe that RT would have to provide source code. Vim
> doesn't care about python binary source.
>


===Rebol as emacs-plugin:
http://www.frozen-north-linuxonline.com/Howto/REBOL+Emacs.html
http://www.frozen-north-linuxonline.com/Howto/REBOL+RMAIL.html

I guess vim can work similar.


===some of my beginners emacs-code. 
it saves, calls a script, reads result and jumps to old position. in this case 
it prettyprints the sourcecode with rebols own cleaner.:

(defun cleans () "clear rebol script"
  (interactive)
  (progn
    (save-buffer)
    (shell-command (concat"rebol -cs ~/xenv/cleans.r " (buffer-file-name
                                                     (current-buffer))))
    (let((old (point)))
      (find-alternate-file (buffer-file-name (current-buffer)))
      (goto-char old)
      )
    ))


===a rebol-script in the background:
this o(not presented) script uploads the file with ftp. or downloads. 
or shows date and size and header of both. since its a shared ftp-site i want 
to check before. all actions are on hotkeys, so its "c-x c-g c-u" from emacs.
(the c-u goes to the rebol-window ;)

(defun run-uni () "run rebol-buffer through emacs.r"
  (interactive)
  (progn
    (save-buffer)
    (shell-command 
     (concat rebol-binary " -s ~/xenv/uni.r emacs " 
             (buffer-file-name (current-buffer)) "&" ))
    ;;(other-window 1)
    (delete-other-windows)
    ))


===using emacs for the real editing from rebol (view 1.2.10 beta)
line: length? parse/all
copy/part d-area/text system/view/caret "^/"
set-browser-path "emacsclient"
browse probe join "+" [line " " a-file]
wait 1 quit


-Volker



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to