unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Editing .odt in emacs
Date: Sat, 04 Mar 2006 16:18:25 +0200	[thread overview]
Message-ID: <u8xrq2szy.fsf@gnu.org> (raw)
In-Reply-To: <TheMailAgent.ba66a1087522fa@d87ffb6f7ad8617f4e03> (message from Alexander Klimov on Thu, 23 Feb 2006 18:35:39 +0200 (IST))

> Date: Thu, 23 Feb 2006 18:35:39 +0200 (IST)
> From: Alexander Klimov <alserkli@inbox.ru>
> 
> I edit open document file saved in OpenOffice in emacs (cvs version).
> BTW, .odt is zipped XML, actually.
> 
> The first problem is that after I have executed
> 
>  (add-to-list 'auto-mode-alist '("\\.odt$" .  archive-mode))
> 
> I got the following:
> 
>  Parsing archive file...
>  File mode specification error: (args-out-of-range 1866753 1866757)
> 
> OTOH if I rename test.odt -> test.zip I can open it and start to edit
> content.xml in SGML (indicated as XML) mode.

Can you set debug-on-error non-nil and post the full backtrace when
the above error happens?

If you can, given the backtrace, figure out what part of arc-mode.el
needs to be changed, please tell what you found.  Failing that, please
post here a small .odt file that can be used to reproduce and debug
this problem.

  reply	other threads:[~2006-03-04 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 16:35 Editing .odt in emacs Alexander Klimov
2006-03-04 14:18 ` Eli Zaretskii [this message]
2006-03-06 17:04   ` Was: " Alexander Klimov
2006-03-06 19:33     ` Eli Zaretskii
2006-03-11 11:45     ` Eli Zaretskii

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8xrq2szy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@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.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).