From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Shortkeys for shifting dates in Agenda view? Date: Tue, 02 Jul 2013 12:21:40 +0800 Message-ID: <874ncdpp63.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uts5y-0005Aj-UU for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 00:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uts5x-0002pk-6O for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 00:21:38 -0400 Received: from plane.gmane.org ([80.91.229.3]:48080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uts5w-0002pX-W6 for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 00:21:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uts5w-0005Na-4K for emacs-orgmode@gnu.org; Tue, 02 Jul 2013 06:21:36 +0200 Received: from 114.250.125.27 ([114.250.125.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Jul 2013 06:21:36 +0200 Received: from eric by 114.250.125.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Jul 2013 06:21:36 +0200 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@gnu.org Martin writes: > I often use the agenda view to postpone tasks to future dates, so > technically I want to change the SCHEDULED or DEADLINE dates of one or > several agenda lines to a future date, e. g. "tomorrow". > > This is possible with the shortkey Shift-, however this forces > me to move my right hand away from the main block of alphanumeric keys > (QERTZ...) to the cursor block. > As all other "navigation commands" are available diretctly in the > QWERTZ-block (e. g. "n" for "next line"), this is disturbing for my typing. > > Is there a built-in key for that? > Sure I could achieve that with CtrlC, Ctrl-S, +1, , but this is 4 > keystrokes instead of one... ">" _is_ the built-in key! If you don't like where it's located, you can rebind `org-agenda-date-prompt' to a different key in the agenda map. As you noted, almost the entire keyboard is already bound in agenda mode, but if you hit "C-h m" and look at the bindings, you'll see a couple of capital letters are free. Then in an eval-after-load block (or org-agenda-mode-hook) you could call: (define-key org-agenda-mode-map (kbd "K") org-agenda-date-prompt) Or whatever you pick. That ought to work... Eric > Any suggestions are welcome. > It is clear that I could define a custom command, but as there are already > that many commands defined by org-mode or other packages, it is difficult > for me as a newbie to choose one that makes sense and is not used for > something else.. > > Kind regards > > Martin