From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?SvxyZ2VuIEhhcnRtYW5u?= Newsgroups: gmane.emacs.help Subject: RE: Automatic recognition of some specific coding systems Date: Tue, 3 Mar 2015 23:58:23 +0100 Message-ID: References: , <83fv9v6u5o.fsf@gnu.org>, , <83twya55h9.fsf@gnu.org>, , <83mw4168ha.fsf@gnu.org>, , <83ioeo6363.fsf@gnu.org>, , <83y4nirn59.fsf@gnu.org> 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 1425423528 21510 80.91.229.3 (3 Mar 2015 22:58:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 22:58:48 +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 Mar 03 23:58:41 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 1YSvlw-00026o-PA for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 23:58:40 +0100 Original-Received: from localhost ([::1]:41266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvlw-0008Lv-D3 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 17:58:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvlk-0008Lq-Au for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:58:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSvlh-0001X3-1R for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:58:28 -0500 Original-Received: from dub004-omc4s22.hotmail.com ([157.55.2.97]:56864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSvlg-0001Ws-PL for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 17:58:24 -0500 Original-Received: from DUB124-W17 ([157.55.2.73]) by DUB004-OMC4S22.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 3 Mar 2015 14:58:23 -0800 X-TMN: [6pUlDty5IVLnXA4inhZWIIRHiQH5Zhpd] X-Originating-Email: [juergen_hartmann_@hotmail.com] Importance: Normal In-Reply-To: <83y4nirn59.fsf@gnu.org> X-OriginalArrivalTime: 03 Mar 2015 22:58:23.0636 (UTC) FILETIME=[8D219D40:01D05605] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 157.55.2.97 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:103004 Archived-At: Sorry for the delay of my response: I just was busy to recover my system=0A= from a nasty hard disk failure. But now mail service is back up again...=0A= =0A= So=2C thank you=2C Eli Zaretskii=2C for giving this solution the right twis= t:=0A= =0A= >> So one could think about a regular expression=0A= >> that matches this unique EOL pattern.=0A= > =0A= > A more reliable test might be characters whose codepoints are between=0A= > 128 and 159: those should generally be absent from ISO-8859 encodings.=0A= > (Emacs doesn't use this fact for good reasons=2C but in your specific=0A= > case those reasons should not matter=2C I think.)=0A= =0A= That's great: I didn't recognize this distinctive feature. Of course this i= s=0A= by far the better test: It is more specific=2C since it is per se related t= o=0A= the actual task. I think this is the approach to favor.=0A= =0A= When my system is restored again=2C I will try to implement it=2C reporting= the=0A= findings.=0A= =0A= Juergen=0A= =0A= =