emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Michaël Cadilhac" <michael@cadilhac.name>
To: Leo Gaspard <orgmode@leo.gaspard.io>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-clock: Custom shortcuts for C-u C-c C-x C-i
Date: Wed, 13 Feb 2019 13:23:47 +0000	[thread overview]
Message-ID: <CADt3fpMnH4Oa5N8Ts8XpWtNum4KeuqLVUa9MHvE3wjFNRotOmw@mail.gmail.com> (raw)
In-Reply-To: <874l9amgou.fsf@llwynog.ekleog.org>

Hi there Leo;

This is not possible out of the box; can you say a bit more about how
you expect to indicate which tasks are to be always present?

A quick-and-dirty way to implement something along these lines is to
modify org-clock-history-push to always keep a selected set of markers
in org-clock-history.

Cheers;
M.

On Mon, 11 Feb 2019 at 16:32, Leo Gaspard <orgmode@leo.gaspard.io> wrote:
>
> Hello,
>
> When I run C-u C-c C-x C-i I get a choice between the interrupted task,
> the current task, the default task and recent tasks.
>
> I however wonder whether it's possible to add in custom shortcuts to
> fixed tasks? This would help me easily clock into my “IRC”, “Mails”
> etc. tasks, to and from which I frequently switch.
>
> Do you have any idea how to accomplish that? I haven't been able to find
> anything in the manual [1].
>
> [1] https://orgmode.org/org.html#Clocking-commands
>
> Cheers, and thank you once again for this great piece of software!
>   Leo
>

  reply	other threads:[~2019-02-13 13:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11 16:29 org-clock: Custom shortcuts for C-u C-c C-x C-i Leo Gaspard
2019-02-13 13:23 ` Michaël Cadilhac [this message]
2019-02-13 17:46   ` Leo Gaspard
2019-02-14 12:32     ` Michaël Cadilhac
2019-08-30 17:38       ` Michaël Cadilhac

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=CADt3fpMnH4Oa5N8Ts8XpWtNum4KeuqLVUa9MHvE3wjFNRotOmw@mail.gmail.com \
    --to=michael@cadilhac.name \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@leo.gaspard.io \
    /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).