From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#24953: 25.1; Possible inefficiency in UTF-8 Date: Mon, 21 Nov 2016 16:38:07 -0500 Message-ID: References: <83vavnflg9.fsf@gnu.org> <83eg2bfc51.fsf@gnu.org> <83bmxffaev.fsf@gnu.org> <83twb18q3x.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1479764361 16559 195.159.176.226 (21 Nov 2016 21:39:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2016 21:39:21 +0000 (UTC) Cc: 24953@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 22:39:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8wJ2-0002hj-EU for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 22:39:16 +0100 Original-Received: from localhost ([::1]:51852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8wJ1-0006Ag-23 for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 16:39:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8wIs-0006AG-95 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:39:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8wIo-0000UK-DF for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:39:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8wIo-0000UE-92 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8wIo-00079x-36 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2016 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24953-submit@debbugs.gnu.org id=B24953.147976429527459 (code B ref 24953); Mon, 21 Nov 2016 21:39:02 +0000 Original-Received: (at 24953) by debbugs.gnu.org; 21 Nov 2016 21:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:37499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8wI2-00078o-PJ for submit@debbugs.gnu.org; Mon, 21 Nov 2016 16:38:14 -0500 Original-Received: from mail-yw0-f172.google.com ([209.85.161.172]:36422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8wI1-00078d-Om for 24953@debbugs.gnu.org; Mon, 21 Nov 2016 16:38:14 -0500 Original-Received: by mail-yw0-f172.google.com with SMTP id a10so223870657ywa.3 for <24953@debbugs.gnu.org>; Mon, 21 Nov 2016 13:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iwqwiGi7wnGb14qOHGtWVdEGu0V9sYc7dxNf/tvOxeM=; b=YiTv0IF0cRHDKJvWyf0gej4vwf1ZhwrnQFqmHaqi+04I6aXvY3ixlpcVCVR/GK8VqR n0SD7M0UbzHVk0g9SIDZDmKMuYmdOgsVE0rhQTzrpsxMcjYqVFcthqRUZU760fR1d8sj oERGNBPPjXW1NEf3aDJf+9lBIZr700xc5pTtO4OCJLCV2g9Dk690tBcN7dubYxfbq1C7 85614fIEKT7WEjv/4PDdXT2KHk0gnqAakbqP9skEvEmREJRTNb+0DIjlFNULgzk/L/lT Mc56EuXlgRpWlkexWBwHd6oeRtXx8kN4ycOy/dAIzj8tvsemPyNZFu8zAe4RUUgGifN7 OPYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iwqwiGi7wnGb14qOHGtWVdEGu0V9sYc7dxNf/tvOxeM=; b=iKDNbst1si1kcGmrKAZW0yPrI+uiJ14dax7nrUbgjdQ8HmBhwEEoSPuIZ8MQbkT0t6 WzWXAh6agN/GaUIF6BG8wNjriHWymexeUkEBbm8zUD+kH4LxFcgkBwt1HmsXj1hTihEa lUAxgJDLW5V9+R5DEbPX1V+oTWvdEuswcr6Prgo/Bq/7UDqlS+OUBHp5TA13kDUuV8ep Gxk6/kev5oPWCdjzX2sWtvhgQps8Lkp8AKPPV+T8qvJV5mYZ4GdmtFyM7ngWEYb3d0Ib 4ajK/XhJMltYdiLVRRQ8lBPZr9kV5PxoXhhRhrWFCku2/Wzha63zgdb+X9IwS+dH859k i/Ug== X-Gm-Message-State: AKaTC012PJSS5HIb79doxEsyjOz5vh6q8oqzek/QIkcY7g5zsNA73cffDI4xnP2c55zZwL2rbWwAMf53InYCJA== X-Received: by 10.129.113.84 with SMTP id m81mr17485232ywc.223.1479764288090; Mon, 21 Nov 2016 13:38:08 -0800 (PST) Original-Received: by 10.37.57.206 with HTTP; Mon, 21 Nov 2016 13:38:07 -0800 (PST) In-Reply-To: <83twb18q3x.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:125966 Archived-At: On Sun, Nov 20, 2016 at 10:32 PM, Eli Zaretskii wrote: >> >> If this is not expected, I can try to get reproducible instructions. > > It isn't expected with Emacs 25.1, as it specifically sets up things > assuming Git reports its data in UTF-8. Are you sure you didn't set > i18n.commitEncoding in your Git configuration, or have some non-ASCII > text encoded in something other than UTF-8 in that repository? I just ran into an encoding problem, with files now: openning a utf-8 file with a single lambda (\316\273) sometimes failes, and I traced this to whether I start Emacs from Windows or from a cygwin shell. In the latter case, my shell has an explicit LANG setting and the result is that Emacs opens that file fine, but in the first case, when Emacs is started directly by windows, there is no LANG, and the utf-8 file is not treated as such (looks like it opens it in latin-1). I verified this with "emacs -Q" too. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!