Article View: gnu.emacs.vm.bug
Article #583Re: Handling external content attachment names with space
From: Joachim Schrod
Date: Tue, 11 Oct 2005 12:21
Date: Tue, 11 Oct 2005 12:21
27 lines
1995 bytes
1995 bytes
Kevin Rodgers wrote:
> Joachim Schrod wrote:
>> >
>> > > 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.
>
> Read the doc string for vm-mime-external-content-types-alist carefully:
> a single string is interpreted as a shell COMMAND-LINE and multiple
> strings are interepreted as PROGRAM ARG ARG ...
>
> To prevent the shell from being invoked, change the entry to:
> ("application/pdf" "acroread" "%f")
Thanks for pointing this out. All my entries were wrong; I don't want the shell
involved in any of them.
Well, I should have known it: if all else fails, read the documentation. :-)
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@acm.org
Roedermark, Germany
Technical Details
Message-ID:
<3r1p24Fhfpg9U1@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<3qpr4kFfe6r4U1@individual.net><85k6gn1z82.fsf@robf.de> <3qsj0pFgdv3eU1@individual.net> <1128971351.526240.163600@o13g2000cwo.googlegroups.com>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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joachim Schrod <jschrod@acm.org> Newsgroups: gnu.emacs.vm.bug Subject: Re: Handling external content attachment names with space Date: Tue, 11 Oct 2005 14:21:23 +0200 Lines: 27 Message-ID: <3r1p24Fhfpg9U1@individual.net> References: <3qpr4kFfe6r4U1@individual.net><85k6gn1z82.fsf@robf.de> <3qsj0pFgdv3eU1@individual.net> <1128971351.526240.163600@o13g2000cwo.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net sOXFsdN1xUT+AIlel3bo+APPtz5mx/D9YcIJVxu+kRCccX+jq5 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en In-Reply-To: <1128971351.526240.163600@o13g2000cwo.googlegroups.com>