Package: debian-el
Version: 29.3-2
Severity: wishlist
Tags: patch
File: /usr/share/emacs/site-lisp/debian-el/deb-view.el

When visiting the "control" file within a .deb with deb-view, the coding
system doesn't get set to utf8.  Mostly this just affects maintainer
names, you can see for example in a deb of "wget".

I know debian-el has setups for "/debian/control" in sources to get
utf8, but the archive member in a .deb is only "./control" so doesn't
get matched.

I get some joy from the bit of code below.  It tries hard to restrict
itself to just a deb-view control file.  It's a bit tempting maybe to
try recognising a control file from the contents, or just say
"./control" is always a deb.  The code only works for emacs22; I suspect
that might be due in part to bug fixes in tar-mode between emacs 21 and
22.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.24-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-el depends on:
ii  binutils                     2.18-1      The GNU assembler, linker and bina
ii  emacs21 [emacsen]            21.4a+1-5.4 The GNU Emacs editor
ii  emacs22-gtk [emacsen]        22.2+2-2    The GNU Emacs editor (with GTK use
ii  reportbug                    3.40        reports bugs in the Debian distrib
ii  xemacs21-mule [emacsen]      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.2-1    retrieves files from the web

-- no debconf information

Attachment: deb-view-control-coding.el
Description: application/emacs-lisp

Reply via email to