From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Editing exportet registry files Date: Fri, 01 Jul 2005 13:02:44 +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=us-ascii X-Trace: sea.gmane.org 1120217596 11413 80.91.229.2 (1 Jul 2005 11:33:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 11:33:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 13:33:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoJlY-0007ZJ-FC for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 13:33:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoJtz-0008JF-Nw for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 07:41:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DoJoR-0006i5-DW for emacs-devel@gnu.org; Fri, 01 Jul 2005 07:36:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DoJoP-0006hI-5R for emacs-devel@gnu.org; Fri, 01 Jul 2005 07:36:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoJo6-00060j-QZ for emacs-devel@gnu.org; Fri, 01 Jul 2005 07:35:43 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DoJO2-0006l6-US for emacs-devel@gnu.org; Fri, 01 Jul 2005 07:08:47 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DoJBO-00039L-J2 for emacs-devel@gnu.org; Fri, 01 Jul 2005 12:55:42 +0200 Original-Received: from user.ifsab.se ([193.41.170.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2005 12:55:42 +0200 Original-Received: from brakjoller by user.ifsab.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2005 12:55:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user.ifsab.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:VBUmLNmbU8tX95aOzAmAWKu6Vk4= 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:40028 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40028 gritsch@iue.tuwien.ac.at writes: > Thank you all very much for your help. With the given information and the Emacs > ducumentation I have now added the following lines to my .emacs file, which > makes editing exportet registry files less painfull: > > (setq file-coding-system-alist > (append '(("\\.reg\\'" . utf-16le-with-signature)) > file-coding-system-alist)) > Great! I have wondered how to do this and have been too lazy to find out myself... :) A comment, and I really do not want to troll here: Why cannot Emacs handle this automatically? I mean, it already handles LF vs CR + LF issues when I open text files encoded using either format. Are there any drawbacks trying to "guess" more than what is already done?