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: coding systems for reading files Date: Fri, 15 Aug 2014 22:21:14 +0300 Message-ID: <83sikxeez9.fsf@gnu.org> References: <20140815161150.GA8057@doriath.local> 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 1408130523 23505 80.91.229.3 (15 Aug 2014 19:22:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2014 19:22:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 15 21:21:56 2014 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 1XIN4V-0006Ng-V7 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2014 21:21:56 +0200 Original-Received: from localhost ([::1]:33062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIN4V-0005ew-Hs for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2014 15:21:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIN4C-0005aj-Lr for help-gnu-emacs@gnu.org; Fri, 15 Aug 2014 15:21:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIN45-0000zq-7S for help-gnu-emacs@gnu.org; Fri, 15 Aug 2014 15:21:36 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:46448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIN44-0000zi-VA for help-gnu-emacs@gnu.org; Fri, 15 Aug 2014 15:21:29 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NAD0050041GEW00@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Fri, 15 Aug 2014 22:20:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAD00PM34DB0H50@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Fri, 15 Aug 2014 22:20:00 +0300 (IDT) In-reply-to: <20140815161150.GA8057@doriath.local> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 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:99230 Archived-At: > Date: Fri, 15 Aug 2014 18:11:50 +0200 > From: Ernest Adrogu=E9 >=20 > Say that when opening an existing file I want to try first with iso= -latin-1 > and if this fails try windows-1252. How does one tell Emacs to do = that? If > I do >=20 > (set-coding-system-priority 'windows-1252) > (set-coding-system-priority 'latin-1) Since windows-1252 is a superset of latin-1, why does this make sense= ?