all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: monkey@sandpframing.com, emacs-devel@gnu.org, rms@gnu.org,
	jasonr@gnu.org
Subject: Re: DocView now supports OpenDocument & MS Office formats
Date: Wed, 05 Jan 2011 21:11:21 +0900	[thread overview]
Message-ID: <87hbdnh7o6.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <878vyz3imf.fsf@member.fsf.org>

Tassilo Horn writes:

 > My concern was converting ODF to some more human-editable format like
 > LaTeX or DocBook.

Why not convert ODF to some more human-editable format like "ODF with
all the junk not displayed"?  (Aside from how slow it is.)

So, like, if it's REALLY all one line OR ODF DTDs don't care about
whitespace outside of (P)CDATA, add linebreaks and indentation where
ever you feel like it, and you can remove it at save time.  If not,
you'll have to be more careful about those linebreaks and other added
whitespace, but I'm sure some device can be found to mark them
reliably so they can be removed at save time (maybe even a text
property).  Save any embedded junk out to a file and replace it with
an entity or alternatively some sort of link element in an
emacscanthandlethiscruft namespace.  You know, like the way VM and
Gnus represent MIME attachments with "buttons" in the buffer.

The more stuff Emacs can't handle, the more stuff ends up replaced by
a short placeholder and the faster Emacs goes.  You can't lose! :-)

 > And here, converting forth and back has a high potential to lead to
 > data loss for things the converters cannot handle, like
 > OpenDocument spreadsheets embedded in text documents.

Sure.  So don't convert, fix the display of the XML.



  reply	other threads:[~2011-01-05 12:11 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30 22:32 DocView now supports OpenDocument & MS Office formats MON KEY
2010-12-30 22:59 ` Jason Rumney
2010-12-31  2:12   ` MON KEY
2010-12-31  8:35     ` Tassilo Horn
2010-12-31  9:25       ` Eli Zaretskii
2010-12-31 11:33         ` Tassilo Horn
2011-01-02  0:33     ` Richard Stallman
2011-01-02  7:29       ` MON KEY
2011-01-02 22:11         ` Richard Stallman
2011-01-03  4:14           ` Stephen J. Turnbull
2011-01-04  4:08             ` Richard Stallman
2011-01-04  4:35               ` Drew Adams
2011-01-04  5:33               ` Stephen J. Turnbull
2011-01-03  8:25           ` MON KEY
2011-01-04  4:08             ` Richard Stallman
2011-01-03  8:42           ` Tassilo Horn
2011-01-04  4:08             ` Richard Stallman
2011-01-04  7:38               ` Tassilo Horn
2011-01-04  8:18                 ` Eli Zaretskii
2011-01-04  9:00                   ` Tassilo Horn
2011-01-04 11:58                     ` Eli Zaretskii
2011-01-05 19:42                   ` Eduard Wiebe
2011-01-06 18:42                     ` Richard Stallman
2011-01-07 11:18                       ` Eli Zaretskii
2011-01-08 21:54                         ` Eduard Wiebe
2011-01-09  4:02                           ` Eli Zaretskii
2011-01-09 20:00                           ` Richard Stallman
2011-01-09 20:13                             ` Eduard Wiebe
2011-01-04 20:36                 ` Richard Stallman
2011-01-04 21:07                   ` Jambunathan K
2011-01-05 15:04                     ` Tom Tromey
2011-01-04 21:17                   ` Tassilo Horn
2011-01-05  2:02                     ` Stephen J. Turnbull
2011-01-05  7:38                       ` Tassilo Horn
2011-01-05 12:11                         ` Stephen J. Turnbull [this message]
2011-01-20  7:32                         ` Kevin Rodgers
2011-05-06 12:53                         ` Jambunathan K
2011-01-05 23:37                     ` Richard Stallman
2011-01-06  7:19                       ` Tassilo Horn
2011-01-04 21:52               ` Lennart Borgman
2011-01-05  5:23               ` Miles Bader
2011-01-05  7:40                 ` Tassilo Horn
2011-05-06 14:01               ` Jambunathan K
2011-01-03 13:04           ` CHENG Gao
2011-01-03 14:14             ` Tassilo Horn
2011-01-04  4:07             ` Richard Stallman
2011-01-02 22:11         ` Richard Stallman
2010-12-31  8:08   ` Tassilo Horn
2010-12-31 16:43 ` Stefan Monnier
2011-01-01  0:06   ` MON KEY
  -- strict thread matches above, loose matches on Subject: below --
2010-12-30 14:07 Tassilo Horn
2010-12-30 14:30 ` Drew Adams
2010-12-30 14:50   ` Tassilo Horn
2010-12-30 15:40     ` Stefan Monnier
2010-12-30 15:48       ` Tassilo Horn
2010-12-30 16:04         ` Stefan Monnier
2010-12-30 18:10           ` Tassilo Horn
2011-05-06 15:30       ` Jambunathan K
2011-05-06 16:09         ` Tassilo Horn
2010-12-30 15:22 ` Tassilo Horn
2010-12-30 16:02   ` Stefan Monnier
2010-12-30 17:20     ` Tassilo Horn

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=87hbdnh7o6.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=monkey@sandpframing.com \
    --cc=rms@gnu.org \
    --cc=tassilo@member.fsf.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.