From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21568: [PATCH] Add prettify-symbols-alist for js-mode Date: Sun, 27 Sep 2015 11:39:55 +0300 Message-ID: <83h9mgfe78.fsf@gnu.org> References: <1443268188.7436.0@smtp.gmail.com> <834mihgvb9.fsf@gnu.org> <1443283198.7442.0@smtp.gmail.com> <56074E0F.6060209@yandex.ru> <83r3lkfleu.fsf@gnu.org> <560788DB.6000104@yandex.ru> <83oagofhhi.fsf@gnu.org> <5607A721.2020002@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443343224 20484 80.91.229.3 (27 Sep 2015 08:40:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2015 08:40:24 +0000 (UTC) Cc: xfq.free@gmail.com, simenheg@gmail.com, 21568@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 27 10:40:14 2015 Return-path: Envelope-to: geb-bug-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 1Zg7VD-0005BB-Rv for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2015 10:40:11 +0200 Original-Received: from localhost ([::1]:56596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg7VD-0001cq-EV for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2015 04:40:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg7V8-0001aM-C2 for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 04:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zg7V5-0001r5-5A for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 04:40:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg7V5-0001qh-2U for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 04:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zg7V4-0006WO-MO for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 04:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Sep 2015 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21568 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21568-submit@debbugs.gnu.org id=B21568.144334319125048 (code B ref 21568); Sun, 27 Sep 2015 08:40:02 +0000 Original-Received: (at 21568) by debbugs.gnu.org; 27 Sep 2015 08:39:51 +0000 Original-Received: from localhost ([127.0.0.1]:45509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zg7Us-0006Vv-UB for submit@debbugs.gnu.org; Sun, 27 Sep 2015 04:39:51 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:60944) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zg7Uq-0006Vm-DB for 21568@debbugs.gnu.org; Sun, 27 Sep 2015 04:39:49 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NVB00F00UO8XE00@a-mtaout21.012.net.il> for 21568@debbugs.gnu.org; Sun, 27 Sep 2015 11:39:47 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVB00F9OUQAWM10@a-mtaout21.012.net.il>; Sun, 27 Sep 2015 11:39:47 +0300 (IDT) In-reply-to: <5607A721.2020002@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106962 Archived-At: > Cc: xfq.free@gmail.com, simenheg@gmail.com, 21568@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 27 Sep 2015 11:21:53 +0300 > > On 09/27/2015 10:28 AM, Eli Zaretskii wrote: > > > Me too. But we don't have a better solution yet. > > Do we have a clear statement of the problem (and a bug number, maybe)? I just added a few recommendations to CONTRIBUTE about that. Other than that, we don't have a bug number. I don't think it's a bug, more like inconvenient feature: Emacs cannot determine the encoding of arbitrary text with 100% reliability, so files whose encoding is not unequivocally determined by their file-name extension or some other meta-data need a coding cookie to avoid incorrect decoding. With UTF-8 encoded files (which is the encoding we prefer in Emacs), the problem happens in locales whose codeset is not UTF-8, because Emacs prefers the locale's encoding when no other information is available. > Is it new? No, it's very old. > Is it likely to be unsolved until the upcoming release? I'm not aware of anyone working on that, nd it's a large and complicated problem, so the answer is probably yes.