From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: [PATCH] improve doc for org-use-speed-commands Date: Wed, 23 Oct 2013 11:08:19 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b624d34b82f9004e964db1a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuQQ-0001hy-MZ for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 05:08:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYuQO-00027N-My for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 05:08:22 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:55475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYuQO-00027D-FY for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 05:08:20 -0400 Received: by mail-wg0-f51.google.com with SMTP id l18so482440wgh.30 for ; Wed, 23 Oct 2013 02:08:19 -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 --047d7b624d34b82f9004e964db1a Content-Type: text/plain; charset=ISO-8859-1 Hi all, I have my headings abbreviated to one star and often instead of executing org-speed-command, I get a letter inserted because the point isn't exactly at the beginning of line. Problem is solved by setting `org-use-speed-commands' to an appropriate lambda. I attach a patch to add this lambda to the docstring. regards Oleh --047d7b624d34b82f9004e964db1a Content-Type: application/octet-stream; name="0001-lisp-org.el-add-an-example-for-org-use-speed-command.patch" Content-Disposition: attachment; filename="0001-lisp-org.el-add-an-example-for-org-use-speed-command.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hn4c9d2b0 RnJvbSA5MWI4MmM3ZWNiMWVkNWYz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