emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bastienguerry@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: C-u C-c C-x C-j to directly jump to the task with there is just one?
Date: Tue, 21 Apr 2009 09:33:07 -0400	[thread overview]
Message-ID: <8763gycess.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <87fxg22mjp.fsf@gnu.org> (Bastien's message of "Tue\, 21 Apr 2009 14\:55\:54 +0200")

Bastien <bastienguerry@googlemail.com> writes:

> When the list of recent tasks only has one item, would it make sense to
> directly jump to it?  Or maybe people use `C-u C-c C-x C-j' as a way to
> check what has been done (without jumping to the task)?

For the prefix only it would probably be okay to just jump there if
there is only a single match.  I've seen cases where there is the same
match for 3 entries (d - default clock task, i-interrupted task, and
c-current task (or [1] current task if you are not clocking now but that
never happens for me)  I guess we could ignore the current, default, and
interrupted tasks and only consider what is in the recent list.

I use this to change tasks I'm clocking (F11 = C-c C-x C-j).  I
occasionally use it with the prefix to jump to a task I was recently
clocking.  I don't think my list is ever empty since I save it between
Emacs restarts and my org-clock-history is set at 35.

I do sometimes use 'q' to bail out of the list without doing anything
(since 'q' is never a valid selection key but I should probably just use
C-g instead) -- I go to clock something else in and then change my mind
and find a new task to clock in elsewhere.

I would not want the default behaviour to change if you are selecting a
task to clock.  I'm okay with directly jumping for the prefix only case.

-Bernt

  reply	other threads:[~2009-04-21 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 12:55 C-u C-c C-x C-j to directly jump to the task with there is just one? Bastien
2009-04-21 13:33 ` Bernt Hansen [this message]
2009-04-21 16:16   ` Carsten Dominik
2009-04-21 17:22     ` Bernt Hansen
2009-04-21 18:34       ` Carsten Dominik
2009-04-21 18:38         ` Bernt Hansen
2009-04-22  4: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=8763gycess.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=bastienguerry@googlemail.com \
    --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).