Package: debian-el Version: 29.3-2 Severity: normal Tags: patch Hi. Selecting * Generate menu * from the Bugs menu while reporting a bug in the bash package results in this error message:
Scan error: "Unbalanced parentheses", 1795, 22379 The problem appears to be bug #443984 in the list of bash bugs, which has a \ in the short bug description, and this isn't quoted when debian-bug-build-bug-menu attempts to build the menu. The following simple patch seems to fix it. --- a/elisp/debian-el/debian-bug.el 2007-09-25 00:25:00.000000000 +0000 +++ b/elisp/debian-el/debian-bug.el 2008-06-23 09:27:00.000000000 +0000 @@ -1862,10 +1862,10 @@ (save-excursion (set-buffer debian-bug-tmp-buffer) (insert - "[\"" (if (< 60 (length description)) - (substring description 0 60) - description) - "\" (debian-bug-menu-action \"" bugnumber "\")" + "[" (format "%S" (if (< 60 (length description)) + (substring description 0 60) + description)) + " (debian-bug-menu-action \"" bugnumber "\")" " :active " (if bugs-are-open-flag "t" -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages debian-el depends on: ii binutils 2.18.1~cvs20080103-6 The GNU assembler, linker and bina ii emacs [emacsen] 22.2+2-2 The GNU Emacs editor (metapackage) ii emacs21 [emacsen] 21.4a+1-5.4 The GNU Emacs editor ii emacs22 [emacsen] 22.2+2-2 The GNU Emacs editor ii reportbug 3.41 reports bugs in the Debian distrib ii xemacs21-mule [emac 21.4.21-3 highly customizable text editor -- Versions of packages debian-el recommends: ii dlocate 0.94 fast alternative to dpkg -L and dp ii groff-base 1.18.1.1-20 GNU troff text-formatting system ( ii wget 1.11.3-1 retrieves files from the web -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]