From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Japanese input in Linux environment (fcitx-mozc) Date: Wed, 7 Jun 2017 10:26:38 +0200 Message-ID: <20170607082638.GA18108@tuxteam.de> References: <834lvt9mxw.fsf@gnu.org> <20170607080206.GA3070@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1496824036 1846 195.159.176.226 (7 Jun 2017 08:27:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 08:27:16 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 07 10:27:12 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 1dIWJ5-0000Hp-Ih for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 10:27:11 +0200 Original-Received: from localhost ([::1]:41931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIWJA-0006VT-Nd for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 04:27:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIWIf-0006V7-Qp for help-gnu-emacs@gnu.org; Wed, 07 Jun 2017 04:26:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIWIa-0005yX-UN for help-gnu-emacs@gnu.org; Wed, 07 Jun 2017 04:26:45 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:46034 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIWIa-0005yG-NE for help-gnu-emacs@gnu.org; Wed, 07 Jun 2017 04:26:40 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1dIWIY-0004tv-BS for help-gnu-emacs@gnu.org; Wed, 07 Jun 2017 10:26:38 +0200 In-Reply-To: <20170607080206.GA3070@workstation> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:113390 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 07, 2017 at 10:02:06AM +0200, Héctor Lahoz wrote: > Hi. Perhaps this should be a reply to the first mail but I lost it. > Sorry. > > Just some thoughts about this. This is a very common problem. I wish I > could offer some specific solution but I can't since I don't write > Japanese. But I do write Spanish, English, German and occasionally > Greek and Cyrillic. > > This task, change input between different languages, is not Emacs > specific. Emacs is not the only application in the world and probably > other applications will need this too. As I said it is a very common > task. So it should not be provided by Emacs itself but by some > underlying system, be it GTK, X11, or even the operating system. > > Emacs should just communicate with that underlying system > and use its services. > > So I think the right direction is to look at the X input method > architecture. It seems there are some newer solutions like IBus or > SCIM. I can't tell how or up to what extent Emacs uses any of these. > > https://en.wikipedia.org/wiki/X_Input_Method Been there. It's more complicated. Yes, there are upsides to delegating to X (and when I can, I truly do): entering stuff in a terminal or a browser works the same than entering stuff in Emacs. There are downsides too: Emacs input methods are much more flexible, diverse and easier to set up. Personally, I try to strong-arm X into doing my thing. That said, I'm using pretty "plain" X, which is uncommon these days. I never managed to completely figure out how those things are supposed to work on more mainstream desktop environments (I support a couple of Gnome installations). Perhaps I'd be less successful on those. To sum up: for things I use semi-frequently, I go to the extra length of "unified" configuration (i.e. outside of Emacs). For very occasional things, it's Emacs input methods (much easier to set up). Sometimes (I started with greek a short while ago), I start with Emacs, as a pioneer, and then try to rework my setup into a more unified thing (e.g. setting up a second group by toggling via double shift). As for the compose key... for me, it's a boon, but I'd never recommend it for often-used chars (I type much of German and am grateful the umlauts got their keys, for example). Emacs, of course, plays along with everything and then more. Can't say how grateful I am for *that* Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlk3uL4ACgkQBcgs9XrR2kaZ2gCfdjE/w7abuNajWkgiHB/iQgv1 IuUAn3POpmay1X/bDhnW4Tcmc2/TNtD4 =G1tH -----END PGP SIGNATURE-----