From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files Date: Sun, 27 Sep 2015 13:59:26 +0300 Message-ID: <834migf7qp.fsf@gnu.org> References: <20150921165211.20434.28114@vcs.savannah.gnu.org> <83fv27mt7r.fsf@gnu.org> <83wpvfix7i.fsf@gnu.org> <83fv23hr0z.fsf@gnu.org> <5605CB6B.4000102@cs.ucla.edu> <83twqhhf0g.fsf@gnu.org> <5606AC48.7090801@cs.ucla.edu> <83zj09fbzp.fsf@gnu.org> <5606C140.6090309@cs.ucla.edu> <878u7trwlb.fsf@fencepost.gnu.org> <5606E995.2000102@cs.ucla.edu> <83si61ezxd.fsf@gnu.org> <560700E1.4010403@cs.ucla.edu> <83pp14fhj5.fsf@gnu.org> <5607A758.4020205@cs.ucla.edu> <87r3lkp48y.fsf@fencepost.gnu.org> <838u7sf9ql.fsf@gnu.org> <837fncf8tj.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443351588 8295 80.91.229.3 (27 Sep 2015 10:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2015 10:59:48 +0000 (UTC) Cc: dak@gnu.org, schwab@linux-m68k.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: eggert@cs.ucla.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 27 12:59:39 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zg9g1-0002TZ-LA for ged-emacs-devel@m.gmane.org; Sun, 27 Sep 2015 12:59:29 +0200 Original-Received: from localhost ([::1]:56958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg9g0-0007So-Sx for ged-emacs-devel@m.gmane.org; Sun, 27 Sep 2015 06:59:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg9fx-0007Sg-LY for emacs-devel@gnu.org; Sun, 27 Sep 2015 06:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zg9fw-0005Bz-PX for emacs-devel@gnu.org; Sun, 27 Sep 2015 06:59:25 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:57794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg9fr-0005A0-Ma; Sun, 27 Sep 2015 06:59:19 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NVC0030014F8Y00@a-mtaout23.012.net.il>; Sun, 27 Sep 2015 13:59:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVC003NI16T5R50@a-mtaout23.012.net.il>; Sun, 27 Sep 2015 13:59:18 +0300 (IDT) In-reply-to: <837fncf8tj.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190409 Archived-At: > Date: Sun, 27 Sep 2015 13:36:08 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org, dak@gnu.org, schwab@linux-m68k.org, > monnier@iro.umontreal.ca, eggert@cs.ucla.edu > > ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system) > ("" undecided)) > > And the bundled po.el already defines po-find-file-coding-system. > > So it sounds like we simply have a bug here. Ehm.. what bug? AFAICS, the encoding is correctly detected and used when I visit *.po files, no matter what is their encoding. So I'm not sure why Paul said: >> Yes, and those files are a pain to look at with Emacs now, since it >> typically misguesses their encodings. Presumably Emacs should be looking >> at .po files' charset= decorations. as I see no such problems. Maybe Paul has some customizations that somehow disable po.el's detection?