Contents

Concatenative language

  • Breeze
  • Cat
  • colorForth
  • CoSy
  • Deque
  • Elymas
  • Enchilada
  • ETAC
  • Factor
  • Forth
  • Freelang
  • Joy
  • Kitten
  • Lviv
  • min
  • mjoy
  • Om
  • Onyx
  • Plorth
  • Popr
  • PostScript
  • Quackery
  • r3
  • Raven
  • Retro
  • Staapl
  • Trith
  • xs
  • XY
  • 5th
  • 8th

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Computer Science

  • Type systems
  • Language paradigms
  • Compilers
  • Interpreters
  • Garbage collection

Meta

  • Search
  • Farkup wiki format
  • People
  • Etiquette
  • Sandbox
Front Page All Articles Recent Changes Random Article

Emacs Integration

Emacs on Windows

This should be readily adaptable for other operating systems but since I've just gone through the task of getting this working on Windows XP I thought I would document the result.

First, as of this date (11/16/2008) the basis/editors/emacs/emacs.factor that ships needs a slight modification. Slava is aware of this so presumably this won't be necessary soon, but you might want to check.

basis/editors/emacs/emacs.factor modified:

USING: definitions io.launcher kernel parser words sequences math
math.parser namespaces editors make system ;
IN: editors.emacs

: emacsclient ( file line -- )
    [
        \ emacsclient get "emacsclient" or ,
        os windows? [ "--no-wait" , ] unless
        "+" swap number>string append ,
        ,
    ] { } make try-process ;

: emacs ( word -- )
    where first2 emacsclient ;

[ emacsclient ] edit-hook set-global

Note: the addition of system to the USING list and the check for non-windows for the "--no-wait" option for emacs.

This revision created on Mon, 17 Nov 2008 00:44:55 by kencausey

Latest Revisions Edit

All content is © 2008-2020 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.