[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[jules@jellybean.co.uk: Bug#139812: ocaml: Caml's emacs support doesn't work with current xemacs21]



Hello Ralf, could you or someone of the lists knowloedgeable in emacs have a
look at this one ?

Friendly,

Sven Luther
----- Forwarded message from jules@jellybean.co.uk -----

Package: ocaml
Version: 3.04-10
Severity: normal

Using current xemacs21, you can't execute the command 'run-caml',
which is very useful for emacs users working with ocaml, since it
gives access to the CAML shell with the emacs line-editing
capabilities.

The reason is that the file 'inf-caml.el' is not xemacs21
compatible.  I know almost nothing about emacs guts, but the essence
is that the lines:

(let ((map (lookup-key caml-mode-map [menu-bar caml])))
  (define-key map [indent-buffer] '("Indent buffer" . caml-indent-buffer))
  (define-key map [eval-buffer] '("Eval buffer" . caml-eval-buffer))
)

produce an error under xemacs. (These lines are almost the last lines
in the file)

Since they only seem to be setting up some key bindings, they are not
supremely important, and I have commented them out locally, and I can
now use run-caml.

However, it would be nice for the woody release to either

a) Have them disabled for xemacs

or

b) provide fixed versions (which is beyond my expertise, sorry)

Jules

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux pear 2.4.0 #4 Thu Mar 8 12:57:53 GMT 2001 i586 unknown

Versions of the packages ocaml depends on:
ii  libc6          2.2.4-5        GNU C Library: Shared libraries and Timezone
ii  libncurses5-de 5.2.20020112a- Developer's libraries and docs for ncurses
ii  ocaml-base     3.04-10        Runtime system for ocaml bytecode executable

----- End forwarded message -----


-- 
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: