From: Carsten Dominik <carsten.dominik@gmail.com>
To: Christian Egli <christian.egli@sbszh.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [ANN] Exporter for taskjuggler
Date: Tue, 8 Jun 2010 18:05:40 +0200 [thread overview]
Message-ID: <3B7F4AEF-CEBE-456E-8672-0C1A4D0EC6B7@gmail.com> (raw)
In-Reply-To: <87sk4xsjtw.fsf@saadawi.sbszh.ch>
On Jun 8, 2010, at 4:03 PM, Christian Egli wrote:
> Christian Egli <christian.egli@sbszh.ch> writes:
>
>>> In org-export-as-taskjuggler-and-open:
>>> org-taskjuggler.el:330:6:Warning: start-process-shell-command called
>>> with 4
>>> arguments, but accepts only 3
>>
>> This I cannot reproduce using the command command you gave. Is this
>> maybe only a problem in newer Emacs versions? I'm using Emacs 23.1.1
>
> Digging some more I found the following in
> http://www.gnu.org/software/emacs/NEWS.23.2:
>
>> *** start-process-shell-command and start-file-process-shell-command
>> now only take a single `command' argument.
>
> i.e. Emacs 23.2 has a different api for start-process-shell-command.
>
> I'm not quite sure how to deal with this. Should I add a wrapper
> function in org-compat (say "org-start-process-shell-command") that
> checks for emacs version > 23.2 and calls start-process-shell-command
> accordingly?
One possibility is to check for versions. Better is maybe to do it
like this
(condition-case nil
(org-no-warnings
(start-process-shell-command with four different args))
(error
(start-process-shell-command with three args))
Thill try one version, and if that given an error, try the other one.
To get rid of the compiler warning, wrap the call into org-no-warnings.
- Carsten
>
> Christian
> --
> Christian Egli
> Swiss Library for the Blind, Visually Impaired and Print Disabled
> Grubenstrasse 12, CH-8045 Zürich, Switzerland
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2010-06-08 16:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 8:59 [ANN] Exporter for taskjuggler Christian Egli
2010-04-06 10:09 ` Carsten Dominik
2010-04-06 11:15 ` Christian Egli
2010-04-06 15:05 ` T Helms
2010-04-06 15:49 ` Christian Egli
2010-06-08 15:24 ` Christian Egli
2010-04-06 16:25 ` Carsten Dominik
2010-04-12 19:24 ` Eric S Fraga
2010-04-16 20:39 ` Dan Davison
2010-04-19 10:05 ` Christian Egli
2010-04-19 13:34 ` Dan Davison
2010-04-19 14:01 ` John Hendy
2010-04-20 8:09 ` Christian Egli
2010-05-11 3:37 ` Manish
2010-06-08 9:21 ` Christian Egli
2010-06-08 10:07 ` Carsten Dominik
2010-06-08 13:30 ` Christian Egli
2010-06-08 14:03 ` Christian Egli
2010-06-08 16:05 ` Carsten Dominik [this message]
2010-06-08 16:59 ` Leo
2010-06-09 19:55 ` Manish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B7F4AEF-CEBE-456E-8672-0C1A4D0EC6B7@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=christian.egli@sbszh.ch \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).