From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69821 Path: news.gmane.org!not-for-mail From: JJ Newsgroups: gmane.emacs.gnus.general Subject: Re: Display OpenOffice Writer files inline with odt2txt] Date: Fri, 23 Jul 2010 04:32:39 -0400 Message-ID: <8f43b30c5719dc79917745ec1e636ed5@hcoop.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1279874024 4100 80.91.229.12 (23 Jul 2010 08:33:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 08:33:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18211@lists.math.uh.edu Fri Jul 23 10:33:41 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcDhN-0002GV-Ge for ding-account@gmane.org; Fri, 23 Jul 2010 10:33:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OcDgS-0000If-PM; Fri, 23 Jul 2010 03:32:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OcDgQ-0000IW-Rh for ding@lists.math.uh.edu; Fri, 23 Jul 2010 03:32:42 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OcDgO-0000VZ-Ri for ding@lists.math.uh.edu; Fri, 23 Jul 2010 03:32:42 -0500 Original-Received: from deleuze.hcoop.net ([69.90.123.67] ident=Debian-exim) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OcDgO-0003PG-00 for ; Fri, 23 Jul 2010 10:32:40 +0200 Original-Received: from deleuze.hcoop.net ([69.90.123.67] helo=mail.hcoop.net ident=roundcube) by deleuze.hcoop.net with esmtp (Exim 4.63) (envelope-from ) id 1OcDgN-0001Lz-2p for ding@gnus.org; Fri, 23 Jul 2010 04:32:39 -0400 X-Sender: ding_gnus.org@sumou.com User-Agent: RoundCube Webmail/0.1-rc2 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69821 Archived-At: Dan Christensen writes: > Save these four lines to a file called odt2txt-stdin in your path, make > it executable, and use it instead: This works great, thanks a lot, now the odt document displays inline fine. The only problems I have remaining are with the fact that when the file has multibyte text, it winds up weirdly malformed. I.e. for UTF-8 characters, they end up looking like: \303\210\303\241 I've inspected mm-inline-render-with-stdin and yes, it uses unibyte buffer processing to display the file. I've noticed that mm-inline-render-with-function enables multibyte stuff. Would anyone know how I can modify maybe mm-inline-renden-with-stdin or what-have-you, so that multibyte text in the word files would be displayed properly? -- JJ