dsouza@cadillac.CAD.MCC.COM (Desmond Dsouza) (11/04/88)
I need to use GNU Emacs as an editor from a program I have in Common Lisp on SUN/UNIX. Ideally I would like to do this from both Sun Common Lisp and KCL, but any information is most welcome. (Both Lisps can call C functions or execute shell commands). Here is what I wish to do: =============================================================== In Lisp, upon certain user commands, I wish to bring up a Emacs window for the user to edit. This could be much like a function call, as I do not wish Lisp to do anything until the Emacs interaction is over. I would like to pass the window certain strings to be displayed at certain positions (if necessary, could I do this through files?). I would also like the Emacs buffer to have certain (modified Lisp-like) syntax and indentation behaviour, and would like to define my own keystroke sequences. When the user is done, some keystrokes should return control to my program, with the edited text accessible in some form (maybe a file). =============================================================== Questions: Would anyone out in NetLand who has done something like this give me a brief outline of a good way to go about this? What documentation should I read? Is there a programmer's manual for GNU Emacs? If there is EMAIL-able documentation, I'd appreciate a copy. Is communication through text files necessary? How do I set up my own syntax, indentation and keystrokes? Do I need to get into the hair of IPC and sockets and such, or is an easier interface available? Thanks in advance --- Desmond D'Souza (MCC-CAD, Austin, TX) -- Desmond D'Souza, MCC CAD Program | ARPA: dsouza@mcc.com | Phone: [512] 338-3324 Box 200195, Austin, TX 78720 | UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!dsouza