Package: semi
Version: 1.14.6+0.20100207-1
Severity: normal

When I get email and read it in wl, I often get attachments with strange
filenames (e.g., containing spaces or other special characters).
When I type `v', the file is usually saved under its orginal filename
in a subdirectory of /tmp: say, '/tmp/EMI9823498/Minutes 2010 03 07.pdf'

/etc/mailcap has:

application/pdf; /usr/bin/xpdf '%s;' test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf


Note that %s is quoted here.  So semi calls (mime-entity-safe-filename)
and then invokes this command:
   xpdf '/tmp/EMI9823498/Minutes\ 2010\ 03\ 07.pdf'
which fails, because the spaces are quoted twice.


I'm not sure where the error is:  in update-mime (part of the
mime-support package) which has quoted the %s in the original package's
mailcap entry, or in semi which quotes filenames before expanding %s in
mailcap entries.  There's a long discussion in Bug #221717 and in #90483
which seems inconclusive to me as to whether what the desired behaviour
is.
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages semi depends on:
ii  apel               10.7+0.20080906-2     portable library for emacsen
ii  dpkg               1.15.5.6              Debian package management system
ii  flim               1:1.14.9+0.20100218-1 library about internet message for
ii  install-info       4.13a.dfsg.1-5        Manage installed documentation in 
ii  xemacs21-mule [ema 21.4.22-2             highly customizable text editor --
ii  xemacs21-nomule [e 21.4.22-2             highly customizable text editor --

semi recommends no packages.

Versions of packages semi suggests:
ii  gnupg                1.4.10-2            GNU privacy guard - a free PGP rep
pn  mailcrypt            <none>              (no description available)
ii  wl-beta [wl]         2.15.9+0.20100216-1 mail/news reader supporting IMAP f

-- debconf-show failed



-- 
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