Package: emacs22-common
Version: 22.2+1-1
Severity: normal
Tags: fixed-upstream patch
Woman fails on the putty manpage, as well as on the manpages from the
putty-tools package, with the error: Invalid regexp: "Unmatched ( or \\("
I had already reported this upstream¹, here is the fix that Chong Yidong
installed in EMACS_22_BASE and that works for me:
--8<---------------cut here---------------start------------->8---
Index: woman.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/woman.el,v
retrieving revision 1.58.2.3
retrieving revision 1.58.2.5
diff -u -r1.58.2.3 -r1.58.2.5
--- woman.el 12 Jan 2008 23:20:54 -0000 1.58.2.3
+++ woman.el 11 Apr 2008 02:31:43 -0000 1.58.2.5
@@ -3810,10 +3810,9 @@
(insert " -- ")
(woman-forward-arg 'unquote 'concat)
;; Delete repeated arguments:
- (if (string-match (buffer-substring here (point))
+ (if (string-equal (buffer-substring here (point))
(buffer-substring start here))
- (delete-region here (point)))
- ))
+ (delete-region here (point)))))
;; Embolden heading (point is at end of heading):
(woman-set-face
(save-excursion (beginning-of-line) (point)) (point) 'woman-bold)
--8<---------------cut here---------------end--------------->8---
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages emacs22-common depends on:
ii dpkg 1.14.18 package maintenance system for Deb
ii emacsen-common 1.4.17 Common facilities for all emacsen
emacs22-common recommends no packages.
-- no debconf information
¹ http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=100
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]