On 2009-04-10 15:43 +0200, Sven Joachim wrote:

> Package: debian-el
> Version: 29.5-1
> Severity: normal
> Tags: patch
>
> The deb-view-control-coding function and the entry added to
> file-coding-system-alist for it signal an error when trying to view a
> manpage that contains the string "control" with WoMan.

Sadly, the same error is signaled upon viewing the DEBIAN/control file
inside Debian packages, which is a PITA. :-(

> The following patch should fix this issue:
>
> --- debian-el.el~     2009-02-23 19:52:59.250583535 +0100
> +++ debian-el.el      2009-04-10 15:37:18.902785993 +0200
> @@ -91,7 +91,8 @@
>    (and (eq (car arg-list) 'insert-file-contents) ;; first arg
>         (consp (cadr arg-list)) ;; second arg like ("./control" . BUFFER)
>         (let ((buffer (cdr (cadr arg-list))))
> -         (and (string-match "\\.deb-INFO!\\./control\\'"
> +         (and (buffer-file-name buffer)
> +           (string-match "\\.deb-INFO!\\./control\\'"
>                              (buffer-file-name buffer))
>                'utf-8))))

Any chance to apply this patch?

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to