From mboxrd@z Thu Jan 1 00:00:00 1970 From: Susan Cragin Subject: Re: Some desktop managers co-opt C-M-right and C-M-left Date: Sun, 20 Apr 2014 08:03:11 -0400 (GMT-04:00) Message-ID: <29001862.1397995392187.JavaMail.root@elwamui-hound.atl.sa.earthlink.net> Reply-To: Susan Cragin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbqSt-0003BK-Mc for emacs-orgmode@gnu.org; Sun, 20 Apr 2014 08:03:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbqSn-0004Er-1Y for emacs-orgmode@gnu.org; Sun, 20 Apr 2014 08:03:19 -0400 Received: from elasmtp-dupuy.atl.sa.earthlink.net ([209.86.89.62]:42201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbqSm-0004EA-R6 for emacs-orgmode@gnu.org; Sun, 20 Apr 2014 08:03:12 -0400 Received: from [209.86.224.34] (helo=elwamui-hound.atl.sa.earthlink.net) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1WbqSm-0005pi-BK for emacs-orgmode@gnu.org; Sun, 20 Apr 2014 08:03:12 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode list Thanks, Thorsten, for the <> hint. (global-set-key (kbd "C-s-") 'org-demote-subtree) (global-set-key (kbd "C-s-") 'org-promote-subtree) (global-set-key (kbd "C-s-") 'org-move-subtree-up) (global-set-key (kbd "C-s-") 'org-move-subtree-down) -----Original Message----- >From: Thorsten Jolitz >Sent: Apr 20, 2014 7:56 AM >To: emacs-orgmode@gnu.org >Subject: Re: [O] Some desktop managers co-opt C-M-right and C-M-left > >Susan Cragin writes: > >> Aggghhh. >> I changed to the Enlightenment desktop manager, changed my underlying >> distro to Lubuntu (LXDE) >> >> Both desktop managers co-opt the C-M-right and -left keys to change >> desktops. (They also co-opt C-S-right.) Ditto -up and -down. >> >> I have tried the following: >> >> (global-set-key (kbd "C-S-right") 'org-demote-subtree) >> (global-set-key (kbd "C-S-left") 'org-promote-subtree) >> >> error: C-S- must prefix a single character, not right >> >> Have also tried C-M-right, with similar results. >> >> Does anyone have an idea? I have two problems. On-line documentation >> has told me that I can spell out the word "right" to mean >> "right-arrow," but clearly that is wrong, and there is one letter that >> does this. ??? > >maybe "C-S-"? > >> My second problem is this: will a command set in .emacs over-ride a >> command set by my desktop? > >I don't think so, the command will probably never reach Emacs because >its used by the WM > >> If it does not, should I try the following, and use the Windows / >> super key? > >You could also try to change the WM (or OS) keybindings and free those >key combinations you want for Emacs. Its an ongoing struggle, I had and >have these problems/conflict too, its even worse on the console where >some keyboard keys are just dead by default. > >-- >cheers, >Thorsten > >