|
|
Package: sml-mode
Version: 3.9.5-9
Severity: important
In the current debian package, sml-mode does not work properly with xemacs.
In particular, there are problems with the inferior-sml mode that (usually)
allows to communicate with the sml interpreter.
1. When sending the buffer contents to the interpreter, xemacs merely issues
an error message. I include a patch for this problem here.
2. When a program contains errors, the (next-error) function does not work
(error message "No compilation started!")
I assume it has something to do with the compiler-minor-mode not being
loaded, but it neither works when I load it manually. The message then
simply changes to "no errors" or "no errors yet".
Unfortunately, I didn't find a solution for this, but upgrading to a
more recent version of sml-mode might help (didn't try this
extensively, but it at least includes the patch for problem 1).
--- sml-compat.el 31 Jul 2002 23:21:29 -0000 1.2
+++ sml-compat.el 28 Oct 2002 22:00:00 -0000 1.3
@@ -57,7 +57,11 @@
(expand-file-name prefix temporary-file-directory)))
(if dir-flag
(make-directory file)
- (write-region "" nil file nil 'silent nil 'excl))
+ (if (featurep 'xemacs)
+ ;; The 7th arg to `write-region' specifies the
+ ;; coding system to use in XEmacs.
+ (write-region "" nil file nil 'silent nil)
+ (write-region "" nil file nil 'silent nil 'excl)))
nil)
(file-already-exists t))
;; the file was somehow created by someone else between
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages sml-mode depends on:
ii emacs21 [emacsen] 21.3+1-7 The GNU Emacs editor
ii xemacs21-gnome-mule [emacsen] 21.4.15-7 Editor and kitchen sink -- Mule bi
ii xemacs21-mule [emacsen] 21.4.15-7 Editor and kitchen sink -- Mule bi
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
|
|