Discussion:
[Jemacs-info] Some questions and troubles
Yaroslav Kavenchuk
2008-01-09 08:43:29 UTC
Permalink
Hi!

kawa from svn, build with ant with jemacs on Win2k

$ java -cp kawa-1.9.3.jar gnu.jemacs.lang.ELisp
#<frame #1 size: java.awt.Dimension[width=600,height=400] preferred:
java.awt.Dimension[width=150,height=64]>
#|kawa:1|#

JEmacs start in separate window without menu with *scratch* buffer only,
kawa REPL is lost in shell - how "move" it in JEmacs window? How
activate menu?
When I type M-x I get error:

#|kawa:1|# Exception in thread "AWT-EventQueue-0"
gnu.mapping.WrongArguments: call to 'execute-extended-command' has too
few arguments (0; must be 1)
at gnu.expr.ModuleBody.applyN(ModuleBody.java:216)
at gnu.expr.ModuleBody.apply0(ModuleBody.java:151)
at gnu.jemacs.lisp.editfns.apply0(editfns.el:47)
at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:176)
at gnu.jemacs.buffer.EWindow.handleCommand(EWindow.java:315)
at gnu.jemacs.swing.SwingWindow.handle(SwingWindow.java:361)
at gnu.jemacs.swing.SwingWindow.keyPressed(SwingWindow.java:341)
at java.awt.Component.processKeyEvent(Component.java:6057)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2810)
at java.awt.Component.processEvent(Component.java:5876)
at java.awt.Container.processEvent(Container.java:2109)
at java.awt.Component.dispatchEventImpl(Component.java:4460)
at java.awt.Container.dispatchEventImpl(Container.java:2167)
at java.awt.Component.dispatchEvent(Component.java:4286)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1879)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:742)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1007)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:879)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:706)
at java.awt.Component.dispatchEventImpl(Component.java:4330)
at java.awt.Container.dispatchEventImpl(Container.java:2167)
at java.awt.Window.dispatchEventImpl(Window.java:2554)
at java.awt.Component.dispatchEvent(Component.java:4286)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

And some questions again:

How call JEmacs from kawa (from program)? How call JEmacs from code for
edit some file? And how call JEmacs from code to edit some text (from
variable)?

Thanks!
--
WBR, Yaroslav Kavenchuk.
Loading...