From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Fixing when org-clock-in-prepare-hook is called Date: Fri, 26 Oct 2012 14:47:49 +0200 Message-ID: <87ehklz8a1.fsf@bzg.ath.cx> References: <87r4olh2ts.fsf@ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRjiG-0001kf-O9 for emacs-orgmode@gnu.org; Fri, 26 Oct 2012 09:12:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRjiF-0005uH-GN for emacs-orgmode@gnu.org; Fri, 26 Oct 2012 09:12:36 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:49734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRjiF-0005u1-AC for emacs-orgmode@gnu.org; Fri, 26 Oct 2012 09:12:35 -0400 Received: by mail-wg0-f49.google.com with SMTP id gg4so1544610wgb.30 for ; Fri, 26 Oct 2012 06:12:34 -0700 (PDT) In-Reply-To: <87r4olh2ts.fsf@ed.ac.uk> (Myles English's message of "Fri, 26 Oct 2012 12:47:59 +0100") 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: Myles English Cc: Org mode Hi Myles, "Myles English" writes: > * lisp/org-clock.el (org-clock-in): Moved the call to > org-clock-in-prepare-hook until the task's properties > can be accessed. > > The problem was when using a function to add an effort > property via the hook, it would not recognise an existing > effort property when called with the prefix (C-u C-c C-x C-i) > with the point at a place other than at the task. Applied, thanks a lot. -- Bastien