From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: [PATCH] improve doc for org-use-speed-commands Date: Tue, 5 Nov 2013 18:44:00 +0100 Message-ID: References: <87a9hiu7ru.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c33fd0e8d00d04ea71933e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdkfc-00071F-0I for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 12:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdkfa-000572-OS for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 12:44:03 -0500 In-Reply-To: <87a9hiu7ru.fsf@bzg.ath.cx> 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: Bastien Cc: org mode --001a11c33fd0e8d00d04ea71933e Content-Type: text/plain; charset=ISO-8859-1 Hi Bastien, Here's the updated patch. regards, Oleh On Tue, Nov 5, 2013 at 5:34 PM, Bastien wrote: > Hi Oleh, > > Oleh writes: > >> 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. > > I think having an example is fine, but it'd be nice to tell the users > what the lambda is exactly doing. Can you add a line about this and > resend the patch? > > Thanks! > > -- > Bastien --001a11c33fd0e8d00d04ea71933e Content-Type: text/x-patch; charset=US-ASCII; 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_h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