Package: emacs22-el
Version: 22.1+1-2
Severity: normal
Tags: patch

Flymake-mode uses XMLStarlet to check the validity of XML files. But in
Debian XMLStarlet is started with "xmlstarlet" command instead of "xml"
that the flymake-mode assumes. The attached patch changes the command
that is used to check XML validity to "xmlstarlet".

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-el depends on:
ii  emacs22-common                22.1+1-2   The GNU Emacs editor's shared, arc

emacs22-el recommends no packages.

-- no debconf information
diff -Naur emacs-22.1/lisp/progmodes/flymake.el 
emacs-22.1-flymake-xmlstarlet/lisp/progmodes/flymake.el
--- emacs-22.1/lisp/progmodes/flymake.el        2007-03-31 17:10:12.000000000 
+0300
+++ emacs-22.1-flymake-xmlstarlet/lisp/progmodes/flymake.el     2007-10-20 
17:20:04.794349104 +0300
@@ -1756,7 +1756,7 @@
 
 ;;;; xml-specific init-cleanup routines
 (defun flymake-xml-init ()
-  (list "xml" (list "val" (flymake-init-create-temp-buffer-copy 
'flymake-create-temp-inplace))))
+  (list "xmlstarlet" (list "val" (flymake-init-create-temp-buffer-copy 
'flymake-create-temp-inplace))))
 
 (provide 'flymake)
 

Reply via email to