emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-show-effort ideas
Date: Tue, 3 Nov 2009 12:11:38 +0000	[thread overview]
Message-ID: <20091103121138.GF32187@atlantic.linksys.moosehall> (raw)
In-Reply-To: <A4D8D906-E70B-483C-B001-2ADE96268670@gmail.com>

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.

  reply	other threads:[~2009-11-03 12:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 13:49 org-show-effort ideas Adam Spiers
2009-11-03  6:47 ` Carsten Dominik
2009-11-03 12:11   ` Adam Spiers [this message]
2009-11-03 14:42     ` Benjamin Andresen
2009-11-04  0:26       ` Adam Spiers
2009-11-04 13:19         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091103121138.GF32187@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).