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 HH:MM]--[

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'

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 org-set

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

2012-01-25 Thread Olaf Dietsche
Nick Dokos 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 :PROPERTIES:), and somewhat

Re: [O] Help with elisp function

2012-01-13 Thread Olaf Dietsche
Marcelo de Moraes Serpa 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 create-reference-file (fi

Re: [O] ePub construction

2011-12-14 Thread Olaf Dietsche
Alan L Tyree 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 >> th

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

2011-12-11 Thread Olaf Dietsche
Mikhail Titov 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 C-x C-j

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

2011-11-30 Thread Olaf Dietsche
Steinar Bang writes: >>>>>> Steinar Bang : >>>>>> Olaf Dietsche : >>> [snip!] >>>> You can also set org-clock-into-drawer to a string (e.g. "CLOCKS"), >>>> then this string is used instead of "LOGBOOK"

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

2011-11-24 Thread Olaf Dietsche
Eric S Fraga writes: > Olaf Dietsche writes: > >> Tommy Kelly 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. > > [...] > >

Re: [O] Add publishing with utf8

2011-11-22 Thread Olaf Dietsche
"sindikat" 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 setup different

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

2011-11-22 Thread Olaf Dietsche
Nick Dokos 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 all you have t

Re: [O] Global Task List

2011-11-11 Thread Olaf Dietsche
Cameron Seader 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) > (

[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 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 sata drive I used and

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

2011-11-08 Thread Olaf Dietsche
Tommy Kelly 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 headline, and ch

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

2011-11-07 Thread Olaf Dietsche
Tommy Kelly 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 chronologically. Or, more to th

Re: [O] Collapsing tracked time?

2011-09-17 Thread Olaf Dietsche
Steinar Bang writes: >> Stuart Hickinbottom : > >> 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 want? > > The first U

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

2011-09-15 Thread Olaf Dietsche
Diep Pham Van writes: > On Thu, 15 Sep 2011 12:04:30 +0200 > Olaf Dietsche 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

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

2011-09-15 Thread Olaf Dietsche
Martin Butz writes: > Am 15.09.2011 11:36, schrieb Olaf Dietsche: >> Hi Martin, > > [...] > >>>sr-speedbar-remember-window-width() >>>old-delete-window(#) >> >> This one hints at speedbar. Are you using the speedbar module? > > Y

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

2011-09-15 Thread Olaf Dietsche
Diep Pham Van 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 expected. > >

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

2011-09-15 Thread Olaf Dietsche
Hi Martin, Martin Butz 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 agenda buf

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

2011-09-15 Thread Olaf Dietsche
Pere Quintana Seguí writes: > 2011/9/13 Olaf Dietsche : >> 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 the link with C-c l,

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

2011-09-14 Thread Olaf Dietsche
Hi Alan, "Alan E. Davis" 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 things.

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

2011-09-14 Thread Olaf Dietsche
Paul 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 >> > property :whitespace-c

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 manual

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

2011-09-13 Thread Olaf Dietsche
Pere Quintana Seguí writes: > 2011/9/8 Bernt Hansen >> >> Pere Quintana Seguí 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 problem is that the HTML exporte

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Carsten Dominik writes: > On Sep 7, 2011, at 12:16 PM, Olaf Dietsche wrote: > >> Rasmus writes: >> >>>> Why don't you just use a simple (perl/python/...) script to collect your >>>> data? Here's a quick hack in perl: >>> >>&

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Olaf Dietsche writes: > Rasmus 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 these

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus writes: > Olaf Dietsche 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. That is not to say that any

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus 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. If you

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus 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] problem with command-line call to emacsclient

2011-07-02 Thread Olaf Dietsche
Herbert Sitz 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 server-kill-buffe

[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 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 look at the or

[Orgmode] Re: org-mode and remind integration

2009-01-13 Thread Olaf Dietsche
"Daniel Martins" 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 org-dea

[Orgmode] Re: org-mode and remind integration

2009-01-10 Thread Olaf Dietsche
Hi Daniel, "Daniel Martins" 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 catch all tim

[Orgmode] Re: [OT] Windows and emacs

2009-01-10 Thread Olaf Dietsche
Raimund Kohl-Füchsle 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 far as I kn

[Orgmode] Re: org-mode and remind integration

2009-01-09 Thread Olaf Dietsche
"Daniel Martins" 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 > >> Is any action happening on this? Is someone trying to fix org2rem? >> - Carsten I have no idea of r

[Orgmode] Re: structure editing in brainstorming mode

2008-12-29 Thread Olaf Dietsche
"Rustom Mody" 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 the points are

[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 . The resulting page looks like: --- 8< - cut here --- * Todo ** TODO go shopping - milk - bread - sun gl

[Orgmode] Re: Org-mode & EasyPG: How to enable both on a per-file-basis?

2007-04-08 Thread Olaf Dietsche
phil <[EMAIL PROTECTED]> writes: > Any ideas how I can use both settings on a per file basis: > > 1. telling Emacs that this file is a org-mode file, and > 2. telling Emacs which GPG-Key it should choose when encrypting? Maybe -*- mode: org; epa-file-encrypt-to: ("EMAIL-ADRESS OR KEY-ID")