From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gaetan.leurent@ens.fr (=?iso-8859-1?Q?Ga=EBtan?= LEURENT) Newsgroups: gmane.emacs.devel Subject: Re: Editing exportet registry files Date: Thu, 07 Jul 2005 21:34:43 +0200 Message-ID: References: <3BD964BFBD32F743B1F738A249368ABD0181C888@nh2mail01.in.bosch.com> <1120211351.42c511974f00d@l01.iue.tuwien.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120765661 31706 80.91.229.2 (7 Jul 2005 19:47:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 19:47:41 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 21:47:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqcKt-0000Wn-S9 for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 21:47:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqcMH-00015w-7Y for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 15:48:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqcGn-000835-TM for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:42:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqcGb-0007zS-Qd for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:42:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqcGY-0007rh-EJ for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:42:34 -0400 Original-Received: from [129.199.96.40] (helo=nef2.ens.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqcFc-00010l-QS for emacs-devel@gnu.org; Thu, 07 Jul 2005 15:41:37 -0400 Original-Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef2.ens.fr (8.13.2/1.01.28121999) with ESMTP id j67JYigK011275 ; Thu, 7 Jul 2005 21:34:44 +0200 (CEST) X-Envelope-To: emacs-devel@gnu.org Original-Received: from (leurent@localhost) by clipper.ens.fr (8.13.1/jb-1.1) X-Authentication-Warning: clipper.ens.fr: leurent set sender to gaetan.leurent@ens.fr using -f Original-To: Benjamin Riefenstahl X-Start-Date: Thu, 07 Jul 2005 21:20:07 +0200 X-Spook: plutonium kilderkin Pine Gap Echelon dictionary HAMASMOIS Albania CBNRC e-cash industrial espionage BLU-97 A/B Ron Brown Europol BLU-114/B CDC In-Reply-To: (Benjamin Riefenstahl's message of "Thu, 07 Jul 2005 20:56:42 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.10 (nef2.ens.fr [129.199.96.32]); Thu, 07 Jul 2005 21:34:44 +0200 (CEST) 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:40581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40581 Benjamin Riefenstahl wrote on 07 Jul 2005 20:56:42 +0200: > Have you tried to do something like this: > > (prefer-coding-system 'utf-16le-with-signature) > (prefer-coding-system 'latin-9) > > I.e. first put UTF-16 on the "priority list for automatic detection" > and than override it again with Latin-9 for the defaults. That would try latin-9 first, and if the file is valid as latin-9 (which is quite likely), it will fail. Anyway, utf-16 is already on the list on my emacs ... As I said in a previous post, I would be nice to have an easy way to modify coding-category-list without doing the other stuff prefer-coding-system does. --=20 Ga=EBtan LEURENT