emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Clocking in on non-org files
@ 2013-10-06  7:56 Marcin Borkowski
  2013-11-05 17:16 ` Bastien
  0 siblings, 1 reply; 14+ messages in thread
From: Marcin Borkowski @ 2013-10-06  7:56 UTC (permalink / raw)
  To: Org-mode mailing list

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
C-c C-x C-i, and Org somehow could know which item to clock.  I imagine
file-local variable might be the way to go.  It might be a good idea to
both change/advise org-clock-in to accomodate for this use case, and
define something like
org-associate-file-with-org-headline-for-the-purpose-of-clocking to
e.g. ask for the item (from org-clock history), or use the refile
interface (which I haven't used, but I guess it could work well) and
set the file-local variable accordingly.

Does there exist something like this?  Do you like this idea?  Does it
have any pitfalls I cannot see? Would anyone but me use this?  If the
answers are no, yes, no, yes, I might try to implement it when I have
some time to spare (i.e., not now - I'm extremely busy during this week
- but maybe in a week or two)

Best,

-- 
Marcin Borkowski
room B3-46, phone no +48 61 829 5375
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Clocking in on non-org files
@ 2013-10-06 12:07 Marcin Borkowski
  2013-10-06 15:11 ` Suvayu Ali
  0 siblings, 1 reply; 14+ messages in thread
From: Marcin Borkowski @ 2013-10-06 12:07 UTC (permalink / raw)
  To: Org-mode mailing list

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
C-c C-x C-i, and Org somehow could know which item to clock.  I imagine
file-local variable might be the way to go.  It might be a good idea to
both change/advise org-clock-in to accomodate for this use case, and
define something like
org-associate-file-with-org-headline-for-the-purpose-of-clocking to
e.g. ask for the item (from org-clock history), or use the refile
interface (which I haven't used, but I guess it could work well) and
set the file-local variable accordingly.

Also, this might allow for "automated clocking", i.e., advising
switch-buffer or something so that when I switch to a buffer belonging
to some project, clocking on it starts automatically.

Does there exist something like this?  Do you like this idea?  Does it
have any pitfalls I cannot see? Would anyone but me use this?  If the
answers are no, yes, no, yes, I might try to implement it when I have
some time to spare (i.e., not now - I'm extremely busy during this week
- but maybe in a week or two)

Best,

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-16 15:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06  7:56 Clocking in on non-org files Marcin Borkowski
2013-11-05 17:16 ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2013-10-06 12:07 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
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

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).