Article View: gnu.emacs.bug
Article #87729Problem with X-keymap
From: Patrice Naudin
Date: Wed, 07 Sep 1994 09:27
Date: Wed, 07 Sep 1994 09:27
54 lines
2335 bytes
2335 bytes
BUG REPORT FOR EMACS-19.25.1
Problem while remaping keys with xmodmap
On a Dec-Station 5000-25, under Ultrix version 4.3 (rev. 44), under
X11R5 patch level 25.
emacs was created using
./configure mips-dec-ultrix --with-x11
--x-includes=/usr/local/include
--x-libraries=/usr/local/lib
No modification was applied to the sources.
I wanted to make my delete-key behave the same way either when I hit
this key alone or while depressing the shift-key. I did not find how
to do this in emacs programming, so I turned to the X-server.
First attempt: I execute the following command
xmodmap -e 'keysym Delete = Delete b'
then start emacs. I get the expected behavior: Delete is Delete and
Shift-Delete is b.
Second attempt: I execute the following command
xmodmap -e 'keysym Delete = Delete Delete'
then start emacs. When I hit the Delete key, emacs gets DEL, that's
OK. But when I hit the Delete key while depressing the Shift key,
emacs gets the S-delete event. I think that is wrong. The problem is
analogous if I execute
xmodmap -e 'keysym Delete = Delete Cancel'
I get respectively Delete and S-cancel.
In all these attempts, emacs is executed with the following command:
/usr/local/bin/emacs-19.25 -q &
I use the describe-key function in order to see what event is got by
emacs.
--
Patrice NAUDIN email: naudin@matpts.univ-poitiers.fr
Departement de math/info
40, avenue du recteur PINEAU Tel.: (33) 49 45 36 47
86022 POITIERS Cedex Fax: (33) 49 45 40 10
Technical Details
Message-ID:
<9409071123.AA03808@matpts.univ-poitiers.fr>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.cic.net!magnus.acs.ohio-state.edu!cis.ohio-state.edu!matpts.univ-poitiers.fr!naudinShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,c23790a15a22770,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-07 05:14:00 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.cic.net!magnus.acs.ohio-state.edu!cis.ohio-state.edu!matpts.univ-poitiers.fr!naudin From: naudin@matpts.univ-poitiers.fr (Patrice Naudin) Newsgroups: gnu.emacs.bug Subject: Problem with X-keymap Date: 7 Sep 1994 05:27:28 -0400 Organization: GNUs Not Usenet Lines: 54 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409071123.AA03808@matpts.univ-poitiers.fr>