[Orgmode] Re: no running clock
Bastien [EMAIL PROTECTED] writes: Are you exiting Emacs while the clock is started, then restarting Emacs, and attempting to clock out of an item? I have seen your error message when I do that. If you try to kill a buffer with a running clock, Org asks you whether you want to clock out. If you're not in the buffer where the clock runs, you are still able to see whether a clock is running: the clocked heading is displayed in the mode-line. If you still want to check for a running clock before closing Emacs, you could perhaps do this: Yeah I think I sometimes quit my emacs and start it again, or maybe kill the org buffer. I just thought it parses the entire .org file looking for a started clock with no clock out. I guess I was wrong :D Thanks again ! Cezar ___ 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
Re: [Orgmode] FR: Using properties to customize global settings on a per-entry basis
On Oct 3, 2007, at 19:57, John Wiegley wrote: Carsten Dominik [EMAIL PROTECTED] writes: OK, how about a general mechanism like this: If there is a property :org-log-done:, it will be used instead of the current value of org-log-done during TODO state changeing, like * repetitive entry :PROPERTIES: :org-log-done: nil :END: Sounds like a great way to do it! The alternative would be a LOGGING property where you could set the same keywords as in the STARTUP line. What is better? - Carsten ___ 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
Re: [Orgmode] apparent bug in org-insert-link with active region
On Oct 3, 2007, at 17:56, William Henney wrote: Hi list If I call org-insert-link with the region active, then the region content is instantly deleted while I am prompted for the link. This is rather disconcerting, but for most link types the region content magically reappears as the default value of the description. However, for file: links the default value of the description becomes the link itself, and the previous content of the region is lost (as far as I can see). Is this intended? This is with Org version 5.09 - I'm sure it used to work at some time in the past. You have found a bug - fixed for 5.11. I am also keeping the region in the buffer until the last moment now, to ease your discomfort :-) Thanks. - Carsten -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ 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
Re: [Orgmode] Only one org-open-at-point at a time?
On Oct 3, 2007, at 18:16, Bastien wrote: (start-process-shell-command cmd nil cmd))) Much better, thanks a lot. - Carsten ___ 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
Re: [Orgmode] Search for tags in TODO item in certain states
On Oct 1, 2007, at 7:21, Wanrong Lin wrote: Hi, Can anyone please show me how to search for a tag in TODO items that are in certain states only? For example, I want to have a list of TODO items with buy tag, but not those in DONE or CANCELED state. I don't see how to do it by reading the documentation for org-agenda-custom-commands. Thanks a lot. Currently this is not possible, but the proposal is good. Will be in 5.11, using the prefix argument. Thanks! - Carsten ___ 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
Re: [Orgmode] Search for tags in TODO item in certain states
Sorry, I replied to the wrong message, this was my answer to your the question about removing the scheduled time string. - Carsten On Oct 4, 2007, at 9:45, Carsten Dominik wrote: On Oct 1, 2007, at 7:21, Wanrong Lin wrote: Hi, Can anyone please show me how to search for a tag in TODO items that are in certain states only? For example, I want to have a list of TODO items with buy tag, but not those in DONE or CANCELED state. I don't see how to do it by reading the documentation for org-agenda-custom-commands. Thanks a lot. Currently this is not possible, but the proposal is good. Will be in 5.11, using the prefix argument. Thanks! - Carsten ___ 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 -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ 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
Re: [Orgmode] Re: org-mode and Google Calendar
On Sep 29, 2007, at 16:21, Bastien wrote: Bastien [EMAIL PROTECTED] writes: I just point google calendar to this file. The only problem I have had is with google calendars timezone handling. Talking about the .ics export, I find the new DESCRIPTION very useful. But maybe org-trim could be used here, so that leading and trailing whitespaces are stripped away? ok. DESCRIPTION: \nAAAI Spring Symposium - March 26-28, 2008, Stanford University,\nCalifornia - Submission deadline: And maybe this description field could also skip timestamps that are not SCHEDULED or DEADLINE. I often use such timestamps and the description shows them, which looks weird: DESCRIPTION: 2007-12-19 mer Not sure about that, how to decide what is important and what not? Last but not least: now that we have properties, it would be very nice to be able to export a :LOCATION: property into the LOCATION vCal field. Having to store the location in the description is okay, but I think the location property is quite usual -- what do people think on this? Yes, now is the time, and this will be in 5.11. Thanks. - Carsten ___ 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
Re: [Orgmode] Progress logging with org-mode
Hi Tom, On Sep 29, 2007, at 3:01, Tom Weissmann wrote: A feature of org-mode I have started to use a lot is the clock, to record the amount of time I spend on different tasks. I'll start a clock in the task or subtask I'm working on, and then clock out and add a note when I move to a differnt task. The result is often something like this: --- * Tasks ** Task 1 *** Sub-task Foo CLOCK: [2007-09-28 Fri 11:52]--[2007-09-28 Fri 12:53] = 1:01 - Finally cracked the Foo problem CLOCK: [2007-09-28 Fri 10:50]--[2007-09-28 Fri 11:50] = 1:00 - Dealing with problems continuing Foo-ing CLOCK: [2007-09-28 Fri 09:50]--[2007-09-28 Fri 10:50] = 1:00 - A good start to Foo This is some information that I don't want to forget about doing Foo. --- As you can see, the clock notes track my activity within a subtask, but the indentation seems odd, I cannot reproduce the indentation you are getting - are you re-indenting the lines with TAB or so? and the useful information about the subtask is in danger of being swamped by a mass of reverse-ordered progress logs. Actually, I have been bothered by that too. Maybe we should have a special CLOCK drawer and make all those entries go in there - Carsten ___ 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
Re: [Orgmode] Moving an item to a precise place
On Oct 2, 2007, at 14:33, Max Mikhanosha wrote: ;;; ;;; Bugs: leaves empty line sometimes, but this is a bug in ;; org-paste-subtree IMHO. The cut-and-paste operations consider whitespace to be part of an item. So if you cut a tree that ends with whitespace, that whitespace will be pasted back along with the tree. If you get extra whitespace at paste even though you did cut an entry without extra whitespace, I'd like to know about it and see an example. Thanks. - Carsten ___ 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
[Orgmode] Re: Progress logging with org-mode
Carsten Dominik dominik at science.uva.nl writes: I cannot reproduce the indentation you are getting - are you re-indenting the lines with TAB or so? In fact what happens is that any CLOCK below another one that has a note is indented more than the CLOCK above it: Eg (from a real org-mode file this time) CLOCK: [2007-10-03 qua 14:36]--[2007-10-03 qua 14:40] = 0:04 - Updating wiki about mlc. CLOCK: [2007-10-03 qua 13:28]--[2007-10-03 qua 14:36] = 1:08 - Debugging mlc. CLOCK: [2007-10-03 qua 11:46]--[2007-10-03 qua 12:10] = 0:24 This also means that any body text underneath the clocks will be indented differently depending on whether there are notes to the clocks. and the useful information about the subtask is in danger of being swamped by a mass of reverse-ordered progress logs. Actually, I have been bothered by that too. Maybe we should have a special CLOCK drawer and make all those entries go in there Yes, that would make sense. I thought about it but then decided I didn't like the idea of having drawers for all the subtasks - as if that would be noisier than having lots of CLOCK entries in all the subtasks! I'll try tweaking the clock-out function to put completed clocks into a drawer, and see how I like it. Cheers, Tom SW. ___ 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
[Orgmode] org-insert-labeled-timestamps-before-properties-drawer obsolete?
Hi, I would like to make the variable org-insert-labeled-timestamps-before-properties-drawer obsolete. Is anyone relying on this variable? - Carsten ___ 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
Re: [Orgmode] apparent bug in org-insert-link with active region
William Henney [EMAIL PROTECTED] writes: 5a. If the link I entered in step 3 was something like http://foo.org;, then all is well - the deleted region from step 1 appears as the default description. 5b. However, if the link I inserted in step 3 was something like file:/etc/whatever, then I no longer get the deleted region as the default description. Instead, I just get file:/etc/whatever I hope this is clearer. Yes, much clearer! Thanks for the detailed explanations. -- Bastien ___ 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
Re: [Orgmode] Re: org-mode and Google Calendar
Carsten Dominik [EMAIL PROTECTED] writes: And maybe this description field could also skip timestamps that are not SCHEDULED or DEADLINE. I often use such timestamps and the description shows them, which looks weird: DESCRIPTION: 2007-12-19 mer Not sure about that, how to decide what is important and what not? Yes, no need to skip timestamp when getting the description. I just discovered I could use timestamps in properties like this: :PROPERTIES: :TIMESTAMP: 2007-10-04 jeu :SCHEDULED: 2007-10-04 jeu :DEADLINE: 2007-10-04 jeu :ARCHIVE: archives/patres_archive:: :CATEGORY: patres :END: This way the description doesn't contain the timestamp. Maybe a :DESCRIPTION: would also be useful to explicitly specify the short description. This short description would override the one that Org tries to guess from the first line of the subtree. But eh, I've got my :LOCATION: so I won't be pushy on this one :) -- Bastien ___ 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
[Orgmode] Re: Progress logging with org-mode
Carsten Dominik dominik at science.uva.nl writes: The point is that the next clock entry is inserted *before* the previous ones, and in my setting this does not change the indentation of the entries that were already there... But it only as long as they're not indented by some foolish user, afterwards. I confess I tweak, split and merge clocks quite a lot, as well as re-edit their notes, which is why I care about them having robust and consistent indentation. Very often I come back from a meeting, clock out, and then split the time between multiple tasks that happened to be treated by the meeting. It's probably cleaner to think of each meeting as an individual task, but when you're logging time with a view to billing, that's not always what you want. Cheers, Tom SW ___ 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
Re: [Orgmode] FR: Using properties to customize global settings on a per-entry basis
Carsten Dominik [EMAIL PROTECTED] writes: * repetitive entry :PROPERTIES: :org-log-done: nil :END: Sounds like a great way to do it! The alternative would be a LOGGING property where you could set the same keywords as in the STARTUP line. What is better? I think using LOGGING is a bit better. BTW, this is documented in (info (Org)In-buffer settings) : | logging | record a timestamp when an item is marked DONE | | nologging| don't record when items are marked DONE | | lognotedone | record timestamp and a note when DONE | | lognotestate | record timestamp and a note when TODO state changes | | logrepeat| record a note when re-instating a repeating item| | nologrepeat | do not record when re-instating repeating item | | lognoteclock-out | record timestamp and a note when clocking out | But the docstring of `org-log-done' doesn't mention all these options. And (info (Org)Progress Logging) should mention all these option somewhere, or at least link back to the in-buffer settings back. -- Bastien ___ 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
[Orgmode] Displaying entry age in line
Hi, I have been using a Google Widget called Days Since: http://leancode.com/dayssince/ which just keeps an automatically updated count of the days since an entry was created. I would like to have the same functionality in org-mode - it already does something along the same lines (automatic calculation) with the checkbox cookies. But perhaps org-mode already supports something along those lines, since it has lots of time related functionality, but I could not find anything just like what I described. Or perhaps it could be achieved with a combination of drawers, timestamps and dynamic blocks. Any suggestions? Thanks, Nascif ___ 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
Re: Re: [Orgmode] Re: org-mode and Google Calendar
On Thu, Oct 04, 2007 at 11:44:34AM +0100, Bastien wrote: Maybe a :DESCRIPTION: would also be useful to explicitly specify the short description. This short description would override the one that Org tries to guess from the first line of the subtree. But eh, I've got my :LOCATION: so I won't be pushy on this one :) May I ask to have the :DESCRIPTION: filed? :-) I will find it really useful, when importing timelines to webcalendar. Thanks Cheers, Giovanni ___ 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
Re: [Orgmode] apparent bug in org-insert-link with active region
On 10/4/07, Carsten Dominik [EMAIL PROTECTED] wrote: You have found a bug - fixed for 5.11. I am also keeping the region in the buffer until the last moment now, to ease your discomfort :-) Great, thanks. I am feeling more comfortable already :) Cheers Will -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ___ 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
[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task
Bastien [EMAIL PROTECTED] writes: Bernt Hansen [EMAIL PROTECTED] writes: If I fold my buffer it works but if I show all of the buffer with C-c C-a then repeatedly run the new function it jumps back and forth between two points in the file (lines 335 and 365 for me - the clock marker is on line 365 - almost at the end of the file) I guess the point itself is not moving, it's just the buffer being centered differently. Let's add recenter: (defun org-goto-clocked-in-entry (optional delete-windows) Go to the currently clocked-in entry. (interactive P) (if (not (marker-buffer org-clock-marker)) (error No active clock)) (switch-to-buffer-other-window (marker-buffer org-clock-marker)) (if delete-windows (delete-other-windows)) (goto-char org-clock-marker) (org-show-entry) (org-back-to-heading) (recenter)) That seems to help. Thanks. ___ 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
Re: [Orgmode] batch printing of diary/agenda without Scheduled items
Bastien == Bastien [EMAIL PROTECTED] writes: | (org-add-agenda-custom-command | '((X agenda | ((org-agenda-skip-function | (lambda() (org-agenda-skip-entry-if 'scheduled 'deadline))) ` Excellent. Thanks for that. I now have a custom shell command which cron can call, and which shows me deadlines but not SCHEULED tasks: ---print-agenda.sh- #!/bin/sh # print out agenda without scheduled tasks # relies on creating a custom command on the fly - X # (thanks to Bastien) /usr/bin/emacs-snapshot -batch -l ~/.xemacs/init.el \ -eval (setq european-calendar-style nil diary-mail-days 7 diary-file \/home/pete/diary\) \ -eval (org-add-agenda-custom-command '(\X\ agenda \\ ((org-agenda-skip-function (lambda() (org-agenda-skip-entry-if 'scheduled)) \ -eval '(org-batch-agenda X org-agenda-files (quote (~/TODO/HOME.org ~/TODO/SMTL.org)))' - Pete ___ 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
Re: [Orgmode] Displaying entry age in line
Nascif Abousalh-Neto [EMAIL PROTECTED] writes: I have been using a Google Widget called Days Since: http://leancode.com/dayssince/ which just keeps an automatically updated count of the days since an entry was created. Maybe you can start to manually store a :CREATED: property, consisting of a simple inactive timestamp? I can see a lot of useful things we could do with this: 1) regularily check for old tasks 2) regularily check for new tasks 3) use this to define stuck projects 4) use this to implement some kind of auto-archiving But maybe seeing how old are all the tasks might be a bit depressing... -- Bastien ___ 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