From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Leonard Lausen Newsgroups: gmane.emacs.bugs Subject: bug#27505: LC_CTYPE affects tutorial language Date: Tue, 27 Jun 2017 23:48:41 +0900 Message-ID: <44eb186d-db67-3e93-31cd-8260f5df7781@lausen.nl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1498575027 26995 195.159.176.226 (27 Jun 2017 14:50:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2017 14:50:27 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 To: 27505@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 27 16:50:21 2017 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 1dProq-0006gh-N6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jun 2017 16:50:20 +0200 Original-Received: from localhost ([::1]:53241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dProv-0004zq-Sg for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jun 2017 10:50:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dProf-0004wQ-2q for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:50:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dProY-0001hP-MA for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:50:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dProY-0001gx-Iq for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dProY-0000Hs-DJ for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leonard Lausen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jun 2017 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27505 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14985749481027 (code B ref -1); Tue, 27 Jun 2017 14:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jun 2017 14:49:08 +0000 Original-Received: from localhost ([127.0.0.1]:40971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPrng-0000GU-D7 for submit@debbugs.gnu.org; Tue, 27 Jun 2017 10:49:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPrnf-0000G1-2Z for submit@debbugs.gnu.org; Tue, 27 Jun 2017 10:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPrnY-0007Ou-LK for submit@debbugs.gnu.org; Tue, 27 Jun 2017 10:49:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dPrnY-0007OI-Gt for submit@debbugs.gnu.org; Tue, 27 Jun 2017 10:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPrnW-0004La-Mk for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:49:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPrnS-00077l-Hi for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:48:58 -0400 Original-Received: from hercules.uberspace.de ([95.143.172.224]:44302) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dPrnS-0006zf-6L for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 10:48:54 -0400 Original-Received: (qmail 16613 invoked from network); 27 Jun 2017 14:48:47 -0000 Original-Received: from localhost (HELO ?192.168.0.37?) (127.0.0.1) by hercules.uberspace.de with SMTP; 27 Jun 2017 14:48:47 -0000 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:133952 Archived-At: Dear all, as far as I know the environment variable LC_CTYPE applies to classification and conversion of characters, and to multibyte and wide characters. So setting it should not influence the interface language, correct? However, with the following locale: LANG=en_US.UTF-8 LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I find that the emacs tutorial (C-h t) is displayed in Chinese. Is this expected behavior or a bug? This may or may not be related to bug#27312 where I reported that I can't activate fcitx even though env is set up correctly. (I.e. the following is the first line of the displayed tutorial: Emacs 快速指南.(查看版权声明请至本文末尾)) > > In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.15) > of 2017-06-10 built on leonard-xps13 > Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 > Configured using: > 'configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man > --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc > --localstatedir=/var/lib --disable-dependency-tracking > --disable-silent-rules --docdir=/usr/share/doc/emacs-25.2 > --htmldir=/usr/share/doc/emacs-25.2/html --libdir=/usr/lib64 > --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25 > --localstatedir=/var > --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp > --with-gameuser=:gamestat --without-compress-install > --with-file-notification=inotify --enable-acl --with-dbus > --with-modules --with-gpm --without-hesiod --without-kerberos > --without-kerberos5 --with-xml2 --without-selinux --with-gnutls > --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns > --with-gconf --with-gsettings --without-toolkit-scroll-bars --with-gif > --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm > --with-imagemagick --with-xft --without-cairo --with-libotf > --with-m17n-flt --with-x-toolkit=gtk3 --without-xwidgets > GENTOO_PACKAGE=app-editors/emacs-25.2 'CFLAGS=-march=native > -mtune=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS > NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK3 X11 > MODULES > > Important settings: > value of $LC_COLLATE: C > value of $LC_CTYPE: zh_CN.UTF-8 > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=fcitx > locale-coding-system: utf-8-unix > > Major mode: Lisp Interaction > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > Making completion list... [2 times] > delete-backward-char: Text is read-only [3 times] > Making completion list... > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > china-util tooltip eldoc electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset > image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese charscript case-table epa-hook > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice > loaddefs button faces cus-face macroexp files text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote dbusbind inotify dynamic-setting > system-font-setting font-render-setting move-toolbar gtk x-toolkit x > multi-tty make-network-process emacs) > > Memory information: > ((conses 16 86605 6233) > (symbols 48 19787 0) > (miscs 40 46 96) > (strings 32 14398 4574) > (string-bytes 1 414247) > (vectors 16 12192) > (vector-slots 8 484142 16017) > (floats 8 167 9) > (intervals 56 279 0) > (buffers 976 19) > (heap 1024 16015 1078)