From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: org-speed-commands and `org-beginning-of-line-tip' Date: Thu, 1 Aug 2013 09:18:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4n9D-0003Bs-Ry for emacs-orgmode@gnu.org; Thu, 01 Aug 2013 03:18:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4n9B-0002MR-10 for emacs-orgmode@gnu.org; Thu, 01 Aug 2013 03:18:07 -0400 Received: from mail-bk0-x236.google.com ([2a00:1450:4008:c01::236]:47568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4n9A-0002MB-Ro for emacs-orgmode@gnu.org; Thu, 01 Aug 2013 03:18:04 -0400 Received: by mail-bk0-f54.google.com with SMTP id it19so539420bkc.13 for ; Thu, 01 Aug 2013 00:18:03 -0700 (PDT) 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: org mode Hi all, I've come to rely on org-speed-commands quite a lot, and I wanted to share this tip with other people, who use them: (define-key org-mode-map (kbd "C-a") (lambda()(interactive) (if (looking-at "^[^*]") (re-search-backward "^*") (org-beginning-of-line)))) Basically, an additional C-a when already at the beginning of line takes you to the previous heading, where speed commands are possible. Since the normal C-a would do nothing in this case, it's a straight upgrade. regards, Oleh