emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: APL mode


From: Rustom Mody
Subject: Re: APL mode
Date: Mon, 28 Oct 2013 23:12:41 +0530

On Mon, Oct 28, 2013 at 10:54 PM, Juergen Sauermann
<address@hidden> 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 used
>>> 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 tool
>> 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 all
>> 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 about
>> it. We can perhaps use/abuse that here if your system isn't too different 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 generate
>> 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 it
>> 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∊∊∊⍷⍷⍷
>>
>>
>>
>> [1]
>> setxkbmap -layout 'us,apl(sax)' -option 'grp:switch' -option
>> 'grp_led:scroll' -print | xkbcomp - apl-gen-xkb2.5.1-3.xkm
>
>



-- 
http://www.the-magus.in
http://blog.languager.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]