From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Automatic recognition of some specific coding systems Date: Tue, 24 Feb 2015 20:28:35 +0200 Message-ID: <83fv9v6u5o.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1424802572 28005 80.91.229.3 (24 Feb 2015 18:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2015 18:29:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 19:29:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQKET-0004O1-4n for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 19:29:21 +0100 Original-Received: from localhost ([::1]:50835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQKES-00016f-Jp for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 13:29:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQKDg-0008Ux-Im for help-gnu-emacs@gnu.org; Tue, 24 Feb 2015 13:28:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQKDb-0008GB-GB for help-gnu-emacs@gnu.org; Tue, 24 Feb 2015 13:28:32 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQKDb-0008G7-8Z for help-gnu-emacs@gnu.org; Tue, 24 Feb 2015 13:28:27 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKA00F00GGFYO00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Feb 2015 20:28:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKA00FW6GNDNZ70@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Feb 2015 20:28:25 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102874 Archived-At: > From: J=FCrgen Hartmann > Date: Tue, 24 Feb 2015 16:31:46 +0100 >=20 > Most of the text files that I have to work with are encoded with on= e > of the coding systems >=20 > utf-8-unix > latin-9-unix > cp850-dos >=20 > Therefore, it was very convenient for me that the version 22.3 of > Emacs was (after some minor configuration) perfectly able to > automatically recognize these coding systems from the contents of t= he > respective files. As I understand, this was possible because in tha= t > old Emacs version these tree systems were associated with three > different coding categories, i.e. >=20 > coding-category-utf-8 > coding-category-iso-8-1 (meanwhile depreciated) > coding-category-ccl >=20 > respectively. >=20 > Now switching to Emacs 24.4, I found that two of these coding syste= ms, >=20 > latin-9-unix > cp850-dos >=20 > were bunched together into the category >=20 > coding-category-charset >=20 > presumably with the consequence that I have to choose which one of > these two systems will not be automatically recognized any more. >=20 > Is this conclusion correct? No, I don't think so. There's no direct relation between categories and recognition of encoding. If you have specific problems, i.e. if Emacs doesn't recognize the encoding of some file(s), please post the details. (I'd suggest to try in "emacs -Q" first, because some problems might be caused by you= r customizations that need to be removed or adapted to the new version.= ) Then people here could review the problems and advise you about possible solutions, or ask you to file a bug report. But in general, there shouldn't be any regressions in recognizing encodings.