From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: 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 14:38:26 -0400 Message-ID: <87r5zl97j1.fsf@gollum.intra.norang.ca> References: <87fxg22mjp.fsf@gnu.org> <8763gycess.fsf@gollum.intra.norang.ca> <5B40A076-52D9-4ABA-AEBF-7E317A42FFB0@gmail.com> <87zle99b17.fsf@gollum.intra.norang.ca> 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 1LwKrd-0003QF-KZ for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 14:38:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwKra-0003NB-Sx for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 14:38:37 -0400 Received: from [199.232.76.173] (port=58181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwKra-0003Mt-Mg for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 14:38:34 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:51270) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwKra-0000bA-54 for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 14:38:34 -0400 In-Reply-To: (Carsten Dominik's message of "Tue\, 21 Apr 2009 20\:34\:19 +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: Carsten Dominik Cc: Bastien , emacs-orgmode@gnu.org One problem with that might be if people (including me) use C-c C-x C-j to see if the clock is running :) I've mapped F11 = C-c C-x C-j so I just hit that key all the time. If it beeps and says 'no active clock' then I know I have to start the clock on something. Jumping to the last clocked item when no clock is running will change that behaviour (although I'm not sure that's really bad) I could (and probably should) just get in the habit of looking at the modeline instead :) -Bernt Carsten Dominik writes: > On Apr 21, 2009, at 7:22 PM, Bernt Hansen wrote: > >> 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.) > > This does make sense, and I have done it like this. > > Bastien, is this to your liking as well? > > Thanks. > > - Carsten > >> >> I don't see how adding RET for the menu which means the same as [1] >> will >> really help. >> >> -Bernt >> >> >> Carsten Dominik 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 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. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode