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: Wed, 12 Nov 2008 15:09:29 -0800 Message-ID: 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: multipart/alternative; boundary="----=_Part_15238_17085787.1226531369519" X-Trace: ger.gmane.org 1226536074 31339 80.91.229.12 (13 Nov 2008 00:27:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 00:27:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Peter Dyballa" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 13 01:28:55 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 1L0Q4s-0001qE-CF for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Nov 2008 01:28:54 +0100 Original-Received: from localhost ([127.0.0.1]:60464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Q3k-0005od-56 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2008 19:27:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0Oq5-0003CA-AM for help-gnu-emacs@gnu.org; Wed, 12 Nov 2008 18:09:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Oq4-0003By-IU for help-gnu-emacs@gnu.org; Wed, 12 Nov 2008 18:09:32 -0500 Original-Received: from [199.232.76.173] (port=57242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Oq4-0003Bv-8O for help-gnu-emacs@gnu.org; Wed, 12 Nov 2008 18:09:32 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:46383) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0Oq3-00045g-IG for help-gnu-emacs@gnu.org; Wed, 12 Nov 2008 18:09:31 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so587122fgb.30 for ; Wed, 12 Nov 2008 15:09:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=lRhJDOc3EcMIA83i4m7/6InQglJy83cIqdv7ugxEM3k=; b=nEucxNR85OUKKaEN8TYNIQyaDCyzXpyVagkTFv33AtVnaXeaooWX+ySlKB2MgLbKwy /kJyj2Ki0ClfO120HOm/SshGbSs3gIV43BfqevfhhDlDTxVUnI0KlB8MoZ5bSPF13kUZ gPP2KBf/fuJpi1TXcMjIl2I2URsLgdbs9JmYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=oJmDVDJ0z4VftQYcP6hytaxhW8r1AYBezGmSVzCfTY53I2d03VwcEqbrysXDr70wbm byh+frfsHZKHU7Nt7A1/bVhuQe9/32Nh92T1DEZqf1uDSBNsUv4L7dc5m+YmIYEoY3hA S2tw4RB16u/G0PiaLNl7nfPf+/mTbqaprqoXs= Original-Received: by 10.187.247.15 with SMTP id z15mr3267409far.6.1226531369517; Wed, 12 Nov 2008 15:09:29 -0800 (PST) Original-Received: by 10.187.232.5 with HTTP; Wed, 12 Nov 2008 15:09:29 -0800 (PST) In-Reply-To: <930C5EDF-91EF-46E1-B062-33BCDEE3FBA0@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 12 Nov 2008 19:27:27 -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:59715 Archived-At: ------=_Part_15238_17085787.1226531369519 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 the amd64 is not working. Doing xmodmap "add" does not help -- I even tried restarting emacs 2) note that Ctrl_R + *Super_L* + ' works fine, but Ctrl_L + *Super_L* + ' does not. It's the left Ctrl with left Super that's not functioning. It's baffling. Any other thoughts? Yarek phoenix% xmodmap xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Alt_R (0x71), Meta_L (0x9c) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x7f), Hyper_L (0x80) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c) phoenix% xmodmap -e "add mod4 =3D Super_R" phoenix% xmodmap xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Alt_R (0x71), Meta_L (0x9c) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x7f), Hyper_L (0x80), Super_R (0x74) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c) On Wed, Nov 12, 2008 at 2:49 PM, Peter Dyballa wrote= : > > Am 12.11.2008 um 21:26 schrieb Yarek Kowalik: > > Any clue where I need to tweak to make this work? >> > > > You need to do it in X. The command 'xmodmap -pm' should print that both > control and both super modifiers have an equal meaning, although the syst= em > can distinguish between them. Something like this should be shown: > > xmodmap: up to 2 keys per modifier, (keycodes in parentheses): > > shift Shift_L (0x40), Shift_R (0x44) > lock Caps_Lock (0x41) > control Control_L (0x43), Control_R (0x46) > mod1 Mode_switch (0x42), Mode_switch (0x45) > mod2 Meta_L (0x3f) > mod3 Super_L (0x2a), Super_R (0x2f) > mod4 > mod5 > > With xmodmap you can make your right and left modifier variants be "on th= e > same level." Xmodmap can use kind of a "script," a file ~/.xmodmaprc that > adjusts the details, which is invoked from ~/.xinitrc before the first X > client is launched. > > GNU Emacs relies on X11. > > -- > Greetings > > Pete > > "We need a president who's fluent in at least one language." > =96 Buck Henry > > > > > ------=_Part_15238_17085787.1226531369519 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I tried doing the "add" command with xmodmap (see below), and tha= t didn't work.
There are two comments on this:

1) the default xmodmap is identical between x86 and amd64 machines, yet the amd64 is not working.  Doing xmodmap "add" does not help= -- I even tried restarting emacs

2) note that Ctrl_R + Super_L + ' works fine, but Ctrl_L + <= b>Super_L + ' does not.  It's the left Ctrl with left Supe= r that's not functioning.

It's baffling.  Any other tho= ughts?

Yarek

phoenix% xmodmap
xmodmap:  up to 3 keys per modifi= er, (keycodes in parentheses):

shift     &n= bsp; Shift_L (0x32),  Shift_R (0x3e)
lock    &n= bsp;   Caps_Lock (0x42)
control     Contro= l_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_R (0= x71),  Meta_L (0x9c)
mod2       = Num_Lock (0x4d)
mod3     
mod4  =       Super_L (0x7f),  Hyper_L (0x80)
mod5=         Mode_switch (0x5d),  ISO_Le= vel3_Shift (0x7c)

phoenix% xmodmap -e "add mod4 =3D Super_R&quo= t;
phoenix% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in = parentheses):

shift       Shift_L (0x3= 2),  Shift_R (0x3e)
lock        = Caps_Lock (0x42)
control     Control_L (0x25), = Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_R (0= x71),  Meta_L (0x9c)
mod2       = Num_Lock (0x4d)
mod3     
mod4  =       Super_L (0x7f),  Hyper_L (0x80),  = Super_R (0x74)
mod5        Mode_switc= h (0x5d),  ISO_Level3_Shift (0x7c)




On Wed, Nov 12, 2008 at 2:49 PM,= Peter Dyballa <Peter_Dyballa@web.de> wrote:

Am 12.11.2008 um 21:26 schrieb Yarek Kowalik:


Any clue where I need to tweak to make this work?


You need to do it in X. The command 'xmodmap -pm' should print that= both control and both super modifiers have an equal meaning, although the = system can distinguish between them. Something like this should be shown:
       xmodmap:  up to 2 keys per modifier, (keyc= odes in parentheses):
       
       shift       Shift_L (0x40), &nbs= p;Shift_R (0x44)
       lock        Caps_Lock (0x41= )
       control     Control_L (0x43),  C= ontrol_R (0x46)
       mod1        Mode_switch (0x= 42),  Mode_switch (0x45)
       mod2        Meta_L (0x3f)        mod3        Super_L (0x2a),=  Super_R (0x2f)
       mod4
       mod5

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 that adjusts the details, which is invoked from ~/.xinitrc be= fore the first X client is launched.

GNU Emacs relies on X11.

--
Greetings

 Pete

"We need a president who's fluent in at least one language."<= br>                     &nbs= p;          =96 Buck Henry





------=_Part_15238_17085787.1226531369519--