From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Editing .odt in emacs Date: Sat, 04 Mar 2006 16:18:25 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1141489498 31606 80.91.229.2 (4 Mar 2006 16:24:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2006 16:24:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 04 17:24:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFZYo-0005eN-7F for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 17:24:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFZYr-0003iN-R5 for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 11:24:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFXal-0005Ya-SE for emacs-devel@gnu.org; Sat, 04 Mar 2006 09:18:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FFXah-0005V3-Cx for emacs-devel@gnu.org; Sat, 04 Mar 2006 09:18:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFXag-0005Us-W7 for emacs-devel@gnu.org; Sat, 04 Mar 2006 09:18:39 -0500 Original-Received: from [192.114.186.17] (helo=gandalf.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FFXcZ-0001gH-I6 for emacs-devel@gnu.org; Sat, 04 Mar 2006 09:20:35 -0500 Original-Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id IAW03257; Sat, 4 Mar 2006 16:18:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-233-118.inter.net.il [83.130.233.118]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CVB88595 (AUTH halo1); Sat, 4 Mar 2006 16:18:25 +0200 (IST) Original-To: Alexander Klimov In-reply-to: (message from Alexander Klimov on Thu, 23 Feb 2006 18:35:39 +0200 (IST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51178 Archived-At: > Date: Thu, 23 Feb 2006 18:35:39 +0200 (IST) > From: Alexander Klimov > > 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.