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 23:42:02 -0800 Message-ID: References: <71f8e5ee-f101-4bd6-a6f1-be38b6719e13@i20g2000prf.googlegroups.com> <930C5EDF-91EF-46E1-B062-33BCDEE3FBA0@Web.DE> <00BBC1A6-F939-4534-BAFF-3FBAAFE94F27@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4003_7707146.1226648522239" X-Trace: ger.gmane.org 1226648637 387 80.91.229.12 (14 Nov 2008 07:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2008 07:43:57 +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 Fri Nov 14 08:44:58 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 1L0tMN-0001Em-TF for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 08:44:56 +0100 Original-Received: from localhost ([127.0.0.1]:49276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0tLF-0002Ld-Hm for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 02:43:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0tJe-0001k5-UV for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 02:42:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0tJd-0001jt-6h for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 02:42:05 -0500 Original-Received: from [199.232.76.173] (port=59278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0tJd-0001jq-1V for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 02:42:05 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:7700) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0tJc-00085Z-DE for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 02:42:04 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so1138202fgb.30 for ; Thu, 13 Nov 2008 23:42:02 -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=0px23LJFGvOEWLizPSlHFkOu18SjueKnubJg4v8uZZg=; b=pQAdd++iamu7hartdBXpxGgS4wqdhSIY9od6E2f/ZxJXt8bZwh/CWhdX77/e27B21U tTB3KeGod7kljKqO5uRUO5tKohpEbBeC+QHrz4bXUX7UtSM9/nV974h33uiQv2oEeQox swV1TAxWWINBZ8ben+FaTgp/WEa3CDPSj/o04= 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=j/UtVCq5no+lqiO15u0vY4stoHlvDcKcprimkVB/GqbD+IS/Xi5bPbbHiBnCWbVrKz 843InEVZuhdSm3B+VXPm+sibBRnmU4zkYpnMWmhUOmLKMDywsnC4XqmC65diCCLoiBus oLZ3nZbg/IWOHwVWhszxG3oDXSA/n5Bsi6OKM= Original-Received: by 10.187.222.11 with SMTP id z11mr82430faq.21.1226648522233; Thu, 13 Nov 2008 23:42:02 -0800 (PST) Original-Received: by 10.187.232.5 with HTTP; Thu, 13 Nov 2008 23:42:02 -0800 (PST) In-Reply-To: <00BBC1A6-F939-4534-BAFF-3FBAAFE94F27@web.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 14 Nov 2008 02:43:18 -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:59769 Archived-At: ------=_Part_4003_7707146.1226648522239 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the tips. I used xev to get the kecodes conformed. I tried making the changes you suggested, and here is what I got: phoenix% xmodmap xmodmap: up to 4 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) mod2 mod3 Hyper_L (0x80) mod4 Super_L (0x73), Super_R (0x74) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c) Note the absence of Meta_L and Meta_R: whenever I tried "add mod2 =3D Meta_= L and Meta_R" it would register as "Alt_L and Alt_R" and then Alt modifier commands would stop working. I could not produce Meta_L and Meta_R in xev, and xmodmap reports these as: 64 0xffe9 (Alt_L) 0xffe7 (Meta_L) 113 0xffea (Alt_R) 0xffe8 (Meta_R) In any event, the after making the changes above it still did not fix the original problem. I still cannot get C-s-' but only on Control_L + Super_L + ' . Super_R works fine, and Super_L works fine with Control_R too. I'm a little confused why all this xmodmap is necessary.. I can get s-' working on both Super_L and Super_R just fine, as well as C-' with Control_= L and Control_R. and I can get C-s-' with any combo of Control and Super wit= h exception of C_L and S_L. I'm having a feeling that it's more emacs thing than xmodmap thing. Thanks for the suggestions... keep them coming if you spot something worth trying. Cheers, Yarek On Thu, Nov 13, 2008 at 4:08 PM, Peter Dyballa wrote= : > > Am 13.11.2008 um 00:09 schrieb Yarek Kowalik: > > 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) >> > > Alt and Meta are the same =96 not good. Throw away Num_Lock and put Meta = into > its slot. Then move Hyper to mod3. Now you can add Super_R as another mod= 4. > > Before you can add any modifier you first need to declare it as a key, fo= r > example (with decimal number): > > keycode 116 =3D Super_R > > The utility xev can tell you the key's code. Once it's defined, xmodmap -= pk > should list it. Then you can make it a modifier. > > As an example one of my corrections works like this: > > clear Mod1 > add Mod1 =3D Alt_L Alt_R > clear Mod2 > add Mod2 =3D Meta_L Meta_R > > -- > Greetings > > Pete > > Globalisation =96 communism from above. > > > > > > > ------=_Part_4003_7707146.1226648522239 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the tips. I used xev to get the kecodes conformed.   I trie= d making the changes you suggested, and here is what I got:

phoenix%= xmodmap           &= nbsp;   
xmodmap:  up to 4 keys per modifier, (keyc= odes in parentheses):

shift       Shift_L (0x32),  Shift_R= (0x3e)
lock        Caps_Lock (0x42)<= br>control     Control_L (0x25),  Control_R (0x6d)=
mod1        Alt_L (0x40),  Alt_= R (0x71)
mod2     
mod3   &n= bsp;    Hyper_L (0x80)
mod4        Super_L (0x73),  Super_= R (0x74)
mod5        Mode_switch (0x5= d),  ISO_Level3_Shift (0x7c)


Note the absence of Meta_L and= Meta_R: whenever I tried "add mod2 =3D Meta_L and Meta_R" it wou= ld register as "Alt_L and Alt_R" and then Alt modifier commands w= ould stop working.  I could not produce Meta_L and Meta_R in xev, and = xmodmap reports these as:

    64        0xffe9 (Alt_= L)    0xffe7 (Meta_L)   
  &nbs= p; 113        0xffea (Alt_R)   = ; 0xffe8 (Meta_R)   

In any event, the after making = the changes above it still did not fix the original problem.  I still = cannot get C-s-' but only on Control_L + Super_L + ' .   = Super_R works fine, and Super_L works fine with Control_R too.

I'm a little confused why all this xmodmap is necessary.. I can get= s-' working on both Super_L and Super_R just fine, as well as C-' with Control_L and Control_R.  and I can get C-s-' with any combo of Co= ntrol and Super with exception of C_L and S_L.   I'm having a= feeling that it's more emacs thing than xmodmap thing.

Thanks f= or the suggestions... keep them coming if you spot something worth trying.<= br>
Cheers,

Yarek

On Thu, Nov 13, = 2008 at 4:08 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

Am 13.11.2008 um 00:09 schrieb Yarek Kowalik:


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),  Met= a_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift = (0x7c)

Alt and Meta are the same =96 not good. Throw away Num_Lock and put Meta in= to its slot. Then move Hyper to mod3. Now you can add Super_R as another mo= d4.

Before you can add any modifier you first need to declare it as a key, for = example (with decimal number):

       keycode 116 =3D Super_R

The utility xev can tell you the key's code. Once it's defined, xmo= dmap -pk should list it. Then you can make it a modifier.

As an example one of my corrections works like this:

       clear Mod1
       add Mod1 =3D Alt_L Alt_R
       clear Mod2
       add Mod2 =3D Meta_L Meta_R

--
Greetings

 Pete

Globalisation =96 communism from above.







------=_Part_4003_7707146.1226648522239--