🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #580

Re: Handling external content attachment names with space

#580
From: newsspam5REMOVETHIS
Date: Sat, 08 Oct 2005 21:21
32 lines
2359 bytes
Joachim Schrod <jschrod@acm.org> writes:
> 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. ;-)

Have you Googled?

http://groups.google.com/groups?selm=400320B7.5060408%40yahoo.com
http://groups.google.com/groups?selm=86hdyoc6n9.fsf%40robf.deREMOVETHIS

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

It is called via 'start-process', which IMHO is not the shell.

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

It should not happen unless you have added application/pdf to
vm-auto-displayed-mime-content-types, but if you did add it, then
it should happen everytime.

It is not the default and I never experienced something like this.

Robert.
Technical Details
Message-ID: <85k6gn1z82.fsf@robf.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!news.germany.com!news.space.net!news.m-online.net!not-for-mail
References: <3qpr4kFfe6r4U1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,2d18889792627219
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!news.germany.com!news.space.net!news.m-online.net!not-for-mail
From: newsspam5REMOVETHIS@robf.de
Newsgroups: gnu.emacs.vm.bug
Subject: Re: Handling external content attachment names with space
Date: Sat, 08 Oct 2005 23:21:49 +0200
Organization: (posted via) Mnet Telekommunikations GmbH
Lines: 32
Message-ID: <85k6gn1z82.fsf@robf.de>
References: <3qpr4kFfe6r4U1@individual.net>
NNTP-Posting-Host: ppp-82-135-75-24.mnet-online.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: svr7.m-online.net 1128806510 28401 82.135.75.24 (8 Oct 2005 21:21:50 GMT)
X-Complaints-To: abuse@m-online.net
NNTP-Posting-Date: Sat, 8 Oct 2005 21:21:50 +0000 (UTC)
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, linux)
Cancel-Lock: sha1:HMGiZvW/hJm67uhmBBbiSflkOBA=