From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.devel Subject: Re: APL mode Date: Mon, 28 Oct 2013 23:12:41 +0530 Message-ID: References: <52603276.70404@harpegolden.net> <87ppqqt4s8.fsf@uwakimon.sk.tsukuba.ac.jp> <526E5B41.7060100@t-online.de> <526E669E.60501@t-online.de> <526E7EC3.3050305@t-online.de> <526E967F.3010903@harpegolden.net> <526E9DCE.8080504@t-online.de> 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 1382982189 14541 80.91.229.3 (28 Oct 2013 17:43:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2013 17:43:09 +0000 (UTC) Cc: David De La Harpe Golden To: Juergen Sauermann , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 28 18:43:14 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VaqqO-0002Ds-Oh for ged-emacs-devel@m.gmane.org; Mon, 28 Oct 2013 18:43:12 +0100 Original-Received: from localhost ([::1]:42450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaqqO-0001nv-D6 for ged-emacs-devel@m.gmane.org; Mon, 28 Oct 2013 13:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaqqG-0001nj-Gw for emacs-devel@gnu.org; Mon, 28 Oct 2013 13:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaqqE-0003T0-UC for emacs-devel@gnu.org; Mon, 28 Oct 2013 13:43:04 -0400 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:34537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaqqE-0003Sw-MO for emacs-devel@gnu.org; Mon, 28 Oct 2013 13:43:02 -0400 Original-Received: by mail-pa0-f48.google.com with SMTP id kq14so2774065pab.7 for ; Mon, 28 Oct 2013 10:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Gs9cbqDMMO0Re+FC4AwAxjHOQzOIjlV338yUi4n1bAs=; b=WiRS6pKk/WhOVhiNjePIQjBVWHT6eq8Gg8LD2/ybvlTvsQwXpT0Fv5kyOpSnbQxkm2 uqXoY5Xv33t/1mlBpKt7/syhg8GY8jiTXVXUA0VGFtjA2aoeTUvklFmUFYamnpR/KTUh JfpivGhydFWg7lCVFAwaWt3MohcKE3oOpRbXotXO03wTicaD4Kswb4B1//KOn/EZ6ur9 hiO5FRZjkZMDpnq6ly9sJ03X5OpyH5UIiUxM2TXvecEIehYDeIb+GVzjxz58tPKdnsgw EFqm4ypu8whxz71jgOQ/N92fdeoZhVb5kI5Hxwe0/3LxMn4a3Q3LzIpla6V8CNIQowql Trhg== X-Received: by 10.68.219.33 with SMTP id pl1mr3971517pbc.147.1382982181436; Mon, 28 Oct 2013 10:43:01 -0700 (PDT) Original-Received: by 10.68.233.74 with HTTP; Mon, 28 Oct 2013 10:42:41 -0700 (PDT) In-Reply-To: <526E9DCE.8080504@t-online.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164601 Archived-At: On Mon, Oct 28, 2013 at 10:54 PM, Juergen Sauermann wrote: > Hey, cool ! > > it worked on my box. Thanks a lot! > > /// Juergen Great! For the others: some context below. David, Juergen and I had some off-list mails to make this work on Juergen's= box. > On 10/28/2013 05:53 PM, David De La Harpe Golden wrote: >> >> On 28/10/13 15:12, Juergen Sauermann wrote: >>> >>> Hi, >>> >>> I renamed my symbols/extra/apl to something else so that it was not use= d >>> accidentally. >>> Then I put your file as /symbols/apl and tried various combinations of >>> Shilft, Ctrl, leftAlt and rightAlt. >> >> >> Probably not that simple I'm afraid, e.g. though I confess I'm not 100% >> sure it's actually used, did you also amend the variants table in >> rules/base.extras.xml ? >> >> Another perhaps dubious (may involve trusting me) thing that might work >> (no warranty or liability accepted, preferably have a command or gui too= l >> ready to copy-paste to restore your layout): >> >> Background: >> >> While a lot of traditional X11's interesting network-transparency >> facilities are kind of bitrotting/withering-on-the-vine, XKB was after a= ll >> originally architected for a very diverse range of networked gui clients= and >> servers. So the whole thing is designed to allow you to make a layout on= the >> client that the server doesn't know about, then tell the server all abou= t >> it. We can perhaps use/abuse that here if your system isn't too differen= t to >> mine, which it probably isn't, the days of trying to get a fujitsu sparc= box >> working with an Amiga or whatever are gone. >> >> Approach: >> >> Soo... Take the attached compiled .xkm file generated on my system, and >> try applying it to yours! I just used my setxkbmap and xkbcomp to gener= ate >> it, you could also have someone you trust with a similarly new system >> recreate it with a similar command [1] >> >> gunzip apl-gen-xkb2.5.1-3.xkm.gz >> xkbcomp apl-gen-xkb2.5.1-3.xkm :0 >> >> NOTE: you don't have to blindly trust me. If you do a >> >> xkbcomp apl-gen-xkb2.5.1-3.xkm apl-gen-xkb2.5.1-3.xkb >> >> it should decompile it for your inspection, and you can then recompile i= t >> with: >> >> xkbcomp apl-gen-xkb2.5.1-3.xkb apl-gen-xkb2.5.1-3.xkm >> >> Unfortunately it doesn't seem to round-trip byte-identically when >> you do that, but it may not matter functionally. >> >>> What concerns me more is that rightAlt and Shift-rightAlt produce the >>> same >>> character. >> >> >> Well, they produce different characters on my system with the newer >> version... >> >> eeeEEE=E2=88=8A=E2=88=8A=E2=88=8A=E2=8D=B7=E2=8D=B7=E2=8D=B7 >> >> >> >> [1] >> setxkbmap -layout 'us,apl(sax)' -option 'grp:switch' -option >> 'grp_led:scroll' -print | xkbcomp - apl-gen-xkb2.5.1-3.xkm > > --=20 http://www.the-magus.in http://blog.languager.org