From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Japanese input in Linux environment (fcitx-mozc) Date: Wed, 07 Jun 2017 02:43:29 +0200 Message-ID: References: <834lvt9mxw.fsf@gnu.org> 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 1496798575 19354 195.159.176.226 (7 Jun 2017 01:22:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 01:22:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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 03:22:49 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 1dIPgP-0004lW-Ap for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 03:22:49 +0200 Original-Received: from localhost ([::1]:40785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIPgU-0007m2-Di for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jun 2017 21:22:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIP4a-0005f6-Q8 for help-gnu-emacs@gnu.org; Tue, 06 Jun 2017 20:43:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIP4X-0006wh-LM for help-gnu-emacs@gnu.org; Tue, 06 Jun 2017 20:43:44 -0400 Original-Received: from [195.159.176.226] (port=48712 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIP4X-0006vI-EK for help-gnu-emacs@gnu.org; Tue, 06 Jun 2017 20:43:41 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dIP4M-00074w-MR for help-gnu-emacs@gnu.org; Wed, 07 Jun 2017 02:43:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 124 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:aWxOcq9cNmya1vM9Gl5rS+fD4+4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:113379 Archived-At: Jean-Christophe Helary wrote: > I have exactly the same issue. I write > French, English and Japanese (albeit on a Mac > system) and the difficulty to shift from an > input system to the other is what keeps me on > the Mac. French at least shouldn't be a problem on Linux or Emacs. They have a few goofy chars just like most languages. For example my Swedish have Å, Ä and Ö. I have that as a compose key. That way, I can have the programmer's Anglo-American keyboard layout constantly, even when I write in Swedish - i.e., the Swedish Ö key on the keyboard still being ; - and whenever I need the Ö I do Compose " o Since getting that up, I've set up many other goofy chars, some of which I believe are present in the French language (I post this last in this post) - I've done this mostly to be able to write names correctly, e.g. Éric de Bisschop. It is *much better* to have the compose key for the goofy chars than to switch the entire keyboard layout! Facts for fans: The only national translation project of the man pages that had a huge body translated was the French. By now, French tech people are probably fluent enough in English tho. How it works for Russian and Japanese I have have no idea. The Russian alphabet is different from the latin but it is still an alphabet. So it should be straightforward. Tho the "compose method" doesn't work because the entire alphabet is just "goofy chars"! So then you have no choice but to switch between keyboard layouts. You could put the Russian L at the same spot as the latin L but it would be an uphill battle and complete consistency impossible as there is no equivalent for every char/sound. But perhaps switching layouts between Russian and Anglo-American isn't that big a deal as the entire layout is switched, and because the change is total, there is actually not that much confusion? With Japanese, is there an alphabet as well or is it pictorial only? Or parallel systems? How does a Japanese typewrite look? Oh, the compose key in a Linux VT http://user.it.uu.se/~embe8573/conf/remap.inc ## Æ compose 'A' 'E' to U+00C6 # Æ compose 'a' 'e' to U+00E6 # æ ## Å compose '0' 'A' to U+00C5 # Å - ring compose '0' 'a' to U+00E5 # å compose 'o' 'A' to U+00C5 # Å compose 'o' 'a' to U+00E5 # å ## Ä compose '"' 'A' to U+00C4 # Ä - diaeresis compose '"' 'a' to U+00E4 # ä ## Ö compose '"' 'O' to U+00D6 # Ö - diaeresis compose '"' 'o' to U+00F6 # ö ## U compose '/' 'U' to U+00DA # Ú - acute compose '/' 'u' to U+00FA # ú compose '"' 'U' to U+00DC # Ü - diaeresis compose '"' 'u' to U+00FC # ü ## more As compose '/' 'A' to U+00C1 # Á - acute compose '/' 'a' to U+00E1 # á compose '\\' 'A' to U+00C0 # À - grave compose '\\' 'a' to U+00E0 # à ## C compose '/' 'C' to U+0106 # Ć - acute compose '/' 'c' to U+0107 # ć compose '.' 'C' to U+00C7 # Ç - cedilla compose '.' 'c' to U+00E7 # ç ## E compose '/' 'e' to U+00E9 # é - acute compose '/' 'E' to U+00C9 # É compose '\\' 'E' to U+00C8 # È - grave compose '\\' 'e' to U+00E8 # è ## I ## note: Linux VT + I/i + grave DNC compose '/' 'I' to U+00CD # Í - acute compose '/' 'i' to U+00ED # í ## O compose '/' 'O' to U+00D3 # Ó - acute compose '/' 'o' to U+00F3 # ó compose '-' 'O' to U+00D8 # Ø - stroke (old name: slash) compose '-' 'o' to U+00F8 # ø ## N compose '~' 'N' to U+00D1 # Ñ - tilde compose '~' 'n' to U+00F1 # ñ -- underground experts united http://user.it.uu.se/~embe8573