emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Clocking in on non-org files
Date: Sun, 6 Oct 2013 23:26:25 +0200	[thread overview]
Message-ID: <20131006232625.2f42aa85@aga-netbook> (raw)
In-Reply-To: <20131006151125.GG2622@kuru.dyndns-at-home.com>

Dnia 2013-10-06, o godz. 17:11:25
Suvayu Ali <fatkasuvayu+linux@gmail.com> napisał(a):

> On Sun, Oct 06, 2013 at 02:07:45PM +0200, Marcin Borkowski wrote:
> > Hi all,
> > 
> > I have a bunch of TODO items connected with LaTeX files (in general:
> > projects) I'm working on.  I was wondering whether it might be
> > possible and/or wise to set things up so that I could clock in (C-c
> > C-x C-i) in a buffer containing such a file.  Currently, executing
> > org-clock-in in a non-Org buffer results in an error (at least with
> > my setup); with a prefix argument, everything is fine, I'm asked
> > for one of the last clocked items.  My dream is that I can clock in
> > my buffer with just
> 
> Try capture: (info "(org) Template elements").
> 

Thanks, I didn't think about it, though it's not exactly what I'm
looking for.  My dream setup is like this: I bind globally C-c C-x C-i
to something, and when typing this key sequence /outside/ Org-mode, I
am asked about a /node/ somewhere in my Org files (preferably with
autocompletion, like refiling).  Then, apart from starting the clock, a
file-local variable remembering this node is added /to the file I'm in/
(as a comment at the end, for instance), so that the /next/ time I'm
editing this file, C-c C-x C-i just starts clocking.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

  reply	other threads:[~2013-10-06 21:26 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 [this message]
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
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

  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=20131006232625.2f42aa85@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --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 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).