From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: Inputting characters with specialist diacritic marks in emacs Date: Tue, 19 Jan 2016 15:49:16 -0500 Message-ID: <87mvs147n7.fsf@alphaville.usersys.redhat.com> References: <571eb6f1-614e-4ec0-9c55-bbe1fbfb9ddc@googlegroups.com> <8760yppd44.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1453236597 30561 80.91.229.3 (19 Jan 2016 20:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 20:49:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 19 21:49:42 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLdDh-0002ck-GK for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 21:49:41 +0100 Original-Received: from localhost ([::1]:39199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLdDg-0007mb-RW for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 15:49:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLdDW-0007lW-6W for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 15:49:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLdDS-00080v-6C for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 15:49:30 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLdDR-00080q-WF for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 15:49:26 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aLdDP-0002Y8-PY for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 21:49:24 +0100 Original-Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 21:49:23 +0100 Original-Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 21:49:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 72 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:wOuj+5kEYHOyc+e1yRGMk3WB5cM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108794 Archived-At: Emanuel Berg writes: > .... > The solution is the compose key, which in the > Linux VTs (the ttys, or "the console") are setup like > I show soon. But, you probably don't use the ttys, so > I show this just to illustrate the principle. In X, > you can do the same, of course, just not the same way. > setxkbmap can be used for that: setxkbmap -query shows me ,---- | rules: evdev | model: pc105+inet | layout: us,us,us,us | variant: ,colemak,dvorak, | options: ctrl:nocaps,compose:ralt `---- I do the ctrl:nocaps thing and the variants, but everything else is preset for me somehow. If you don't have a compose key, then I presume setxkbmap -option compose:ralt will make Right-Alt be the compose key. The key combinations are slightly different from your settings below: compose+a " -> ä compose+a ' -> á compose+a ` -> à compose+a ^ -> â compose+a * -> å compose+a , -> ą compose+o / -> ø compose+l / -> ł compose+? ? -> ¿ compose+! ! -> ¡ I'm not sure who does all this - all I'm sure about is that it's not me! > > compose '"' 'A' to U+00C4 # Ä > compose '"' 'a' to U+00E4 # ä > compose '"' 'O' to U+00D6 # Ö > compose '"' 'o' to U+00F6 # ö > compose '"' 'U' to U+00DC # Ü > compose '"' 'u' to U+00FC # ü > compose '/' 'A' to U+00C1 # Á > compose '/' 'a' to U+00E1 # á > compose '/' 'E' to U+00C9 # É > compose '/' 'e' to U+00E9 # é > compose '/' 'I' to U+00CD # Í > compose '/' 'i' to U+00ED # í > compose '/' 'O' to U+00D3 # Ó > compose '/' 'o' to U+00F3 # ó > compose '/' 'U' to U+00DA # Ú > compose '/' 'u' to U+00FA # ú > compose '0' 'A' to U+00C5 # Å > compose '0' 'a' to U+00E5 # å > compose '\\' 'A' to U+00C0 # À > compose '\\' 'a' to U+00E0 # à > compose 'o' 'A' to U+00C5 # Å > compose 'o' 'a' to U+00E5 # å -- Nick