From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Clocking in on non-org files
Date: Sat, 16 Aug 2014 16:01:39 +0200 [thread overview]
Message-ID: <87bnrk5y9o.fsf@gmail.com> (raw)
In-Reply-To: 20140816141248.524ea25c@aga-netbook
Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
>> I'm editing this file, C-c C-x C-i just starts clocking.
> I finally had some time & motivation to look into it. Below is my
> solution.
This almost works with outshine.el (use head of tj-outshine branch).
Insert outshine header in emacs-lisp-mode buffer:
,----
| ;; * ELISP SCRATCH
`----
and put point at beg-of-line
call M-x outshine-speed-command-help to find this:
,----
| Clock Commands
| --------------
| I outshine-clock-in
| O outshine-clock-out
`----
and thus type I to clock in ->
,----
| ;; * ELISP SCRATCH
| ;; :LOGBOOK:
| ;; CLOCK: [2014-08-16 Sa 15:47]
| ;; :END:
`----
(type y when prompted if you want to clock out)
wait 2min, type O to clock out:
,----
| ;; * ELISP SCRATCH
| ;; :LOGBOOK:
| ;; CLOCK: [2014-08-16 Sa 15:47]--[2014-08-16 Sa 15:49] => 0:02
| ;; :END:
`----
this works *sometimes* only, and the prompts from org-mode are rather
annoying. Its on my agenda to have a deeper look into this pretty
soon. But the whole setup for doing this is already there using
outshine/outorg, all what is needed is maybe a somewhat fancier trick to
con the org clocking mechanism and a way to get rid of those annoying
user-prompts (which are sometime hardcoded into org functions,
unfortunately).
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-08-16 14:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 12:07 Clocking in on non-org files Marcin Borkowski
2013-10-06 15:11 ` Suvayu Ali
2013-10-06 21:26 ` Marcin Borkowski
2014-08-16 12:12 ` Marcin Borkowski
2014-08-16 12:31 ` Marcin Borkowski
2014-08-16 13:47 ` Marcin Borkowski
2014-08-16 14:37 ` Marcin Borkowski
2014-08-16 14:01 ` Thorsten Jolitz [this message]
2014-08-16 14:42 ` Marcin Borkowski
2014-08-16 15:02 ` Thorsten Jolitz
2014-08-16 15:13 ` Marcin Borkowski
2014-08-16 15:35 ` Thorsten Jolitz
-- strict thread matches above, loose matches on Subject: below --
2013-10-06 7:56 Marcin Borkowski
2013-11-05 17:16 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnrk5y9o.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.