From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bruce V Chiarelli Newsgroups: gmane.emacs.help Subject: Re: Japanese input in Linux environment (fcitx-mozc) Date: Fri, 09 Jun 2017 06:27:32 -0700 Message-ID: <87mv9h8f5n.fsf@topd0g> References: <834lvt9mxw.fsf@gnu.org> <20170607080206.GA3070@workstation> <83o9tz95pa.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497022912 16961 195.159.176.226 (9 Jun 2017 15:41:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 15:41:52 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 09 17:41:47 2017 Return-path: Envelope-to: geh-help-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 1dJM2k-00041u-Qf for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2017 17:41:47 +0200 Original-Received: from localhost ([::1]:55406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJM2o-0006Uy-Gd for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jun 2017 11:41:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJJww-0006gz-KB for help-gnu-emacs@gnu.org; Fri, 09 Jun 2017 09:27:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJJwt-0003qF-F0 for help-gnu-emacs@gnu.org; Fri, 09 Jun 2017 09:27:38 -0400 Original-Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:33052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJJwt-0003q4-9V for help-gnu-emacs@gnu.org; Fri, 09 Jun 2017 09:27:35 -0400 Original-Received: by mail-pf0-x234.google.com with SMTP id 83so28603274pfr.0 for ; Fri, 09 Jun 2017 06:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=piRZSC2jDTDFRWlj/A5Hp/+MXhecLMdHx8KGEMD7j6Y=; b=mMe/p2ZA6ebPmGXGoELh5nepqZpmeimh35LSajbowMpBNI/xy+mPwA+J3PLx1pmuEN LZ9CTQu6PTBR2rUgYpMm/8+USKw3gyzOX4m09M0wWY/39rwa+WHPI0F+bE9wW8/+IKLt zKEIq3saCwiQnTnF6WoZsZ20Y63zdK/1fdJrRK/4/Dju/P245nveyRuK3WMXRs73N0qT kPefqBBBthmG+gZLodtpfPq2vO3/VHshVs0R7bchRH5wekRTWelLybe9Spl5h7kfGAqK 3JWJb39RTdmZEbPinXpLCGM80PEu6zjdNXiONyt+ew4MIOUlFVunPhZkVVA8SeU9nRyv 7Sww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=piRZSC2jDTDFRWlj/A5Hp/+MXhecLMdHx8KGEMD7j6Y=; b=X6eOumzespmidWjnyTvgRBv64PmT1RDoHf0HgyWZ3fcZxzeM6dgjvFQ/p05iBT/yOm h4fTS256quaf06eTAV6ybd/qTiCF2tRoM72Tw7qUMM4DCK4gBgDt1swV8WSldTX3X4BW VwSJ+i9EBZf8fpi6toJzu/OgdKHxGP4DaWdbjfvZhSg4NzTwC5moZTjNulspkY/c7wev zqKv6RO3xbL6Eq5gqdDypW42IW4+SV3zDG76HobGHa4M2E6qmxGOOd9BZs/qm90tgSlc 9ncAeU4+jLbaMWTnDy+kKwvAxrrs/UEPbTEm1+kZKDbWDDawtBjEYjvc/9Ykl6lnWp2+ R5tQ== X-Gm-Message-State: AODbwcCOQvPnSKAkIuQ7gbmX/panEMdAu4mmxFw4QUeZLp2hG8KwBrjz tUCEfGG4J4Zw73pBmOI= X-Received: by 10.84.232.141 with SMTP id i13mr19237362plk.172.1497014853873; Fri, 09 Jun 2017 06:27:33 -0700 (PDT) Original-Received: from topd0g (c-73-118-158-137.hsd1.wa.comcast.net. [73.118.158.137]) by smtp.gmail.com with ESMTPSA id 15sm3187490pfj.59.2017.06.09.06.27.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Jun 2017 06:27:33 -0700 (PDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::234 X-Mailman-Approved-At: Fri, 09 Jun 2017 11:41:03 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113416 Archived-At: Maria Shinoto writes: > Just an update on my tests for Japanese input. > > I did not find a solution yet. Here are my intermediate results: > > - Emacs in the terminal works with Japanese (fcitx-mozc) flawlessly. > - It seems to be a problem with GUI Emacs not being able to use fcitx-mozc. > I use fcitx and I had the same problems getting it to work. I don't even use an Asian language keyboard at all, but I had to set LC_CTYPE (not LANG!) to zh_CN.UTF-8 and the XMODIFIERS variable to get it working. Could you try starting emacs like this (from a bash shell)? $ LC_CTYPE=zh_CN.UTF-8 XMODIFIERS=@im=fcitx emacs This is different from setting the LANG environment variable, and works even if you don't have the zh_CN locale built or installed. Gtk will print a warning, but it's harmless. (Documented here: https://fcitx-im.org/wiki/Input_method_related_environment_variables) -- Bruce V. Chiarelli