🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98765

handling of keysysms in x11term.c

#98765
From: Paul Barton-Davis
Date: Mon, 08 Apr 1991 23:19
22 lines
1948 bytes
I know that v19 is supposed to have very nice X11 interfaces, but in
the meantime, can anyone supply code that uses keysyms "properly"
under X11R4 ? The code in x11term.c tries to take charge of its own
keysym->string mappings for function keys, rather than relying on the
value returned by XLookupString().  In addition, if the keysym is
anything other than one of a list of predefined ones, then you effectively
lose the key.

I will grant that this is a "philosophical" question, in that there's
a decision to be made on whether or not Emacs should allow people
to alter the keybindings present in the X server (or rather, in the
area managed by XRebindKeysym()). I am happy to leave that to RMS
and others who want to get v19 done "the right way" (whatever it is
I'm sure it will be great). However, in the meantime, I want to be
able to use the "application" keypad, and some other not-part-of-the
run-of-the-mill-list-of-keysyms in stringFuncVal(). 

If no-one has already done this, I'm happy to volunteer to write it,
but I thought I'd check first.
-- 
Paul Barton-Davis			<pauld@cs.washington.edu>
UW Computer Science Lab		``to shatter tradition makes us feel free''
Technical Details
Message-ID: <1991Apr8.231952.16334@beaver.cs.washington.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!usc!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,682b76087712371e,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-08 20:23:19 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!usc!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: pauld@CS.WASHINGTON.EDU (Paul Barton-Davis)
Newsgroups: gnu.emacs.bug
Subject: handling of keysysms in x11term.c
Message-ID: <1991Apr8.231952.16334@beaver.cs.washington.edu>
Date: 8 Apr 91 23:19:52 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: pauld@cs.washington.edu (Paul Barton-Davis)
Distribution: gnu
Organization: Computer Science & Engineering, U. of Washington, Seattle
Lines: 22
Approved: bug-gnu-emacs@prep.ai.mit.edu