Dnia 2013-10-06, o godz. 17:11:25 Suvayu Ali <fatkasuvayu+li...@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