[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: C-u C-c C-x C-j to directly jump to the task with ther

From: Bernt Hansen
Subject: Re: [Orgmode] 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 13:22:44 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

The current task [c] and the first task [1] are always the same aren't
they?  So using '1' for that already works.

Maybe a better solution is to make it work without the prefix?  Go to
the current clocking task and if there is none then go to the last
clocked task (if you can find it) otherwise issue the error we get now:
"org-clock-goto: No active clock"

That way you can just do C-c C-x C-j with no prefix and you are on the
last clocked task (whether it is clocking now or not.)

I don't see how adding RET for the menu which means the same as [1] will
really help.


Carsten Dominik <address@hidden> writes:

> How about making RET an alias for either the task
> currently being clocked, or the most recently clocked
> one, or the default task, first one of this sequence
> that exists?
> Hmmm, not sure if this really makes a difference....
> - Carsten
> On Apr 21, 2009, at 3:33 PM, Bernt Hansen wrote:
>> Bastien <address@hidden> 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
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

reply via email to

[Prev in Thread] Current Thread [Next in Thread]