Article View: gnu.emacs.vm.bug
Article #579Handling external content attachment names with space
From: Joachim Schrod
Date: Sat, 08 Oct 2005 12:07
Date: Sat, 08 Oct 2005 12:07
26 lines
1869 bytes
1869 bytes
Hi,
My vm-mime-external-content-types-alist has the entry
("application/pdf" "acroread")
When an attachment name has spaces in it, acroread is called with several
arguments instead of one. Anybody got a patch already for that? Then I won't
have to look at the issue myself. ;-)
Incidentially, that looks as if the external-content program is called via a
shell. Anybody knows why that is done or if it can be avoided? That behaviour
opens up issues of shell command insertions which would be more difficult if the
program is called directly.
Also, while I'm at it: Sometimes, VM calls the external-content program for
application/pdf automatically when I look at a mail. I don't want my MUA to call
external programs automatically -- after all, I don't use Outlook either. :-) Is
that behaviour known? Can I prevent it?
Cheers,
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@acm.org
Roedermark, Germany
Technical Details
Message-ID:
<3qpr4kFfe6r4U1@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f6829,2d18889792627219,start X-Google-Attributes: gidf6829,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joachim Schrod <jschrod@acm.org> Newsgroups: gnu.emacs.vm.bug Subject: Handling external content attachment names with space Date: Sat, 08 Oct 2005 14:07:47 +0200 Lines: 26 Message-ID: <3qpr4kFfe6r4U1@individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net aManC9nOcjItBny4Xoo37gsje+l/bfi5EhiBQLmKWempr+/IW2 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en