From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: Using shift and arrow keys to select lines in Aquamacs (in org-mode) Date: Wed, 11 Nov 2009 09:05:17 -0500 Message-ID: References: <1e7471d50911101114q7f3a3717x9c97b7eca3c9c9b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8DpX-0002pQ-1C for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 09:05:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8DpS-0002gl-B5 for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 09:05:50 -0500 Received: from [199.232.76.173] (port=60690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8DpR-0002gG-Kc for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 09:05:45 -0500 Received: from lo.gmane.org ([80.91.229.12]:53250) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8DpQ-000806-W5 for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 09:05:45 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N8DpO-0002dp-Ne for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 15:05:42 +0100 Received: from 198.204.74.254 ([198.204.74.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 15:05:42 +0100 Received: from david by 198.204.74.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 15:05:42 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org PT writes: > Saptarshi Guha gmail.com> writes: > >> >> Hello, >> I know shift and arrow keys are used by org-mode. But is there a way >> to remap them to selecting the line(as in Aquamacs text mode) >> (e.g shift+down highlights the current line, shift+up highlights the >> previous line etc). >> > > I rebound the keys in my org-mode hook: > > > > (add-hook 'org-mode-hook 'my-org-mode-stuff) > > (defun my-org-mode-stuff () > ... > (local-set-key (kbd "C-S-") 'forward-word-mark) > (local-set-key (kbd "C-S-") 'backward-word-mark) > (local-set-key (kbd "S-") 'forward-char-mark) > (local-set-key (kbd "S-") 'backward-char-mark) > (local-set-key (kbd "S-") 'previous-line-mark) > (local-set-key (kbd "S-") 'next-line-mark) > ... > But that breaks S- modifying the priority on a task, as well as other built-in org functionality...