Bug#719171: ocaml-mode: caml-set-compile-command quote filename
Package: ocaml-mode
Version: 3.12.1-4
Severity: minor
File: /usr/share/emacs/site-lisp/ocaml-mode/caml.el
caml-set-compile-command could helpfully quote the buffer filename in
the compile-command it builds
(setq compile-command (concat command " "
(shell-quote-argument filename)))))
This lets it work on filenames with spaces, and guards against executing
arbitrary shell code if the filename has a ";" or similar special
character.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages ocaml-mode depends on:
ii emacs21 [emacsen] 21.4a+1-5.7
ii emacs22-gtk [emacsen] 22.3+1-1.2
ii emacs23-lucid [emacsen] 23.4+1-4
ic emacs24 [emacsen] 24.3+1-1
ii emacs24-lucid [emacsen] 24.3+1-1
ii xemacs21-mule [emacsen] 21.4.22-4
ocaml-mode recommends no packages.
Versions of packages ocaml-mode suggests:
pn ocaml <none>
-- no debconf information
Reply to: