From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Klimov Newsgroups: gmane.emacs.devel Subject: Was: Editing .odt in emacs Date: Mon, 6 Mar 2006 19:04:35 +0200 (IST) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1141683941 30632 80.91.229.2 (6 Mar 2006 22:25:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2006 22:25:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 06 23:25:40 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 1FGO91-0005uH-Ho for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2006 23:25:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGO90-0000ip-Vn for ged-emacs-devel@m.gmane.org; Mon, 06 Mar 2006 17:25:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGNEq-0006fH-IV for emacs-devel@gnu.org; Mon, 06 Mar 2006 16:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGNEn-0006bs-3E for emacs-devel@gnu.org; Mon, 06 Mar 2006 16:27:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGJvo-0003cC-Lq for emacs-devel@gnu.org; Mon, 06 Mar 2006 12:55:41 -0500 Original-Received: from [199.203.54.24] (helo=eitan.edu) by monty-python.gnu.org with smtp (Exim 4.52) id 1FGJAq-0008TB-Af for emacs-devel@gnu.org; Mon, 06 Mar 2006 12:07:08 -0500 Original-Received: (qmail 24567 invoked from network); 6 Mar 2006 17:04:35 -0000 Original-Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 6 Mar 2006 17:04:35 -0000 Original-To: Eli Zaretskii In-Reply-To: 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:51297 Archived-At: On Sat, 4 Mar 2006, Eli Zaretskii wrote: > > The first problem is that after I have executed > > > > (add-to-list 'auto-mode-alist '("\\.odt$" . archive-mode)) > > > > I got the following: [...] > > Can you set debug-on-error non-nil [...] I have found the solution: I add odt to auto-coding-alist the same way as zip and it seems that everything works now, but, it was VERY nontrivial to find that in order to make something to be processed as zip one needs to change auto-mode-alist AND auto-coding-alist -- I guess we should put it into documentation.. -- Regards, ASK