From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: X keyboard settings (was keyboard macro) Date: Wed, 23 Oct 2013 18:02:28 -0700 (PDT) Message-ID: <4c6a932c-5748-425b-bcd0-9d9a8e823a16@googlegroups.com> References: <1048826531.375111.1382373351593.open-xchange@app02.ox.hosteurope.de> <86036a8c-1428-4f8c-9ee8-f7fd811e2c12@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382576717 17002 80.91.229.3 (24 Oct 2013 01:05:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 01:05:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 03:05:22 2013 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 1VZ9MX-00038a-VQ for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 03:05:22 +0200 Original-Received: from localhost ([::1]:52041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ9MX-0003kq-0I for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 21:05:21 -0400 X-Received: by 10.236.117.136 with SMTP id j8mr169784yhh.18.1382576549534; Wed, 23 Oct 2013 18:02:29 -0700 (PDT) X-Received: by 10.50.73.132 with SMTP id l4mr162036igv.0.1382576549231; Wed, 23 Oct 2013 18:02:29 -0700 (PDT) Original-Path: usenet.stanford.edu!i2no30386026qav.0!news-out.google.com!rn2ni120263pbc.1!nntp.google.com!o2no22841223qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.21.44; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.21.44 User-Agent: G2/1.0 Injection-Date: Thu, 24 Oct 2013 01:02:29 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201914 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:94184 Archived-At: On Tuesday, October 22, 2013 5:29:45 PM UTC+5:30, J=C3=BCrgen Sauermann wro= te: > I have seen this segfault with setxkbmap happening when the keycodes are > do not fit in one byte (which is the case for all Unicode APL characters)= . >=20 > =E2=8D=9D J=C3=BCrgen Great to see the author of gnu apl out here! My question is really quite simple and someone familiar with xmodmap (or mo= ral equivalents) should be able to solve it very easily: 1. X seems to have 8 modifiers which are mappable 2. Most keyboards have a large number of keys used typically as modifiers eg AltGr (right alt) right-win; also 'menu' which can be used as a dead key [Yeah this is not very portable as the laptop on which I am writing this do= es not have the usual scroll lock and numlock etc. I dont think portabilit= y of keyboard usage is the issue right now. 3. I believe though not sure that emacs has the capability to deal with 'hy= per' 'super' etc. So its only a question of taking one of these unused modifer keysyms and do= ing some xmodmap or setxkbmap magic to send these.