Package: dpkg-dev-el Version: 29.2-1 Severity: normal Tags: patch debian-changelog-close-bug does not work properly under XEmacs 21.4.21 because the arguments passed to replace-in-string in the inline function debian-chagelog--rris are in the wrong order.
The patch attached below fixes the problem. Cheers, Rafael -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg-dev-el depends on: ii debian-el 29.2-2 Emacs helpers specific to Debian u ii emacs21 [emacsen] 21.4a+1-5.3 The GNU Emacs editor ii xemacs21-mule [emacsen] 21.4.21-3 highly customizable text editor -- Versions of packages dpkg-dev-el recommends: ii wget 1.10.2-3 retrieves files from the web -- debconf-show failed
--- emacs-goodies-el-29.2.orig/elisp/dpkg-dev-el/debian-changelog-mode.el +++ emacs-goodies-el-29.2/elisp/dpkg-dev-el/debian-changelog-mode.el @@ -421,7 +421,7 @@ ;; XEmacs: (if (fboundp 'replace-in-string) (save-match-data ;; apparently XEmacs needs save-match-data - (apply 'replace-in-string args)) + (apply 'replace-in-string (list (nth 2 args) (nth 0 args) (nth 1 args)))) ;; Emacs: (apply 'replace-regexp-in-string args)))