From: Andreas Schwab <schwab@linux-m68k.org>
To: "JJ" <ding_gnus.org@sumou.com>
Cc: ding@gnus.org
Subject: Re: Display OpenOffice Writer files inline with odt2txt]
Date: Thu, 15 Jul 2010 16:25:27 +0200 [thread overview]
Message-ID: <m2k4owizzc.fsf@igel.home> (raw)
In-Reply-To: <60011.83.149.8.170.1279179745.squirrel@mail.hcoop.net> (JJ's message of "Thu, 15 Jul 2010 03:42:25 -0400 (EDT)")
"JJ" <ding_gnus.org@sumou.com> writes:
> Using the setup:
>
> (add-to-list 'mm-inlined-types "application/vnd.oasis.opendocument.text")
> (add-to-list 'mm-inline-media-tests
> '("application/vnd.oasis.opendocument.text"
> (lambda (handle)
> (mm-inline-render-with-stdin handle nil "odt2txt"))
> identity))
>
> doesn't work, as odt2txt doesn't work with standard input, i.e. `odt2txt
> file.odt' works, but `cat file.odt | odt2txt' just displays odt2txt's
> help which is what gets displayed inline when using the above setup.
>
> I'm not sure how to pass the mime attachment directly to odt2txt and not
> through standard input as mm-inline-render-with-stdin seems to be doing.
Have you tried mm-inline-render-with-file?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2010-07-15 14:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-15 7:42 JJ
2010-07-15 14:25 ` Andreas Schwab [this message]
2010-07-15 18:29 ` JJ
2010-07-20 5:24 ` Leo
2010-07-20 10:57 ` JJ
2010-07-20 15:06 ` Dan Christensen
2010-07-23 8:32 JJ
2010-07-23 8:43 JJ
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2k4owizzc.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=ding@gnus.org \
--cc=ding_gnus.org@sumou.com \
/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.
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 NNTP newsgroup(s).