From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-show-effort ideas Date: Tue, 3 Nov 2009 07:47:48 +0100 Message-ID: References: <20091102134924.GC25581@atlantic.linksys.moosehall> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5DtC-0001Lw-R4 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 02:33:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5Dt8-0001Jg-BZ for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 02:33:14 -0500 Received: from [199.232.76.173] (port=52091 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Dt8-0001Jb-49 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 02:33:10 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:55639) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5Dt7-0000oK-NU for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 02:33:09 -0500 Received: by mail-ew0-f228.google.com with SMTP id 28so3234891ewy.42 for ; Mon, 02 Nov 2009 23:33:09 -0800 (PST) In-Reply-To: <20091102134924.GC25581@atlantic.linksys.moosehall> 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: Adam Spiers Cc: org-mode mailing list 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! - Carsten