From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yarek Kowalik Newsgroups: gmane.emacs.help Subject: Re: Combining Ctrl + Super_l + ' (quote) does not work Date: Thu, 13 Nov 2008 13:49:42 -0800 (PST) Organization: http://groups.google.com Message-ID: <95ee4206-2982-4997-bc67-0a72f04b0ee8@k24g2000pri.googlegroups.com> References: <71f8e5ee-f101-4bd6-a6f1-be38b6719e13@i20g2000prf.googlegroups.com> <930C5EDF-91EF-46E1-B062-33BCDEE3FBA0@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1226880897 6432 80.91.229.12 (17 Nov 2008 00:14:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2008 00:14:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 00:05:02 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0lF8-0001le-63 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 00:04:54 +0100 Original-Received: from localhost ([127.0.0.1]:45937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0lE0-0008D4-6Z for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Nov 2008 18:03:44 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k24g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 95 Original-NNTP-Posting-Host: 67.182.140.90 Original-X-Trace: posting.google.com 1226612983 17425 127.0.0.1 (13 Nov 2008 21:49:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Nov 2008 21:49:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k24g2000pri.googlegroups.com; posting-host=67.182.140.90; posting-account=KiW1dQoAAAB8yXOzsc-Mcch5Pile_rXB User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164428 X-Mailman-Approved-At: Thu, 13 Nov 2008 18:00:50 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59850 Does anyone know how to trace key presses in emacs? Yarek On Nov 12, 3:09=A0pm, "Yarek Kowalik" wrote: > I tried doing the "add" command with xmodmap (see below), and that didn't > work. > There are two comments on this: > > 1) the default xmodmap is identical between x86 and amd64 machines, yet t= he > amd64 is not working. =A0Doing xmodmap "add" does not help -- I even trie= d > restarting emacs > > 2) note that Ctrl_R + *Super_L* + ' works fine, but Ctrl_L + *Super_L* + = ' > does not. =A0It's the left Ctrl with left Super that's not functioning. > > It's baffling. =A0Any other thoughts? > > Yarek > > phoenix% xmodmap > xmodmap: =A0up to 3 keys per modifier, (keycodes in parentheses): > > shift =A0 =A0 =A0 Shift_L (0x32), =A0Shift_R (0x3e) > lock =A0 =A0 =A0 =A0Caps_Lock (0x42) > control =A0 =A0 Control_L (0x25), =A0Control_R (0x6d) > mod1 =A0 =A0 =A0 =A0Alt_L (0x40), =A0Alt_R (0x71), =A0Meta_L (0x9c) > mod2 =A0 =A0 =A0 =A0Num_Lock (0x4d) > mod3 > mod4 =A0 =A0 =A0 =A0Super_L (0x7f), =A0Hyper_L (0x80) > mod5 =A0 =A0 =A0 =A0Mode_switch (0x5d), =A0ISO_Level3_Shift (0x7c) > > phoenix% xmodmap -e "add mod4 =3D Super_R" > phoenix% xmodmap > xmodmap: =A0up to 3 keys per modifier, (keycodes in parentheses): > > shift =A0 =A0 =A0 Shift_L (0x32), =A0Shift_R (0x3e) > lock =A0 =A0 =A0 =A0Caps_Lock (0x42) > control =A0 =A0 Control_L (0x25), =A0Control_R (0x6d) > mod1 =A0 =A0 =A0 =A0Alt_L (0x40), =A0Alt_R (0x71), =A0Meta_L (0x9c) > mod2 =A0 =A0 =A0 =A0Num_Lock (0x4d) > mod3 > mod4 =A0 =A0 =A0 =A0Super_L (0x7f), =A0Hyper_L (0x80), =A0Super_R (0x74) > mod5 =A0 =A0 =A0 =A0Mode_switch (0x5d), =A0ISO_Level3_Shift (0x7c) > > On Wed, Nov 12, 2008 at 2:49 PM, Peter Dyballa wro= te: > > > Am 12.11.2008 um 21:26 schrieb Yarek Kowalik: > > > =A0Any clue where I need to tweak to make this work? > > > You need to do it in X. The command 'xmodmap -pm' should print that bot= h > > control and both super modifiers have an equal meaning, although the sy= stem > > can distinguish between them. Something like this should be shown: > > > =A0 =A0 =A0 =A0xmodmap: =A0up to 2 keys per modifier, (keycodes in pare= ntheses): > > > =A0 =A0 =A0 =A0shift =A0 =A0 =A0 Shift_L (0x40), =A0Shift_R (0x44) > > =A0 =A0 =A0 =A0lock =A0 =A0 =A0 =A0Caps_Lock (0x41) > > =A0 =A0 =A0 =A0control =A0 =A0 Control_L (0x43), =A0Control_R (0x46) > > =A0 =A0 =A0 =A0mod1 =A0 =A0 =A0 =A0Mode_switch (0x42), =A0Mode_switch (= 0x45) > > =A0 =A0 =A0 =A0mod2 =A0 =A0 =A0 =A0Meta_L (0x3f) > > =A0 =A0 =A0 =A0mod3 =A0 =A0 =A0 =A0Super_L (0x2a), =A0Super_R (0x2f) > > =A0 =A0 =A0 =A0mod4 > > =A0 =A0 =A0 =A0mod5 > > > With xmodmap you can make your right and left modifier variants be "on = the > > same level." Xmodmap can use kind of a "script," a file ~/.xmodmaprc th= at > > adjusts the details, which is invoked from ~/.xinitrc before the first = X > > client is launched. > > > GNU Emacs relies on X11. > > > -- > > Greetings > > > =A0Pete > > > "We need a president who's fluent in at least one language." > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Buck= Henry