Re: Alternatives to clocking in/out for reporting time

2022-07-10 Thread Olaf Dietsche
I also use org-mode clocking to record time spent. But instead of modifying/configuring org-mode, I use a post-processing Python script to collect and summarize clocked times. locale.setlocale(locale.LC_ALL, '') # ... def extract_times(line): # CLOCK: [-mm-dd WKD

Re: Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2022-04-19 Thread Olaf Dietsche
Ihor Radchenko writes: > Olaf Dietsche writes: > >> This seems much more useful than the non-working "repair" of >> org-set-property. > > FYI, even repair is no longer there in the latest Org release. > In future, I recommend running org-lint. It is usu

Re: Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2022-04-18 Thread Olaf Dietsche
thank you for the link to the org-repair-property-drawers function. This seems much more useful than the non-working "repair" of org-set-property. Kind regards, Olaf Ihor Radchenko writes: > Olaf Dietsche writes: > >> I would expect, that the order of drawers doesn't

Bug: Order of drawers is important [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2022-04-18 Thread Olaf Dietsche
I have this example org file and started with "emacs -Q": ---8<--- * Headline :CLOCK: CLOCK: [2022-04-18 Mo 11:17]--[2022-04-18 Mo 11:17] => 0:00 :END: :PROPERTIES: :CREATED: [2022-04-18 Mo 11:17] :END: - Some text --->8--- When I try to set a property "C-c C-x p" or "M-x

Re: [O] How do I create a drawer?

2012-01-25 Thread Olaf Dietsche
Nick Dokos nicholas.do...@hp.com writes: The only way I found so far to create a drawer is to actually type the damn thing in (I'm talking about my own drawers, not the special drawers that org knows something about). I didn't find any utility functions to insert drawers (except for

Re: [O] Help with elisp function

2012-01-13 Thread Olaf Dietsche
Marcelo de Moraes Serpa celose...@gmail.com writes: So, I made a small elisp function that basically creates a reference file in my org dir and indexes it in an org file, so it can be searchable with the agenda without the overhead of adding the file to the agenda list: (defun

Re: [O] ePub construction

2011-12-14 Thread Olaf Dietsche
Alan L Tyree alanty...@gmail.com writes: On 14/12/11 12:42:38, Nick Dokos wrote: Interesting - I downloaded the epub validator, ran Calibre on a silly little org-produced HTML file and duplicated your lang problem. AFAICT, all of the problems you mention above are legal HTML4, so either

Re: [O] Export all clocks or find last clock out. Is it possible?

2011-12-11 Thread Olaf Dietsche
Mikhail Titov m...@gmx.us writes: I wonder if I can see all clocks in a table or export them somehow as csv or alike? Also how can I navigate to the last clock out? As already suggested by Puneeth `org-clock-goto' (with prefix: C-u C-c C-x C-j) lists the most recently used clocks and C-u C-c

Re: [O] CLOCKS drawer not behaving like a drawer on Windows emacs 23.2

2011-11-30 Thread Olaf Dietsche
Steinar Bang s...@dod.no writes: Steinar Bang s...@dod.no: Olaf Dietsche olaf+list.orgm...@olafdietsche.de: [snip!] You can also set org-clock-into-drawer to a string (e.g. CLOCKS), then this string is used instead of LOGBOOK. Actually I tried doing it, but since the variable wasn't

Re: [O] Journal versus clock tables: Opposing requirements?

2011-11-24 Thread Olaf Dietsche
Eric S Fraga e.fr...@ucl.ac.uk writes: Olaf Dietsche olaf+list.orgm...@olafdietsche.de writes: Tommy Kelly tommy.ke...@verilab.com writes: OK, that might be what I need then. I thought clock tables grouped things by headings, not by tags. I'll have a look at the manual. [...] #+BEGIN

Re: [O] : Search for missing :END:

2011-11-22 Thread Olaf Dietsche
Nick Dokos nicholas.do...@hp.com writes: [snip] But assuming that you are getting some error from org, you don't know where the problem is and you are trying to find it, it will be simpler to just use egrep: grep -E -n ':PROPERTIES:|:END:' foo.org will filter out the relevant lines, so

Re: [O] Add publishing with utf8

2011-11-22 Thread Olaf Dietsche
sindikat sindi...@mail36.net writes: I added this to my .emacs: (set-language-environment UTF-8) (prefer-coding-system 'utf-8-unix) This is what I use. Even when I open a new file, the buffer coding system is chosen as utf-8-unix, shown as U: in the mode line. Maybe your environment is

Re: [O] Global Task List

2011-11-11 Thread Olaf Dietsche
Cameron Seader c...@suse.com writes: I get an error when setting the variable to a folder Here is my .emacs file ;; Org-mode settings (require 'org-install) (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (global-set-key \C-cl 'org-store-link) (global-set-key \C-ca 'org-agenda)

Re: [O] Journal versus clock tables: Opposing requirements?

2011-11-08 Thread Olaf Dietsche
Tommy Kelly tommy.ke...@verilab.com writes: OK, that might be what I need then. I thought clock tables grouped things by headings, not by tags. I'll have a look at the manual. I'm trying the tagging thing within clock tables, but I can't get it working at all. I've attached a tag to a single

[O] OT: logging debian system changes (was: Re: org-mode are these two entries identical for org-mode?)

2011-11-08 Thread Olaf Dietsche
Jude DaShiell jdash...@shellworld.net writes: I tried an experiment and am glad I didn't save its results! Results are that you actually have to indent otherwise, all you have in the file are the headlines once org-mode sees the file. I have a newly installed debian system on the first

Re: [O] Journal versus clock tables: Opposing requirements?

2011-11-07 Thread Olaf Dietsche
Tommy Kelly tommy.ke...@verilab.com writes: I'm trying to get org-mode to provide me with two things, but haven't found a way to do it. 1. First, I want to be able to use it like a daily engineering or science journal, logging notes as they occur, in pretty much linear fashion

Re: [O] Collapsing tracked time?

2011-09-17 Thread Olaf Dietsche
Steinar Bang s...@dod.no writes: Stuart Hickinbottom stu...@hickinbottom.com: Take a look at the org-clock-into-drawer and org-log-into-drawer variables: http://orgmode.org/manual/Clocking-commands.html http://orgmode.org/manual/Tracking-TODO-state-changes.html Does this do what you

Re: [O] Use id property as anchor in the Table of Contents

2011-09-15 Thread Olaf Dietsche
Pere Quintana Seguí pquint...@obsebre.es writes: 2011/9/13 Olaf Dietsche olaf+list.orgm...@olafdietsche.de: How did you create ID properties for all entries? Have you exported your org-files to icalendar? Most of them have ID properties because I often link them internally. When I create

Re: [O] Lisp nesting exceeds `max-lisp-eval-depth'

2011-09-15 Thread Olaf Dietsche
Hi Martin, Martin Butz b...@sym.net writes: Hello all, I get the following error message while using org-mode during the last weeks quite frequently (unfortunately I am not able to link it to an update of the installation of some lisp file); I can reproduce the behaviour by opening the

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Olaf Dietsche
Diep Pham Van i...@favadi.com writes: I get this error: Error in post-command-hook: (void-variable org-ans1) every time I want to use schedule or deadline. After that, the error message appear with any command. After some minutes, this error message disappear and I can use anny command as

Re: [O] Lisp nesting exceeds `max-lisp-eval-depth'

2011-09-15 Thread Olaf Dietsche
Martin Butz b...@sym.net writes: Am 15.09.2011 11:36, schrieb Olaf Dietsche: Hi Martin, [...] sr-speedbar-remember-window-width() old-delete-window(#window 20 on *Org Agenda*) This one hints at speedbar. Are you using the speedbar module? Yes. Good advice. I have a (require 'sr

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Olaf Dietsche
Diep Pham Van i...@favadi.com writes: On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche olaf+list.orgm...@olafdietsche.de wrote: Have you tried disabling or reducing these modes? One of them or a combination is responsible for the error you get. Regards, Olaf Got it. Disable linum-mode

Re: [O] [PATCH] org-capture, removing whitespace from new captures

2011-09-14 Thread Olaf Dietsche
paul...@telstra.com writes: I found myself manually cleaning most CAPTURE buffers of whitespace prior to committing them with C-c C-c. The attached patch adds a new property :whitespace-cleanup to the org-capture-templates. Thanks for pointing to whitespace-cleanup, I've done this manually

Re: [O] [PATCH] org-capture, removing whitespace from new captures

2011-09-14 Thread Olaf Dietsche
Paul emacs-orgm...@lookmumnohands.net writes: # olaf+list.orgm...@olafdietsche.de, Wed, 14 Sep 2011 18:44:07 +1000: paul...@telstra.com writes: I found myself manually cleaning most CAPTURE buffers of whitespace prior to committing them with C-c C-c. The attached patch adds a new

Re: [O] Overall organization/setup for org mode: Projects and Tasks

2011-09-14 Thread Olaf Dietsche
Hi Alan, Alan E. Davis lngn...@gmail.com writes: I've been using org-mode for a few years. My agenda is cluttered with tasks that are weeks and even months past due. I am this close to declaring orgmode bankruptcy and starting from scratch, except my current setup works so well for other

Re: [O] Use id property as anchor in the Table of Contents

2011-09-13 Thread Olaf Dietsche
Pere Quintana Seguí pquint...@obsebre.es writes: 2011/9/8 Bernt Hansen be...@norang.ca Pere Quintana Seguí pquint...@obsebre.es writes: Hi, I'm using Org-mode to publish my website. One of my site's pages has a lot of sections and the number of sections is increasing rapidly. My

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus ras...@gmx.us writes: Is is possible to have a clocktabke with times in the left-most column? The people I am doing some work for now prefer it that way for unknown reasons. This is an example | date | Headline| total |

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus ras...@gmx.us writes: Why don't you just use a simple (perl/python/...) script to collect your data? Here's a quick hack in perl: That was my plan if I was not able to do from within Org. To me it would be a lot faster than hacking something together in emacs-lisp, unfortunately.

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus ras...@gmx.us writes: Olaf Dietsche olaf+list.orgm...@olafdietsche.de writes: If you insist on elisp, maybe something along these (untested) lines might work: It just nicer to do text stuff from within Emacs but my personal Lisp skill are surpassed by my Python skills

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Olaf Dietsche olaf+list.orgm...@olafdietsche.de writes: Rasmus ras...@gmx.us writes: That was my plan if I was not able to do from within Org. To me it would be a lot faster than hacking something together in emacs-lisp, unfortunately. If you insist on elisp, maybe something along

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 7, 2011, at 12:16 PM, Olaf Dietsche wrote: Rasmus ras...@gmx.us writes: Why don't you just use a simple (perl/python/...) script to collect your data? Here's a quick hack in perl: That was my plan if I was not able to do from

Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Olaf Dietsche
Herbert Sitz hs...@nwlink.com writes: I'm making a call to an emacsclient and trying to figure out how to get the buffer to unload at the end of the function I'm calling. I know kill-buffer isn't supposed to unload the buffer but I can't figure out what will. I've tried server-edit and

[Orgmode] [PATCH][BUG] Fix documentation

2010-11-16 Thread Olaf Dietsche
When I do a make info, I get the following error: org.texi:9329: Misplaced {. org.texi:9330: Misplaced }. Fix is below. Regards, Olaf diff --git a/doc/org.texi b/doc/org.texi index c2314fa..57e0204 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9326,7 +9326,7 @@ These options take effect in

[Orgmode] Re: Using the agenda to calculate how much work I have scheduled

2009-01-16 Thread Olaf Dietsche
Christopher DeMarco dema...@maya.com writes: I want to have a realistic expectation of what I can accomplish in a day. So I want each TODO to have a time estimate of how long I think it will take, and for the agenda to add them all up and tell me how terrible my day is going to be. Have a

[Orgmode] Re: org-mode and remind integration

2009-01-13 Thread Olaf Dietsche
Daniel Martins daniel...@gmail.com writes: I did your test wuth a null regexp It is a regexp problem! Org-mode has two variables: org-deadline-string and org-scheduled-string (see below) and I want to match tasks which have a timestamp, ie satisfies the org-ts-regexp2 BUT DO NOT have

[Orgmode] Re: [OT] Windows and emacs

2009-01-10 Thread Olaf Dietsche
Raimund Kohl-Füchsle m...@rk-f.me writes: it may happen that I have to switch to Windows XP and since I have no idea how XP works (up to this point in time I only ran Linux machines) I thought to ask since I want to stick with org-mode: How do I get org-mode and emacs run best with XP? As

[Orgmode] Re: org-mode and remind integration

2009-01-10 Thread Olaf Dietsche
Hi Daniel, Daniel Martins daniel...@gmail.com writes: Me, as an ex-Fortran77 programmer, am suffering a lot with emacs lisp. With time, it'll get better. After o couple of hours trying to catch all timestamps outside SCHEDULE: and DEADLINE: lines I gave up and ask for help [...] I tried to

[Orgmode] Re: org-mode and remind integration

2009-01-09 Thread Olaf Dietsche
Daniel Martins daniel...@gmail.com writes: Yes, I am. [...] I am sending the last version of org2rem which integrates timed reminds from DEADLINE: and SCHEDULE: lines [...] 2009/1/9 Carsten Dominik domi...@science.uva.nl Is any action happening on this? Is someone trying to fix org2rem?

[Orgmode] Re: structure editing in brainstorming mode

2008-12-29 Thread Olaf Dietsche
Rustom Mody rustompm...@gmail.com writes: There are certain use-cases that come up -- typically when using org-mode in 'brainstorming mode'. I am sure they are so basic that there must be ways of doing it that I dont know of... [...] 2. Converting heading type Sometimes one assumes that

[Orgmode] Convert Palm Todo to Orgmode

2007-04-15 Thread Olaf Dietsche
Hi, Just in case, someone is interested: attached is a small perl script, which converts a Palm Todo pdb to an Orgmode Todo file. It needs the p5-Palm package from http://www.coldsync.org/. The resulting page looks like: --- 8 - cut here --- * Todo ** TODO go shopping - milk - bread - sun