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: Was: Editing .odt in emacs Date: Sat, 11 Mar 2006 13:45:03 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142077530 8912 80.91.229.2 (11 Mar 2006 11:45:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 11:45:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 12:45:28 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 1FI2XF-0005ir-3g for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 12:45:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI2XE-0003gV-Mc for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 06:45:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FI2Wx-0003dj-9e for emacs-devel@gnu.org; Sat, 11 Mar 2006 06:45:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FI2Wv-0003cc-8O for emacs-devel@gnu.org; Sat, 11 Mar 2006 06:45:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI2Wu-0003cZ-VX for emacs-devel@gnu.org; Sat, 11 Mar 2006 06:45:05 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FI2aQ-0002d1-8a for emacs-devel@gnu.org; Sat, 11 Mar 2006 06:48:42 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-214-30.inter.net.il [83.130.214.30]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DSN30100 (AUTH halo1); Sat, 11 Mar 2006 13:45:02 +0200 (IST) Original-To: Alexander Klimov In-reply-to: (message from Alexander Klimov on Mon, 6 Mar 2006 19:04:35 +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:51459 Archived-At: > Date: Mon, 6 Mar 2006 19:04:35 +0200 (IST) > From: Alexander Klimov > cc: emacs-devel@gnu.org > > 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 This is stated in a comment in file.el. > -- I guess we should put it into documentation.. I added this to the doc string of auto-mode-alist.