Bug#614933: camldebug doesn't work with a pristine emacs installation
Package: tuareg-mode
Version: 1:2.0.4-3
Followup-For: Bug #614933
Dear Maintainer,
I have the same problem.
I fix it by adding "-tuareg" after camldebug on
(autoload 'camldebug "camldebug-tuareg" "Run the Caml debugger" t)
in /etc/emacs/site-start.d/51tuareg-mode.el
as seen above to be sure to load tuareg version of camldebug and not the ocaml-mode one.
I do not know how wrong this fix is but having a correct fix would be great ;-)
All the best,
Pierre
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tuareg-mode depends on:
ii emacs [emacsen] 23.4+1-2
ii emacs23 [emacsen] 23.4+1-2
Versions of packages tuareg-mode recommends:
ii ocaml-interp 3.12.1-2
ii ocaml-mode 3.12.1-2
tuareg-mode suggests no packages.
-- Configuration Files:
/etc/emacs/site-start.d/51tuareg-mode.el changed:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; append-tuareg.el - Tuareg quick installation: Append this file to .emacs.
(add-to-list 'auto-mode-alist '("\\.ml\\w?" . tuareg-mode))
(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
(autoload 'camldebug "camldebug-tuareg" "Run the Caml debugger" t)
(dolist (ext '(".cmo" ".cmx" ".cma" ".cmxa" ".cmi"))
(add-to-list 'completion-ignored-extensions ext))
(setq load-path
(cons
(concat "/usr/share/" (symbol-name flavor) "/site-lisp/tuareg-mode")
load-path))
-- no debconf information
Reply to: