From: Carsten Dominik <carsten.dominik@gmail.com>
To: Magnus Henoch <magnus.henoch@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-clock-goto: switch to clicked window
Date: Fri, 19 Jun 2009 14:04:04 +0200 [thread overview]
Message-ID: <68AE6192-16DB-41B2-ABF1-8B7FE3C9CF51@gmail.com> (raw)
In-Reply-To: <84my84fpnb.fsf@linux-b2a3.site>
Applied, thanks.
- Carsten
On Jun 19, 2009, at 1:07 PM, Magnus Henoch wrote:
> I just discovered that org-clock-in displays the clocked-in task in
> the
> mode line, so that I can click it and go back to the Org file, which I
> really like. I changed it to switch to the window in which I click,
> by prepending "@" to the interactive spec of org-clock-goto.
>
> Magnus
>
> diff --git a/lisp/org-clock.el b/lisp/org-clock.el
> index 4825c1a..14d1158 100644
> --- a/lisp/org-clock.el
> +++ b/lisp/org-clock.el
> @@ -729,7 +729,7 @@ If there is no running clock, throw an error,
> unless FAIL-QUIETLY is set."
> (defun org-clock-goto (&optional select)
> "Go to the currently clocked-in entry, or to the most recently
> clocked one.
> With prefix arg SELECT, offer recently clocked tasks for selection."
> - (interactive "P")
> + (interactive "@P")
> (let* ((recent nil)
> (m (cond
> (select
> _______________________________________________
> 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
prev parent reply other threads:[~2009-06-19 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 11:07 org-clock-goto: switch to clicked window Magnus Henoch
2009-06-19 12:04 ` Carsten Dominik [this message]
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=68AE6192-16DB-41B2-ABF1-8B7FE3C9CF51@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=magnus.henoch@gmail.com \
/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).