From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen 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 Message-ID: <8763gycess.fsf@gollum.intra.norang.ca> References: <87fxg22mjp.fsf@gnu.org> 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 1LwG6F-0000BG-Kb for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 09:33:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwG6B-0000B1-2z for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 09:33:22 -0400 Received: from [199.232.76.173] (port=60810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwG6A-0000Ay-Tu for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 09:33:18 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:58518) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwG6A-0003Qr-Ix for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 09:33:18 -0400 In-Reply-To: <87fxg22mjp.fsf@gnu.org> (Bastien's message of "Tue\, 21 Apr 2009 14\:55\:54 +0200") 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: Bastien Cc: emacs-orgmode@gnu.org Bastien 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