From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: org-show-effort ideas Date: Tue, 3 Nov 2009 12:11:38 +0000 Message-ID: <20091103121138.GF32187@atlantic.linksys.moosehall> References: <20091102134924.GC25581@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5IEl-0006MC-VI for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:11:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5IEh-0006Jz-Qi for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:11:47 -0500 Received: from [199.232.76.173] (port=47401 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5IEh-0006Ju-NB for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:11:43 -0500 Received: from arctic.adamspiers.org ([212.13.194.176]:54719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5IEh-0002cZ-Bu for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:11:43 -0500 Received: from localhost (dsl-217-155-199-114.zen.co.uk [217.155.199.114]) by arctic.adamspiers.org (Postfix) with ESMTP id C0C5424017 for ; Tue, 3 Nov 2009 12:11:39 +0000 (UTC) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list On Tue, Nov 03, 2009 at 07:47:48AM +0100, Carsten Dominik wrote: > On Nov 2, 2009, at 2:49 PM, Adam Spiers wrote: > > >I wanted an easy way to see an effort estimate when not in column > >view, so I wrote this: > > > >(defun org-show-effort () > >"Shows the effort of the entry at the current point." > >(interactive) > >(let ((effort (org-entry-get (point) org-effort-property))) > > (message (if effort (format "Effort is %s" effort) > > "No effort defined")))) > > > >However it would be nice to have a keystroke that would do this in > >agenda view. Another nice touch would be to change 'e' which > >currently allows you to edit the effort from agenda view, so that the > >prompt for the new value shows the existing effort estimate if there > >is one. > > Admit it: you did not try this :- > > The prompt of "e" already does to this, and when you reply > with RET, the same value stays. I guess this might be good enough > for showing the effort as well? Otherwise: Propose a key! I definitely did try it, and I just did another 'git pull' and tried again, and I still don't see it, so I guess we're talking about different things ;-) To clarify, I'm referring to showing effort via a single keystroke when on a todo line in the *Org Agenda* buffer. Currently, when I hit "e" on a todo which has an existing "Effort" property value set, my minibuffer prompt shows "Value: ". The same applies with C-c C-x e in a normal .org file buffer. The only free single keystroke I could find is ' which actually has a reasonable mnemonic: imagine a contractor providing you with a quote estimating the effort for a task.