[O] GNU Emacs 24.3.1 creates macro-expansion failure messages

2013-04-14 Thread Charles Cave
I am running Org-mode version 7.9.4 and recently upgraded to Gnu Emacs 24.3.1.

Now when I start Emacs I get an error message which causes my Emacs to give 
the following message:

Eager macro-expansion failure: (error Invalid agenda key) [2 times]
(lambda (x) ...) quoted with ' rather than with #'

Org-mode works but Emacs starts with a split window with a *scratch* buffer 
and a GNU Emacs buffer (which is the only window I expected).

My Lisp skills are almost non-existent. Who can help please?

Thank you
Charles





[O] Date tree capture regexp for headline matching has changed.

2011-05-09 Thread Charles Cave
I use date-trees extensively for capturing Todo list items 
and appointments.

I noticed a change of behaviour between 7.4 and 7.5

In the date tree, I annotate the Monday date with a week number so
I can see the beginning of a week at a glance. for example:

*** 2011-05-09 Sunday
*** 2011-05-09 Monday  Week 19
 Note one
 Note two

Since version 7.5, if I add the Week 19 text, the next time
I do a capture, a new day heading is made. In version 7.4 and earlier
the headline matched from the beginning, but now it seems the entire
line is matched.

Why has this behaviour changed?

I consider this an unnecessary change / annoyance.  Can this
behaviour be changed back to the old way?  

Thank you
Charles 






Re: [O] Date tree capture regexp for headline matching has changed.

2011-05-09 Thread Charles Cave
I compared org-datetre.el from 7.4 to 7.5 and got the following
diff output (edited)

I can see that the regular expression has become more restricted
with the addition of  \\w+$  at the end.

At least I know what to manually change to make orgmode work the
way I want it.


105c105   (this is the org-datetree-find-day-create function 
7.4: (let ((re (format ^\\*+[ \t]+%d-%02d-\\([0123][0-9]\\)[ \t\n] year 
month))
---
7.5: (let ((re (format ^\\*+[ \t]+%d-%02d-\\([0123][0-9]\\) \\w+$ year month))






[Orgmode] Solved the problem of org-capture apparently not working

2011-02-04 Thread Charles Cave
In early January I posted what I thought was a bug report with org-capture.

I found that capturing to a date-tree didn't always work and in one file the 
capture was written to the wrong place.

Well, the problem was with the data!  One of my headings began with 2011.

The tree looked something like this (edited)

* 2010
** 2010-12 December
*** 2010-12-05 Sunday
 A heading
 2011 Actions  -- this caused the problem
 Another heading
...
*** 2010-12-06 Monday
...
...


In 2011 when I captured into this file's date-tree, 
org-capture found the headline 2011 Actions which matched the algorithm
and the captured item appeared at the end of the headings at that level.

My suggestion to eliminate the problem is to modify the org-capture algorithm
so years have to match beginning of line + one asterisk + one space + the year

Similarly, months could match beginning of line + two asterisks + one space + 
the year + hyphen + month number + space + Monthname.But the chance of this 
format heading appearing outside a date-tree would be very low.

Charles
 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug report: filing into a date tree in year 2011 when 2010 exists in file

2011-01-03 Thread Charles Cave
 Carsten Dominik carsten.dominik at gmail.com writes:

 Strange, for me this worked without any problems this morning.

I have found that the new year was created in other files but it definitely
misbehaves in my taskdiary.org file.  

I can only assume there is a pattern of characters that fools the algorithm
for locating the headline

I did another test and this is what the sparse tree looks like:

* 2010
  :PROPERTIES: ...
* 2010-10 October...
* 2010-11 November...
* 2011-01 January   
 * Testing
  Added [2011-01-04 Tue 14:45]

I will keep checking the data and see if I can locate the offending text.
It is annoying to see the years out of sequence

Charles

http://twitter.com/#!/ozcaveman


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug report: filing into a date tree in year 2011 when 2010 exists in file

2010-12-31 Thread Charles Cave
Happy New Year!

This morning I filed a note into my taskdiary file which is
a date tree file. The top level headlines are:

* Configuration
* Calendar
* 2010

When I filed a new note (date is 1st January 2011) I expected a new
top level heading of * 2011 to be created but it wasn't. 
Instead, the note was  filed inside the 2010 hierarchy.

I created the * 2011 heading after the 2010 tree but the problem 
still occurred,  so I moved the 2011 heading before the 2010 and the 
capturing now works. This is a  reasonable workaround, but I did 
expect a new top level heading to be created.

Date trees should be capable of storing multiple years.

Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] How do I insert just a time stamp in a capture template?

2010-12-09 Thread Charles Cave
I use capture to log how I am spending my time. Every time I start a new task, 
drink a cup of coffee, have a break, arrive at work, go home, I want to quickly 
capture a note.

I use the following template

(l Log Time 
entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org) 
** %U - %^{Activity}  :TIME:)
)

A typical entry from this template looks like:

* 2010
** 2010-12-December
*** 2010-12-09 Thursday
 [2010-12-09 Thu 08:10] - Arrived at the office   :TIME:

I would like to just have the time in the headline not the complete date time
stamp.

I couldn't find a % extension in the documenation
(9.1.3.2 Template expansion)

How can I just include a time only in the heading?

Charles

P.S.  My capture-mode tutorial project should be released this weeekend




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How do I insert just a time stamp in a capture template?

2010-12-09 Thread Charles Cave
Charles Cave charles.cave at gmail.com writes:


 (l Log Time 
 entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org) 
 ** %U - %^{Activity}  :TIME:)

 How can I just include a time only in the heading?

Thank you Juan for responding to my question:

   %(sexp) allows to include lisp expressions in a capture template.

   %(format-time-string %H:%M) should insert the current time.

My template now looks like

(l Log Time entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org)
** %(format-time-string \%H:%M\) - %^{Activity}  :TIME:)

Note the escaped quotation marks near %H:%M because this function is inside 
another string.

Here are today's entries from the timelog.org file

*** 2010-12-10 Friday
 08:45 - Arrived - coffee and email   :TIME:
 09:00 - Updated sexp in .emacs   :TIME:
 09:13 - Responded to org-mode postings   :TIME:









___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Dumb question

2010-12-09 Thread Charles Cave
Alawin alainwinter at free.fr writes:

 Is there a way to print the orgmode help docstring fully expanded ?

First of all, please use the subject line of your message to give
a summary of your question.

And second .. don't put yourself down! Someone else may have the same
question but were too shy to ask.

Now to answer your question. Are you taking about the Help window
that is displayed? For example, if I want to get help on
org-capture I type the commands:

C-h f

   I am prompted for a function name  describe function: 

org-capture

A help window is displayed

If I wanted to print this window I would:
1. Copy the text in that window 

C-x h(select buffer)
Copy   9from the menu

Open a new Word document  (I run GNU Emacs on Windows)
Paste the text 
Print the document


Alternatively you could save the help window to a text file
then print the text file. What operating system are you using?

C-x C-w
 You are asked for a file name
myhelp.txt  (or whatever name you want)


I hope this helps. 

Char;es



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Questions about org-capture templates and usage

2010-12-05 Thread Charles Cave
Alan lngndvs at gmail.com writes:

1. Eventually a tutorial will surely be available.  I haven't found
  one.   Useful tutorials for me would be 
 
   1. How to make general templates, and pitfalls.
   2. Advanced usages of org-capture: using functions, etc.  
   3. Common errors and causes

I am writing such a tutorial to explain date-trees and capture mode.
Capture mode is a great leap forward from remember.

I will publish this tutorial by the 12th of December.

My other org-mode, GTD and project planning tutorials
are at this page:

http://members.optusnet.com.au/~charles57/GTD/

Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Awesome! Date-tree from agenda!

2010-11-25 Thread Charles Cave
  I found out you can go to a date in the agenda, and press k c, which
  will cause any capture-template to use the date in the agenda, not today's 
date.

I tried this and it works well. Thanks for the reminder about the k menu.

I use the following text in my capture templates to timestamp the entries:
Added: %U

When I added a note with capture, %U was translated to the date in the
file with a time like 00:00

 Added: [2010-11-22 Mon 00:00]





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org-mode screencasts

2010-09-23 Thread Charles Cave
 Richard Moreland rlm at ncogni.to writes: 
 I think it would be helpful to create a series of screencasts to
 demonstrate Org-mode.  

Great idea!  I would he happy to record a couple of screencasts
based on tutorials I have written. Currently I am preparing
a tutorial on date trees and capturing notes to a journal.

I am a Windows user and a screencast tool I use is
http://www.screenr.com - from Articulate.
This allows screencasts up to 5 minutes to be recorded
then hosted on their website.

Charles







___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Trying to write an elisp function to move subtree to end of file

2010-09-21 Thread Charles Cave
I am writing an elisp function to move the subtree (at the point/cursor)
to the end of the file.  The code from .elisp is shown

I get an error message Invalid function: (org-cut-subtree)

(defun move-subtree-to-end ()
  (interactive)
  (save-excursion (
  (org-cut-subtree)
  (end-of-buffer)
   (org-paste-subtree))
  )
)
(global-set-key (kbd C-c e) 'move-subtree-to-end)

To give you background, my todo list/journal has been captured in 
a date tree and I would like to move an item to the end of the buffer.
The reason for this will be explained in an upcoming article!

Refiling is not applicable as (I don't think) the target can be defined.

A date tree looks like:

* 2010
** 2010-07 July...
** 2010-08 August...
** 2010-09 September
*** 2010-09-21 Tuesday
 Headline of added entry
 Headline of another entry
*** 2010-09-22 Wednesday


Thanks!
Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Freemind conversion and Notes

2010-09-14 Thread Charles Cave
 org-freemind.el suggests that notes from a Freemind mindmap become
 converted to org by org-freemind-to-org-mode. However, all I get is the
 nodes and subnodes structure as orgmode's headings. My various notes
 (including many draft sentences of the article I'm about to write, so
 the most important thing) are ignored.

Sven,

I encountered this problem as well which makes the conversion quite
useless. I am not sure who owns the freemind package or who would
be willing to fix it up!

Charles




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Sacha Chua's article about org-mode and publishing a weekly review

2010-09-12 Thread Charles Cave
Here is an excellent article by Sacha Chua about her
use of org-mode for managing weekly reviews.

http://sachachua.com/blog/p/8375/




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Looking for a sample function to find a location for org-capture

2010-08-12 Thread Charles Cave
 Bastien bastien.guerry at wikimedia.fr writes:

Thanks for the clarification.  My original question referred to
refiling when I meant capturing. Sorry about the confusion.

Now I understand the purpose of the function. It should leave the
cursor (point) at the location where the capture input should
be written.

As for modifying the date tree I will look at the date-tree code
and see if I understand it.

Thanks,
Charles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Looking for a sample function to find a location for org-capture

2010-08-11 Thread Charles Cave
I'm exploring the many features of org-capture and I see the
documentation about a function for finding the location for refiling.

I would like to see some sample code on how to do this.

At the moment I am using a date tree to file my TODO items and
notes. (I am writing an article about this and will publish soon)

Let's say I had a headline structure for weeks of the year and I would
like a function to add an item to the heading corresponding to the week
of the year. Today (12th Aug) we are in Week 32. 

What would the function be to file under the appropriate heading:

* 2010
** 2010-Week-28
** 2010-Week-29
** 2010-Week-30
** 2010-Week-31
** 2010-Week-32
** 2010-Week-33

Could the function create the heading if it didnt exist . just like 
org-capture handles creation of new brances on a date tree?


Charles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-mode-version command now includes the text TAG=

2010-07-24 Thread Charles Cave
I ran the command org-mode-version to verify that the latest version
of the software had been installed. The text displayed in the mini buffer was

Org-mode version TAG=7.01g

In previous versions, the text TAG= did not appear.

Is this an enhancement or a bug?

(I am converting from rememmber-mode to org-capture and will a
tutorial or two in the near future)

Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Orgnode - a Python module for reading Org-mode files

2010-06-13 Thread Charles Cave
Last year I released a Python module for reading org-mode files
and accessing their contents through a set of methods. 

Several people have asked me about reusing the code and the
licencing of the source code.  I have added an MIT licence and
updated the source code on my web site.

http://members.optusnet.com.au/~charles57/GTD/orgnode.html

I believe there are versions of orgnode available through git
but I haven't looked at these changes.  I would certainly be
interested to include these changes in the version I have
on my web page or to include instructions on how people can
find these.

Suggestions welcome as always,


Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Just discovered the date-tree capability of Remember

2010-06-08 Thread Charles Cave
The org-mode documentation is very thorough and describes all the
features very well.  But often the power of a feauture is not evident
until I start experimenting. Such a feature is the date-tree option of
Remember mode  (section 9.1.2 Remember Templates).

I have a journal.org file which is my general purpose diary but I
manually create new headings each month and not worry about grouping
entries by day.

So what is a date tree?  

It is a structure in an org-mode file that looks like:

* 2010
** 2010-05 May
** 2010-06 June
*** 2010-06-08 Tuesday
*** 2010-06-09 Wednesday
** This is my heading
And this it the content of each node.

I wasn't aware what headings are created but as you can see they are
parts of a date in the format -MM-DD annotated with a month or day name.

Here is my Remember template:
  (Diary ?d \n* %^{topic} %^g\n%i%?\nAdded: %U\n 
 ~/gtd/diary.org date-tree) 

I also discovered you can add a property to a heading
namely  the :DATE_TREE: property, then the remember filing is done
here.  The documentation didnt tell me how to set the property value
so I used t.


* Project File
** Daily work log
   :PROPERTIES:
   :DATE_TREE: t
   :END:
*** 2010
 2010-06 June
* 2010-06-09 Wednesday
** This is my heading
Added: [2010-06-09 Wed 11:20]

Overall, this is a very useful feature of Remember mode
to make a versatile electronic diary/journal.

Well done!   Maybe I will write a short tutorial.







___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-cycle-agenda-files is not cycling through all my 15 agenda files - bug?

2010-06-01 Thread Charles Cave
I restructured my personal productivity system from 3 files to 15 files
all of which are in my agenda file list.

The problem is that when I  used the C-' (org-cycle-agenda-files)
org-mode only cycles through 4 of the files. Needless to say, this
is annoying and I have to go to the menu to call-up the file list
then choose file.

My org-mode is version 6.36c running on GNU Emeacs 23.1.1 on Windows XP.

Here is my file list from .emacs

 '(org-agenda-files (quote (c:/Charles/GTD/taskdiary.org
c:/Charles/GTD/newgtd.org
c:/Charles/GTD/IR.org
c:/Charles/GTD/kyo.org
c:/Charles/GTD/chinglish.org
c:/Charles/GTD/chat_er_pres.org
c:/Charles/GTD/certiv.org
c:/Charles/GTD/cer_publicity.org
c:/Charles/GTD/storytelling.org
c:/Charles/GTD/reading.org
c:/Charles/GTD/drawing.org
c:/Charles/GTD/fitness.org
c:/Charles/GTD/storytelling.org
c:/Charles/GTD/birthday.org
c:/Charles/GTD/music.org
)
   )
)





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-cycle-agenda-files is not cycling through all my 15 agenda files - bug?

2010-06-01 Thread Charles Cave
Livin Stephen Sharma livin.stephen at gmail.com writes:
 how many does it iterate over? which does it skip?
 is the highlighted entry intentionally included twice?

Well spotted!  That was the problem.  I edited the .emacs file
at my work place and mistakenly duplicated the file.  With my home
computer I added the files using the org-mode menu so no
duplications.

A problem with my lack of attention to detail. Thank you!
Org-mode works fine ... 

Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Adding a timestamp after refiling

2010-03-24 Thread Charles Cave
I use a task planning methodology From Mark Forster called
Autofocus (http://www.markforster.net/autofocus-index/)

Part of the workflow is rewriting a task at the end of the
list of things to do - in orgmode terms - refiling a task.

Would it be possible to add functionality to add a date/time stamp
when a task is refiled?  I have looked at the Tracking
TODO state changes documentation in section 5.3.2 and this style
of logging would be good.

I am not a Lisp programmer but I have heard the term hook in regard
to org-mode, so I assume there is some point in the code for each
function to add extra functionality before or after a function is
done? For example, after executing the org-refile command, add a date
time stamp to the heading.

Thanks
Charles




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How to combine the analogue (Moleskine) world with digital (org-mode) world ?

2010-01-24 Thread Charles Cave
Torsten Wagner torsten.wagner at gmail.com writes:
 Any ideas and experience would be welcome.

I have a similar experience to you.   I run org-mode on my office
computer and home computer and synchronise the files via USB drive
and Python backup script.

After using an A5 sized notebook for an almost paper-based system,
I decided to be as close to 100% orgmode as possible. I treat
org-mode as my primary system and anything I capture on paper
gets transferred to org-mode when convenient.

I bought an A5 sized (5.5 x 8/5 inches / 14 x 21cm)
student diary - one week to an opening with the 7 days on the
left and a page for notes on the right. I use this for note taking
and writing in very important dates, but I still refer to the 
org-mode file as the master reference.  This diary cost $3.50 ...
quite a bargain.

My other idea capture and note taking tool are 3 x 5 inch
system cards. I cut up scrap paper into this size and keep several
handy in my shirt pocket and a pencil. I can jot down notes any time
and transfer what is important when I am back at the computer.

Printing a weekly agenda from org-mode is a handy motivational
tool. I make it a game/challenge to cross everything off the list.
The act of crossing something off a printed list is more rewarding
and motivational than  C-c C-t d  (DONE) in org-mode :-)

Charles






___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Hierarchical checkbox summary works on one machine but not another

2010-01-14 Thread Charles Cave
The following hierarchical list structure has checkbox
statistics cookies at a top level as well as the 2nd level.

I use org-mode 6.34 on Windows XP on both my home and office PCs.

I am stumped that the following structure updates the cookies
correctly on  my work machine as follows.

+ Total Food [6/8]
   1. Fruit [3/3]
  - [X]  Bananas
  - [X] Oranges
  - [X] Grapes
   2. Vegetables [1/2]
  - [X] Carrots 
  - [ ] Potatoes
   3. Drinks [2/3]
  - [X] Water
  - [ ] Coffee
  - [X] Wine

but ignores the structure on the home computer:

+ Total Food [3/3]   --- should say [6/8]
   1. Fruit [3/3]
  - [X]  Bananas
  - [X] Oranges
  - [X] Grapes
   2. Vegetables [2/2]
  - [X] Carrots 
  - [X] Potatoes
   3. Drinks [3/3]
  - [X] Water
  - [X] Coffee
  - [X] Wine


I cleaned out the elisp folder on the home machine and reinstalled
org-mode, but I can't understand the difference.  Is there
a customisation variable apart from org-hierarchical-checkbox-statistics?

Thakns
Charles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Which version org-mode

2010-01-12 Thread Charles Cave
 How can I tell which version of Org-mode I am using? 

There is a built in command for this.

M-x org-version RET





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: A MindMap export would be awesome

2009-07-09 Thread Charles Cave

 org-mode can export to freemind with a contrib package. Take a look at
 org-export-freemind-0.1.0 in the contrib/packages directory in the
 org-mode source.

It would be good if the Freemind exporting package would include the
text of a headline in the node itself rather than a subnode.
Would someone like to have a go at modifying the package to do that
or make it configurable?

With Mind Maps, usually you would brainstorm and create your
presentation in a Mind Map and then create the details.  Converting
the org-mode back to a Mind Map introduces the challenge of making
each Mind Map node into a keyword or very short phrase.

I will follow this discussion with great interest!

Charles





___
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] Updated version of my Orgnode module

2009-06-26 Thread Charles Cave
I have updated my Python module Orgnode which reads an org-mode
file and presents the information as Orgnode objects with methods
for retrieving the various pieces of information

What's new:

- The Priority of a Headline (A, B or C) can be retrieved with the
  Priority() method
- Tags() returns a list of all tags in a headline. The only method
  I had previousy was  Tag() which returned the first tag
- hasTag(TAG) - returns true of the heading contains the tag TAG
- I fixed a bug where the properties in the last node were
  not stored.

Article and download link are on this page:

http://members.optusnet.com.au/~charles57/GTD/orgnode.html


Charles



___
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] Python script to generate a daily diary/journal

2009-06-25 Thread Charles Cave
I wanted to create the equivalent of a yearly diary with
space for recording notes on each day. I used to use 
paper diaries with the week number and day number written
on each page.

I already have a system using Remember to record notes with 
date/time stamps but this script generates a file with a 
specific structure. 

First of all, here is part of the output

* July 2009 
** Wed [2009-07-01 Wed]
Week 27 - Day 182
** Thu [2009-07-02 Thu]
Week 27 - Day 183
** Fri [2009-07-03 Fri]
Week 27 - Day 184
** Sat [2009-07-04 Sat]
Week 27 - Day 185
** Sun [2009-07-05 Sun]
Week 27 - Day 186
** Week 28 - Mon [2009-07-06 Mon]
Week 28 - Day 187

Some useful features of this format:

1. Clicking on a date takes you to the agenda for that day

2. You can search for a particular day number, 
   namely search for Day 150

3. You can search for a particular week,
   namely search for Week 23

4. The outline can be collapsed to a month. This allows
   included monthly notes under the month headline.

5. Each month shows all the days of the month and each week
   stands out because the headline is deliberately longer.



Here is the script. Run the script and capture the output
in a file, eg diary2009.org


import datetime
# datetime documented at http://docs.python.org/library/datetime.html
# Set yor diary start date on the line below
theday = datetime.date(2009, 1, 1)   
 
for  i in range(0, 380):
iso_info = theday.isocalendar()
weektag = 
if theday.day == 1:
print * %s %d  % (theday.strftime(%B), theday.year)
if theday.weekday() == 0:
weektag = Week %2d -  % iso_info[1]

print ** %s%-3s [%04d-%02d-%02d %3s] % (weektag, theday.strftime(%a),
theday.year, theday.month,
  theday.day, theday.strftime(%a))
print Week %s - Day %s % (iso_info[1], theday.strftime(%j))
theday = theday + datetime.timedelta(days = 1)










___
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: a small idea for repeating tasks

2009-06-25 Thread Charles Cave
Samuel Wales samologist at gmail.com writes:

 When you try to mark a repeating task done, org appears to
 change it to the first item in org-todo-keywords.  Many
 people have TODO there.  This appears to conflict with other uses of
 that variable, as it also determines sort order and cycle order.

I noticed this as well.  My configuration has:

#+SEQ_TODO: TODO(t) STARTED(s) REPEAT(r) WAITING(w) APPT(a) | DONE(d)
CANCELLED(c) DEFERRED(f)

I set up repeating tasks with a keyword of REPEAT (to exclude from
TODO lists) but as you observed, changing to done resets the keyword
to REPEAT.

Perhaps the functionality of changing to DONE needs to remember
what the state was before changing to DONE?

Charles




___
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: a small idea for repeating tasks

2009-06-25 Thread Charles Cave


I meant it changes it back to TODO, not REPEAT





___
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: I just discovered the clone subtree command

2009-06-17 Thread Charles Cave
Nicolas Aggelidis n.aggelidis at gmail.com writes:

 Hi Charles!I have a training log that has the following headings

* Training Log 
  [2009-06-19 Fri]

Change the square brackets to angle brackets then you will
find the cloning works!





___
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] I just discovered the clone subtree command

2009-06-16 Thread Charles Cave
I am reading the Org-mode Release 6.27a manual to learn new things.
and just discovered the C-c C-x c  (clone subtree) command.

This makes copies of a tree and inserts them as siblings. The command
prompts you for the number of copies to make. The really useful
feature is to update dates according to a pattern. 

Here is an example of creating headings for each of the next six months:

Start with this:

** First of the month
*** July
SCHEDULED: 2009-07-01 Wed

Position the cursor to the beginning of the line *** July
then issue the C-c C-x c 

Answer the question Number of clones to produce:  with 6

Next question is
Date shift per clone (e.g. +1w, empty to copy unchanged): 

Answer it +1m and the tree looks like:

*** July
SCHEDULED: 2009-07-01 Wed
*** July
SCHEDULED: 2009-08-01 Sat
*** July
SCHEDULED: 2009-09-01 Tue
*** July
SCHEDULED: 2009-10-01 Thu
*** July
SCHEDULED: 2009-11-01 Sun
*** July
SCHEDULED: 2009-12-01 Tue
*** July
SCHEDULED: 2010-01-01 Fri

Now you just have to change the occurrences of July to the real
month names!   

I don't know when this feature appeared but it is very useful.

Charles







___
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] A brief reference to org-mode in my presentation on Auto Focus Task Management System

2009-06-06 Thread Charles Cave

I created a presentation on the Auto Focus Task Management system
and made brief reference to how I used org-mode as part of my
project planning and scheduling. 


You can view the presentation here:
http://www.slideshare.net/charles_in_oz/auto-focus-1543619

When I first learnt about this system I played around with using
org-mode to implement it, but found the pen and paper solutions
was best. I still use org-mode to capture tasks when I am at the
computer and want to capture URLs to explore and so on.

Charles





___
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: Charles Cave's .emacs

2009-03-31 Thread Charles Cave
Rustom Mody rustompmody at gmail.com writes:

One of the cokments was that I had not supplied mystyles.css

You can download it from here:
   http://members.optusnet.com.au/~charles57/GTD/mystyles.css

Charles





___
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: small function suggestion (org-examplize-region)

2009-03-17 Thread Charles Cave
Eric Schulte schulte.eric at gmail.com writes:

 
 Hi,
 
 This function could be used to comment out a region of an org-mode file
 as an example using the ': ' syntax.

I just use the prefix-region command of Emacs.

Esc-x prefix-region

then ..

:  SPACE  RET





___
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: small function suggestion (org-examplize-region)

2009-03-17 Thread Charles Cave
Nick Dokos nicholas.dokos at hp.com writes:

 My emacs (GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2009-03-06 on alphaville.usa.hp.com) doesn't seem to have prefix-region -
 where does it come from?

I forgot that this function is in my .emacs file.   I always
thought it was built in to GNU Emacs.

Here it is


(defun prefix-region (prefix)
  Add a prefix string to each line between mark and point.
  (interactive sPrefix string: )
  (if prefix
  (let ((count (count-lines (mark) (point
(goto-char (min (mark) (point)))
(while ( count 0)
  (setq count (1- count))
  (beginning-of-line 1)
  (insert prefix)
  (end-of-line 1)
  (forward-char 1)




___
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: Announcing my Python module to read org-mode files

2009-03-16 Thread Charles Cave
Mark Elston m.elston at advantest-ard.com writes:
 
 The only thing better would be a way to use this package to
 update the nodes and then write them back out.  Hm..

The changes to the package to write the node output out are...

1. A means of storing the org-mode preamble .. all the lines before
the first headline.  Maybe this could be in a node with level 0
and headline of null. The bodytext of this object could be
the preamble lines.

2. A method to output a node in ord-mode format echoing the
** prefix, TODO tag, headline, tags, properties and body text.

3. The module currently discards lines beginning with #.
These should now be preserved.

I wouldnt imagine this being a great deal of work.
I will add this to my (very long list) of things to do!







___
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] Announcing my Python module to read org-mode files

2009-03-14 Thread Charles Cave

Over the last couple of months I have developed a Python module
to read an org-mode file and return the nodes as a list
of objects.  The module is the basis of a Python/TK GUI
program to display a Word of the Day (another article
will be published about this program soon).

Here is the article (and source code)
http://members.optusnet.com.au/~charles57/GTD/orgnode.html

This is an example of what the module can do:

import Orgnode
nodelist = Orgnode.makelist(newgtd.org)

print \n- PROJECT LIST 
for node in nodelist:
  if node.Tag() == PROJECT:
  print [ ], node.Heading()


I hope the module is of interest to Python programmers!

Charles






___
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] My Python solution to generating unique Ids in headlines

2009-03-04 Thread Charles Cave
Recently I asked about a method of inserting a unique number in a
headline. My requirement is to be able to uniquely identify a
particular headline when exporting data to another system
(ListPro on Palm/Windows). 

I settled on using a small Python script, since I am not
a Lisp programmer.

1.  I created a text file todononum.txt which contains
the next number to use.

2.  I created the following script to read this file, return the
next available number formatted in a unique, easy to find string,
for example [#310].

# script next_todo.py 
import sys
nextnum_file = C:/charles/gtd/todonum.txt

try:
   f = open(nextnum_file, 'r')
except IOError:
   print Unable to open %s. Program terminating. % nextnum_file
   sys.exit(1)

val = int(f.readline()) + 1
f.close()

of = open(nextnum_file, 'w')
of.write(%d\n  % val)
of.close()

print [#%s] % val


3. I created a one line batch file nextnum.bat (I'm on Windows!) 
containing:

python c:/charles/gtd/next_todo.py


4. In org-mode I insert the  unique id by positioning the
cursor at the end of the headline text, then entering the command

ESC-1 ESC-! nextnum RET   Ctl-D

The Ctrl D is needed to remove a carriage return (not sure why it is
there.

Can someone give me Lisp code equivalent of
the command sequene above? I know it is something to do
with (shell command  )


The end result now looks like 

*** Post  to org-mode list about next sequential [#315]  :COMPUTER:

Once I have  Lisp code to implement the command sequence I will have
a satisfactory solution to generating the unique id when I need it.


---
Charles Cave
Sydney, NSW, Australia
Email:  charles_c...@optusnet.com.au
Follow me on Twitter:  www.twitter.com/ozcaveman
---


___
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: My Python solution to generating unique Ids in headlines

2009-03-04 Thread Charles Cave
Nick Dokos nicholas.dokos at hp.com writes:
 
 Try
   import sys
   sys.stdout.write([%d] % val)

Thanks. That works fine.

 (shell-command nextnum t)

This worked fine.
 
 It may be necessary to specify a complete path to the command.

I diodnt need to because the .BAT file was in a directory which is
part of the PAHT list.  By the way, I had to include a beginning
line of @ECHO OFF in the bat file.

 But I still don't understand why you need an external program: what is
 wrong with (insert (format [%s] (org-id-new)))? Are the IDs too ugly
 or is there some other problem?

I'm struggling to find documentation or installing and using org-id.
I added the line (require 'org-id) to my .eamcs file
then discovered a variable to customise the method to internal
or to use an external command uuidgen which doesnt exist on Windows.

How do I change the name of the external command from uuidgent
to nextnum

 The trouble with unique IDs in files is that it's easy for them to get
 out of sync (leading to non-uniqueness), e.g. if there are two processes
 trying to get a unique id at the same time.

This shouldnt be a problem as I am the only user.

Thanks for your help,
Charles




___
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] How to generate a Unique id to include a headline

2009-02-24 Thread Charles Cave
Is there a way to add a unique id into the headline assuming the existence
of an external comman/script to generate the number?

I would like to include a cookie at the end of a headline that would allow
me to synchronise my org-mode contents with another application
(Listpro on Windows and Palm OS).The cookie would be like a priority
[Id 234]

I was planning to store the next available id in a text file and have a python
script to generate the next available number, write to stdout, then increment
the stored value.

Thanks,
Charles


___
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] Article (and Python script) for reformatting agenda view for paper planner

2009-02-06 Thread Charles Cave

I have written an article about a Python script I wrote
to reformat the agenda view into a compact format for printing
as my daily action plan.

http://members.optusnet.com.au/~charles57/GTD/agenda_reformatting.html

I am a Python novice, so I welcome feedback on the script.


Charles
in Sydney, Australia




___
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] Index page to my articles on org-mode, Remember mode, GTD and emacs

2009-02-06 Thread Charles Cave

I have published several articles on org-mode over the last
few years but until now I haven't had an index page to the
collection.

Today I created the index page and here it is ...

http://members.optusnet.com.au/~charles57/GTD/

Charles



___
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: Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil

2009-01-17 Thread Charles Cave
Carsten,

Thanks for enhancing the error message for when users
like me make silly mistakes!

I think I was in the middle of adding a heading to the
column name, got distracted and never completed
the work. 

Writing the tutorial has helped consolidate my understanding
of how these features work, especially effort, column view
and refile targets.

Charles




 Carsten Dominik domi...@science.uva.nl wrote:
 
 
 On Jan 13, 2009, at 11:46 AM, Manish Sharma wrote:
 
  Charles == Charles Cave charles_c...@optusnet.com.au writes:
 
  Charles I recently installed 6.17c org-mode on Windows XP withg GNU
  Charles Emacs.  When I create an agenda view, switch on column view,
  Charles then attempt to modify the effort estimate with shift-right
  Charles arror keys I get an error message Wrong type argument  
  stringp,
  Charles null.
 
  Charles I know this was working the other day but I think it was an
  Charles earlier version of org-mode.
 
  Charles This is the configuration of my file:
 
  Charles #+STARTUP: overview #+STARTUP: hidestars #+STARTUP: logdone
  Charles #+PROPERTY: Effort_ALL 0:10 0:20 0:30 1:00 2:00 4:00 6:00  
  8:00
  Charles #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do)
  Charles %5Time{:} %6CLOCKSUM{Total} #+PROPERTY: Effort_ALL 0 0:10  
  0:20
  Charles 0:30 1:00 2:q00 3:00 4:00 8:00 #+TAGS: { OFFICE(o) HOME(h) }
  Charles COMPUTER(c) PROJECT(p) READING(r) #+TAGS: DVD(d) WAITING(w)
  Charles #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d)
  Charles CANCELLED(c) DEFERRED(f)
 
  #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Effort{:}  
  %6CLOCKSUM{Total}
^^
  #+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00
^
 
 
 Thanks Manish,
 
 I have also modified the code to give a better error message in this  
 case.
 
 - Carsten
 
 
 
  Two small changes and I hope it should work.
 
  -- 
  Manish
 
 
 
  ___
  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

---
Charles Cave
Sydney, NSW, Australia

Email:  charles_c...@optusnet.com.au
---


___
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] Announcing a new tutorial about org-mode, GTD using effort, column view and custom agenda commands

2009-01-16 Thread Charles Cave

Over the last few days I have been consolidating my GTD system,
fine tuning my files and understanding some of the subtleties
of the various org-mode features.

My tutorial is titled How I use Emacs and Org-mode to implement GTD

http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html

I demonstrate my use of Effort tags, column view, fast selection of
TODO states, refiling and customising refile targets.

I hope you find the tutorial useful, and please let me know any
errors, corrections or suggestions for additional content.

Thanks,
Charles Cave


Contents

   * What is Getting Things Done?
   * About the Author (of the tutorial)
   * Tools
   * The org mode text files
   * The main GTD File
   * Category tags
   * Context Tags
   * To Do states
   * Planning the Day
   * Estimating the Day's work
   * Working the Day
   * Reviewing the Week
   * Refiling
   * Note Taking
   * Synchronising home and work org-mode files
   * Further Reading




___
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] Article about using Emacs and org-mode for publishing text in Japanese

2009-01-15 Thread Charles Cave


Here is an article I wrote about using GNU Emacs for editing
Japanese text.  Originally I was writing some notes for myself
then I wanted to report what I thought was a bug with
org-mode export, but discovered I had forgotten to
set the language code.

Here is the article.  Hopefully it will be of interest to
some of you...

http://members.optusnet.com.au/~charles57/GTD/emacs_japanese.html


Charles
in Sydney, Australia




___
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] Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil

2009-01-13 Thread Charles Cave

I recently installed 6.17c org-mode on Windows XP withg GNU Emacs.

When I create an agenda view, switch on column view, then
attempt to modify the effort estimate with shift-right arror
keys I get an error message Wrong type argument stringp, null.

I know this was working the other day but I think it was an earlier version
of org-mode.

This is the configuration of my file:

#+STARTUP: overview
#+STARTUP: hidestars
#+STARTUP: logdone
#+PROPERTY: Effort_ALL  0:10 0:20 0:30 1:00 2:00 4:00 6:00 8:00
#+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Time{:} 
%6CLOCKSUM{Total}

#+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:q00 3:00 4:00 8:00
#+TAGS: { OFFICE(o) HOME(h) } COMPUTER(c) PROJECT(p) READING(r)
#+TAGS: DVD(d) WAITING(w)
#+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) CANCELLED(c) 
DEFERRED(f)



And here is the stack trace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
 
string-match(^[[]\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\) 
+\\([^]-+0-9
\n ]*\\)\\( 
\\([0-9]\\{2\\}\\):\\([0-9]\\{2\\}\\)\\)?\\)[^]\n]\\{0,16\\}[]]$ nil)
 (if (string-match (concat ^ org-ts-regexp3 $) s) (progn (let* ... 
... ... ... ... ... ... ... ... ...)))
 (when (string-match (concat ^ org-ts-regexp3 $) s) (let* (... ... 
... time-before time-after) (unless active ...) (setf ... ...) (setf ... 
...) (setf ... ...) (setq time-before ...) (setq time-after ...) (setf 
... ...) (setf ... ...) (mapcar ... ...)))

 org-colview-construct-allowed-dates(nil)
 (or (org-property-get-allowed-values pom key) (and (memq ... ...) 
(quote ...)) (org-colview-construct-allowed-dates value))
 (let* ((col ...) (key ...) (value ...) (bol ...) (eol ...) (pom ...) 
(line-overlays ...) (allowed ...) nval) (when (integerp nth) (setq nth 
...) (if ... ...)) (when (equal key ITEM) (error Cannot edit item 
headline from here)) (unless (or allowed ...) (error Allowed values 
for this property have not been defined)) (if (member key ...) (setq 
nval ...) (if previous ...) (cond ... ... ...)) (cond (... ... ...) (t 
... ... ...)))

 org-columns-next-allowed-value()
 call-interactively(org-columns-next-allowed-value)




___
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] Remember mode (frist time) reports wrong type argument: stringp, nil

2008-12-22 Thread Charles Cave
The first time I use Remember, after I file the note with C-c C-c
I get a message: Wrong type argument: stringp, nil
When I repeat C-c C-c  the note is filed successfully.

When I run Remember again, there is no problem.

My org version: 6.15d
My emacs version: 22.1.1   (GNU on Windows XP)

Relevant part of .emacs file:

(setq load-path (append load-path (list L:/elisp)))
(add-to-list 'load-path L:/elisp/)
(add-to-list 'load-path L:/elisp/remember-1.9/)

;; 20th JUly 2007 following line:
;; (require 'org-export-latex)

(autoload 'remember remember nil t)
(autoload 'remember-region remember nil t)

(setq org-directory ~/orgfiles/)
(setq org-default-notes-file ~/.notes)
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(define-key global-map \C-cr 'org-remember)

(setq org-remember-templates
 '((Todo ?t * TODO %? %^g\n %i\n  E:/GTD/newgtd.org Tasks)
  (Journal ?j \n* %^{topic} %T \n%i%?\n L:journal.org)
  (Book ?b \n* %^{Book Title} %t :READING: \n%[l:/booktemp.txt]\n 
L:journal.org)
  (Private ?p \n* %^{topic} %T \n%i%?\n E:/gtd/privnotes.org)
  (Special ?s \n* My test\n %i \nLIne2 %x E:/gtd/privnotes.org)
  (Contact ?c \n* %^{Name} :CONTACT:\n%[l:/contemp.txt]\n 
E:/gtd/privnotes.org)
  ))

;;

Backward trace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  set-buffer(nil)
  (save-current-buffer (set-buffer (or visiting ...)) (unless (org-mode-p) 
(error Target files for remember notes must be in Org-mode)) (save-excursion 
(save-restriction ... ... ... ... ... ... ... ... ... ...)))
  (with-current-buffer (or visiting (get-file-buffer file)) (unless 
(org-mode-p) (error Target files for remember notes must be in Org-mode)) 
(save-excursion (save-restriction ... ... ... ... ... ... ... ... ... ...)))
  (let* ((visitp ...) (previousp ...) (clockp ...) (fastp ...) (file ...) 
(heading org-remember-default-headline) (visiting ...) (org-startup-folded nil) 
(org-startup-align-all-tables nil) (org-goto-start-pos 1) spos exitcmd level 
reversed txt) (when (equal current-prefix-arg ...) (setq visitp t)) (when 
previousp (setq file ... visiting ... heading ... fastp t)) (when clockp (setq 
file ... visiting ... heading org-clock-heading-for-remember fastp t)) (setq 
current-prefix-arg nil) (goto-char (point-min)) (if (re-search-forward [  
\n]+\\' nil t) (replace-match )) (goto-char (point-min)) (unless (looking-at 
org-outline-regexp) (insert ...) (backward-char 1) (when org-adapt-indentation 
...)) (goto-char (point-min)) (if (re-search-forward \n[]*\n[   
\n]*\\' nil t) (replace-match \n\n) (if ... ...)) (goto-char (point-min)) 
(setq txt (buffer-string)) (org-save-markers-in-region (point-min) (point-max)) 
(when (and ... ...) (org-refile nil ...) (and visitp ...) (save-excursi!
 on ... ... ...) (throw ... t)) (if (not visiting) (find-file-noselect file)) 
(with-current-buffer (or visiting ...) (unless ... ...) (save-excursion ...)))


  (catch (quote quit) (if org-note-abort (throw ... nil)) (let* (... ... ... 
... ... ... ... ... ... ... spos exitcmd level reversed txt) (when ... ...) 
(when previousp ...) (when clockp ...) (setq current-prefix-arg nil) (goto-char 
...) (if ... ...) (goto-char ...) (unless ... ... ... ...) (goto-char ...) (if 
... ... ...) (goto-char ...) (setq txt ...) (org-save-markers-in-region ... 
...) (when ... ... ... ... ...) (if ... ...) (with-current-buffer ... ... ...)))
  org-remember-handler()
  run-hook-with-args-until-success(org-remember-handler)
  (if remember-all-handler-functions (run-hooks (quote 
remember-handler-functions)) (run-hook-with-args-until-success (quote 
remember-handler-functions)))
  (save-restriction (narrow-to-region b e) (if remember-all-handler-functions 
(run-hooks ...) (run-hook-with-args-until-success ...)) (remember-destroy))
  (let ((b ...) (e ...)) (save-restriction (narrow-to-region b e) (if 
remember-all-handler-functions ... ...) (remember-destroy)))
  remember-region(1 412)
  remember-finalize()
  org-remember-finalize()
  call-interactively(org-remember-finalize)

  


___
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] Seeking further clarification of org-refile-targets variable

2008-12-17 Thread Charles Cave

I am having trouble understanding the help text for org-refile-targets.
I don't know what a cons cell is and I would like to see some examples
of customising the variable.

For example, how can I specify headings of levels 1 and 2?
I entered the value of 
(:level . N). 
in the customization prompt but now I get a message
No refile targets.

Perhaps some examples for non-Lisp programmers would be helpful.

As org-mode popularity increases, the users are not necessarily
Lisp-literate, and I have read messages from users willing to learn
Emacs just to use org-mode! 

Thanks,
Charles



___
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] Org mode 6.06b and remember2.0 problems

2008-07-30 Thread Charles Cave

charles snyder wrote:

Hi

I am having problems on 2 different machines trying to integrate org 
mode and remember. I am running



(setq org-remember-templates
'((Todo ?t * TODO %? %^g\n %i\n  F:/GTD/newgtd.org 
http://newgtd.org Office)
 (Journal ?j \n* %^{topic} %T \n%i%?\n L:journal.org 


Be aware that you will nee dto change the names of the target files,
namely F:/GTD/newgtd.org   and  L:journal.org

L is my home network drive at my office and F is the drive for
my USB.   You may want to use path names starting with ~ if your files
are relative to your home directory.


http://journal.org)
 (Book ?b \n* %^{Book Title} %t :READING: \n%[l:/booktemp.txt]\n
 L:journal.org http://journal.org)


What is this syntax? You have a file name followed by an http???

Chares


___
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] But: Setting a property value - Spaces are not allowed in value prompt

2008-05-05 Thread Charles Cave

I am studying the Properties section of org mode (chapter 7) and ran into this
problem. I am using Orgh-mode 6.02b runinng on Windows XP with
GNU Emacs.

I have created a test file of CDs (see listing below), then enter a new
headline:

*** Beethoven Fifth Symphony  

I enter the command C-c C-x p
select the propert of Title
then attempt to enter:
Fifth Symphony

However I am prevented entering the space.   I encounted a similar
problem with Remember mode several months ago and that problem
got fixed.





#+PROPERTY: NDisks_ALL 1 2 3 4 5 6
#+STARTUP: hidestars

* CD Collection
** Classical
*** Goldberg Variations
:PROPERTIES:
:Title:Goldberg Variations
:Composer: J.S.Bach
:Artist:   Glen Gould
:Publisher:Deutsche Grammphon
:NDisks:   1
:END:
*** The Four Seasons
:PROPERTIES:
:Title:The Four Seasons
:NDisks:   2
:Composer: Vivaldi
:Publisher: Harm Mundi
:END:
*** Beethoven Fifth Symphony  --- this line added then C-c C-c p 


___
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] New article on Natural Project Planning with org-mode

2008-01-05 Thread Charles Cave

Fellow org-moders

I have written an article on implementng the Natural Project Planning
with org-mode.  This is a simplified project planning method
described by David Allen in his book Getting Things Done.
I have discussed how to do Brainstorming using org-mode and some
idea prompting methods (Idea Quota, Six Questions and asking Why?)

The article URL is
http://members.optusnet.com.au/~charles57/GTD/Natural_Project_Planning.html

Naturally, I wrote it with org-mode and the source article is here:
http://members.optusnet.com.au/~charles57/GTD/Natural_Project_Planning.org

Feel free to send me comments, and especially spelling and typographic 
errors.


Table of Contents

* Natural Project Planning and org-mode
* The Natural Planning Model
* Step 1. Purpose
* Step 2. Envisioning A Successful outcome
  o The Power of Focus
  o Clarifying outcomes
* Step 3. Brainstorming.
  o org-mode for brainstorming - idea generation
  o Setting quotas to generate ideas
  o Idea prompting
* Step 4. Organising the ideas
* Step 5. Next Actions
  o Activating TODO tasks
  o Adding your project file to the agenda file list
  o Setting a deadline and milestones
  o The PROJECT tag and your list of projects.
* How much planning do you need?
* References


Enjoy!
Charles






___
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 sunrise and sunset in my agenda view

2008-01-05 Thread Charles Cave

Following on from a recent post about displaying
phases of the moon in the agenda buffer, I explored
the other diary functions.

I added the following two lines to my primary org-mode file.

%%(diary-phases-of-moon)
%%(diary-sunrise-sunset)

Now the Agenda displays sunrise, sunset and phases of the moon!

Week-agenda:
Sunday 3 February 2008
  Misc:6:19.. Sunrise (AUS Eastern Daylight Time), sunset 
8:00pm (AUS Eastern Daylight Time) at 34S, 151E (13:40 hours daylight)


Monday 4 February 2008
  Misc:6:21.. Sunrise (AUS Eastern Daylight Time), sunset 
7:58pm (AUS Eastern Daylight Time) at 34S, 151E (13:37 hours daylight)


Tuesday5 February 2008
  Misc:6:22.. Sunrise (AUS Eastern Daylight Time), sunset 
7:58pm (AUS Eastern Daylight Time) at 34S, 151E (13:36 hours daylight)


Wednesday  6 February 2008
  Misc:6:22.. Sunrise (AUS Eastern Daylight Time), sunset 
7:57pm (AUS Eastern Daylight Time) at 34S, 151E (13:34 hours daylight)


Thursday   7 February 2008
  Misc:6:23.. Sunrise (AUS Eastern Daylight Time), sunset 
7:56pm (AUS Eastern Daylight Time) at 34S, 151E (13:32 hours daylight)

  Misc:   14:45.. New Moon (AUS Eastern Daylight Time)

Friday 8 February 2008
  Misc:6:25.. Sunrise (AUS Eastern Daylight Time), sunset 
7:55pm (AUS Eastern Daylight Time) at 34S, 151E (13:30 hours daylight)


Saturday   9 February 2008
  Misc:6:25.. Sunrise (AUS Eastern Daylight Time), sunset 
7:55pm (AUS Eastern Daylight Time) at 34S, 151E (13:29 hours daylight)



___
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] Remember string prompt won't accept spaces %^{Prompt text}

2008-01-01 Thread Charles Cave

I have set up Remember with org-mode and found that the prompt
directive doesn't allow spaces in the input.

This is the directive (to capture Internet banking
receipts)  .

 '((Receipt   ?r ** %^{BriefDesc} %U %^g\n%? ~/GTD/GTD/finances.org)

After I issue the command C-c r  and choose r (for Receipt)
I see the new window for Remember filled in like this:

**  [2008-01-01 Tue 21:02] %^g
%?


And in the minibuffer, a prompt:

BriefDesc:
As soon as I type a space I get a message [No Match].

Why can't I enter a space?   I am running org-mode 5.17a
on GNU Emacs 22.1.1 on Windows XP.


Thanks
Charles




___
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] Solutions for making org-files portable [was: my GTD setup]

2007-12-30 Thread Charles Cave



Sven Bretfeld wrote:


I would be interested what other people do to have their org-based
data available when they are not in front of a computer. Do you use
paper? Or a PDA with a compatible application? What else?


I export data (scheduled items and tagged TODO items) to a flat file
(by running a batched agenda file) then load the CSV file into
ListPro (running on Windows) which I then HotSync with a Palm M515.

I have a Perl script which then updates todo items with DONE
and a date in the .org file


Charles



___
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] A day in the life with Org - by Sacha Chua

2007-12-23 Thread Charles Cave
Sacha Chua has written a very useful article about her use of org-mode

http://sachachua.com/wp/2007/12/22/a-day-in-a-life-with-org/

.. complete with blocks of Lisp code


Charles


___
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] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Charles Cave
org-mode has the feature of entering M-RET to insert a heding with the same
level as current.

I would like a command to enter a new headline at a level BELOW the current
headline.  The command key binding could be a modificaton to M-RET maybe adding
the ctl or shift key.

The reason for this functionality is when using org-mode for brainstorming.
I want to quickly add more than one child heading to the current heading.
Adding the first child heading is slower because I have to do a M-RET
backspace backspace  asterisk (*) space the continue.  The next headline
is added with a M-RET.

Mindmapping programs call this a Rapid Fire brainstorming.   

If someone coud suggest how to modify the org-el code to do so this would be
great. I found references to overriding the self-insert-command function but 
couldn
find how M-Ret is implemented.

Thanks
Charles






___
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] Feature request - add a new heading with a lower level than current

2007-12-10 Thread Charles Cave
 Will

 Or you could just do M-return M-right - is that really too slow for 
 you?

Thank you!  I hadn't thought of that.   Entering M-right is
easy because I am already holding the Meta key with my thumb
so it is just a matter of continuing to hold the thumb and hitting
the right arrow key.

Charles


___
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] Survey of org-mode users

2007-11-14 Thread Charles Cave
I am running a short survey on org-mode with Carsten's approval to help
understand the environments in which org-mode is used and the applications.

Please give your feedback on org-mode by completing this short 10 question 
survey

http://www.surveymonkey.com/s.aspx?sm=CetuI2wsPz_2fsg6FAzvubnA_3d_3d

I am using the free version of survey monkey, so I am restricted to 10 questions
and 100 responses, so please respond soon!

Thank you,
Charles 



___
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] Survey of org-mode users (correction on link)

2007-11-14 Thread Charles Cave
 
 Please give your feedback on org-mode by completing this short 10 
 question survey

http://www.surveymonkey.com/s.aspx?sm=CetuI2wsPz_2fsg6FAzvubnA_3d_3d


___
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] Announcing my tutorial on using dates (and times) in org-mode

2007-10-24 Thread Charles Cave

I am pleased to announce the publication of my tutorial
on using date and times in org-mode.   Carsten has reviewed
the first draft and I have incorporated his suggestions.

Please send me your comments and I will make a second edition.

http://members.optusnet.com.au/~charles57/GTD/org_dates/

Contents:

* 1 Org-mode and personal productivity
* 2 Brief review of org-mode
  o 2.1 User configurable tags
  o 2.2 To do flags
  o 2.3 Dates
* 3 Exploring Dates
  o 3.1 Simple date format
  o 3.2 Date and time format
  o 3.3 Date Range
* 4 Agenda View
* 5 Timeline
* 6 Repeating events
* 7 Deadlines and Scheduled Dates
  o 7.1 Deadline Dates
  o 7.2 Repeating Deadlines
  o 7.3 Sparse Tree of Deadlines
  o 7.4 Scheduled Date
* 8 Editing Dates
  o 8.1 Date Selector Tool
* 9 Examples
* 10 Command Summary


I learnt a lot about the functionality of scheduling, deadlines,
repeating intervals and date editing.


Charles



___
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] How is C-c and C-c meant to be used?

2007-10-21 Thread Charles Cave

I am writing a tutorial on org-mode and dates and was exploring
the C-c   and C-c  commands.

I am not sure how they are meant to be used, so I am asking list
members who uses these functions?

It appears that C-c  opens up a calendar window which you can scroll
around and select a date. Entering C-c  anywhere in the buffer
will paste that date.  

I don't see applications for this. Ideas?


Charles


___
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] depending TODOs, scheduling following TODOs automatically

2007-10-13 Thread Charles Cave



pete phillips wrote:


I genuinely think that if there is a band of org-moders (hmmm we could
do with a cooler collective noun I think ?)  


How about ORG-MONGERS?

Charles


___
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] How I run org-agenda -csv to create data for my ListPro program

2007-09-29 Thread Charles Cave

I wanted to show how I use the org-batch-agenda-csv command
to create a file to import into the ListPro program
that I run on my Palm M515 handheld.
ListPro is from http://www.iliumsoft.com

In my .emacs file I have this helper function:

  (defun org-csv-agenda ()
 (org-batch-agenda-csv H)
   )

The H refers to a prestored command:

   (H Home NA Lists
 ((agenda)
  (tags-todo HOME)
  (tags-todo COMPUTER)
  (tags-todo OFFICE)
  (tags-todo DVD)
  (tags-todo READING)

I run a Perl script agen2lpro.pl that runs the helper function,
captures the comma-separated output into a file, then processes
this file to create a tab-delimited file for importing into ListPro.

I manage my lists on the Palm and synchronise back to my Windows 
Machine. The ListPro list can be exported to a tab delimited

and processed with another Perl script, but I don't attempt to
do any updating of the original org-mode file marking completed
items, but that is planned for the future.


Here is the Perl script


use strict;
use warnings;

my $emacs_exe = \D:\\Program 
Files\\emacs_22\\emacs-22.1\\bin\\emacs.exe\;

my $work_file = agenwork.txt;

print Create CSV file using Emacs\n;
my $cmd = system($emacs_exe --batch -l c:/homes/charles/.emacs -f 
org-csv-agenda  $work_file);

print $work_file (workfile) Created.\nProcessing ...\n;

# The output of this script is a tab delimited file to import
# into ListPro. The fields are
#
# Description
# Category (OFFICE, HOME, DVD, or READING)
# Date - Either the scheduled date or blank.
# DateLoaded - Todays date in month and day format in order to
#  identify Listpro items that originated from org-mode

my $listpro = listpro.txt;

open (my $fv, , $work_file) or die Could not open $work_file: $!\n;
open (my $of, , $listpro)   or die Could not create $listpro: $!\n;

my @ltime = localtime();
my $datestring = sprintf(%d%d , $ltime[4] + 1, $ltime[3] );
print Version string $datestring\n;

my ($category, $headline, $type, $todo, $tags, $date, $time, $extra,
$priority_l, $priority_n);

while($fv) {
   chomp;
   ($category, $headline, $type, $todo, $tags, $date, $time, $extra,
   $priority_l, $priority_n) = split(/,/);
   if ($tags =~ m/^([A-Za-z]+):/) {
   $tags = $1;
   }
   $tags = uc($tags);
   if ( ($type eq scheduled) or ($type eq typestamp) ) {
   my @d = split(/-/, $date);# orgmode used -M-DD format
   my $newdate = $d[2]./.$d[1]./.$d[0];
   print $of $headline\t$tags\t$newdate\t$datestring\n;
   }
   if ( $type eq tagsmatch ) {
   print $of $headline\t$tags\t\t$datestring\n;
   }
}
print Finished! Now load the file $listpro into Listpro\n;






___
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] I need help with org-batch-agenda-csv command

2007-09-11 Thread Charles Cave
I am running org-mode 5.08 on Windows XP using GNU Emacs 22

I want to use the org-batch-agenda-csv  command but when I run it, 
I get no output.  I ran the command again with -debug-init  but no difference
in output.

D:\program files\emacs22\emacs-22.1\bin\emacs.exe -batch -l ~/.emacs
-eval '(org-batch-agenda-csv t)'
Loading smtpmail...
Loading calendar...
Error setting nil: (setting-constant nil)
Loading l:/.abbrev_defs...
End of file during parsing




How can I debug this problem?

Thanks
Charles


___
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] Example .org-files at the web

2007-08-29 Thread Charles Cave

Daniel,

I wrote a tutorial in org mode:

http://members.optusnet.com.au/~charles57/GTD/orgmode.org

which was converted into HTML:

http://members.optusnet.com.au/~charles57/GTD/orgmode.html

org-mode is great for writing articles. As well as HTML export,
the same file can be used to create a LaTeX version.

I hope this helps,
Charles




___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] feature request: (more) in agenda?

2007-08-05 Thread Charles Cave
Why don't you just switch on the follow mode in the agenda buffer
(enter the 'f' command in agenda window).

Look at the top window and see if the item has three dots following
the headline?

Charles


 [EMAIL PROTECTED] wrote:
 
 Hello!
 
 Sometimes I write some comments after a todo entry like this:
 
 ,
 | *** TODO [#A] implement function XYZ
 | 
 |   VERY IMPORTANT: be careful not to forget ABC!!!
 `



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-export to Palm Markup Language (PML)

2007-07-28 Thread Charles Cave

Bastien,

Well done with org-export-as-latex !  I installed it on
GNU Emacs 22.1.1 on Windows XP and it works very well.

I am working on a Perl script to convert org-mode to
Palm Markup Language to make ebooks for my Palm m515
and the ereader program. It seems that it wouldn't be
hard to adapt org-export-as-latex to make org-export-as-pml

Details of PML:  http://www.ereader.com/dropbook/pml

Is anyone else on this list interested in making eBooks
on the Palm?

I am only using a small set of PML:

Headings are converted to \XNheading Text\XN  where N is 0,1,2,3 or 4
Bold text:  \Bboldtext\B
Italics:\iItalic\i
Underline:  \uUnderline\u

Charles






___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mode to LaTeX export

2007-07-18 Thread Charles Cave
There have been a few discussions on a facility for org-mode to export a buffer
into LaTeX. I was wondering what is the planned scope of this work?

I would like to be able to write an article in org-mode then create a LaTeX 
document
using the following transformations which should be configurable:

Headings
* 
**
***
and so on should be converted to the appropriate {chapter} {section} tags

*bold* /italic/ markup should be tagged

Lists, numbered and unnumbered be converted into the appropriate LaTeX
structures.


I wrote a Perl script to do most of this work but I don't know enough Lisp to
write a similar program.

Who is doing the work on LaTeX export? 
What features will you support?
How configurable will it be?

Many thanks
Charles

P.S. I am working on an update to my org-mode and GTD article.

---
Charles Cave
Sydney, NSW, Australia
Email:  [EMAIL PROTECTED]
---


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Does org-mode work less under Windows?

2007-06-16 Thread Charles Cave

Hello Cecil,

I run Org Mode version 4.77 on Emacs 22.1.1 on Windows XP Service Pack 2
Is that GNU Emacs or Xemacs you are using?

As far as I can see, everything works very well.

Hidestars definitely works. The beginning of my files look like:

#+STARTUP: overview
#+STARTUP: hidestars

Perhaps you could send a (small) sample of an org-mode file that 
demonstrates the problem?

Charles

 Cecil Westerhof [EMAIL PROTECTED] wrote:
 
 At home I use org-mode with Emacs 21.3.1 under Linux. At work I use
 Emacs 22.0.50.1 under Windows. But severall things work less at work.
 Links do not work as they should. I keep seeing [[link][description]].
 Also hidestars and odd does not work. Anybody an idea what is ahppening
 here?
 
 -- 
 Cecil Westerhof [EMAIL PROTECTED]
 
 
 ___
 Emacs-orgmode mailing list
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Specifying style sheets for HTML Export. ... error in documentation

2006-12-08 Thread Charles Cave

On the bottom of page 61 of the Org Mode 4.57 manual
there is an example of including a style sheet for
HTML export.

Each of the lines is prefixed with # but I found it
is necessary to remove these for the style sheet to
work. The documentation needs to be corrected!

My style sheet section looks like this:


* COMMENT HTML style specifications

# Local Variables:
# org-export-html-style:  style type=\text/css\
 html {
 font-family: Verdana, Times, serif;
 font-size: 10pt;
 margin-left: 20pt;
 margin-right: 50pt;
   }
 pre {
   border: 1pt solid #AEBDCC;
   background-color: #F3F5F7;
   padding: 5pt;
   font-family: courier, monospace;
  font-size: 10pt;
  margin-left: 45pt;
  margin-right: 45pt;
   }
 p,li {
 margin-left: 1.5 cm;
 margin-right: 1.5 cm;
}
 .author, .date {
  font-size: 8pt;
  margin-left: 0pt;
}
   h1 {color: darkblue;
   margin-top: 3.0 cm;
  }

  /style
# End:



Charles


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Another GTD question.

2006-09-27 Thread Charles Cave

Hi Alex,

 I am currently using a system that isn't

that different from it, but I am trying to figure out the best way
to use Org-mode for GTD.


I don't think there is any best way to use GTD system or org-mode
for that matter.  One of the core principles of GTD is creating
lists of next actions organised by context. A context is some
restraint that only allows the action to be done in a particular
place, time, or with particular resources.



my first instinct would be to group all my work next actions under
specific headlines (e.g., hardware, software, etc.) since I work in
different areas.


I think that is a good idea because when you review your system...
the org-mode file you can use these headlines if hardware, software,
etc as a checklist for the question Are there any outstanding actions
on this equipment?.

  It's not

really a context since while I am at work, I can work on any number of
tasks in the different areas. The context talks about what it is I
need, where I need to be, or a type of activity. Maybe I overlooked
something, but it seems like another dimension to the problem.


Maybe WORK is a sufficient context for your office related
activities. I don't think you need to break it down any further than
that.



How does this relate to Org-mode? In Org-mode I see different
approaches to how one could structure these lists:

- Outlines
- Tags
- ToDo keywords
- Categories (files)


The lists can be structured anyway you want, but the strength of 
org-mode is scanning your whole file to build up a list of lines

matching a tag.  Organising the actions under specific category tags
is extra (unnecessary) work since org-mode does it for you.
Keeping the actions in context with other items may make more sense.


Let me add my context tags to yourlist



o Call the bank about personal statements   :PHONE:
o Go to post office to buy stamps  :ERRANDS:
o Wait for SysAdmin to finish server install :WAITING:
o Hang new pictures at home :HOME:
o Discuss new development process with boss  :BOSS:

(Create a tag for items (agenda) to discuss with your boss

o Read through vendor proposal  :READING:

   (Can this reading be done at home or on your train trip to
 work? Reading is one of those activities that can be done almost
 anywhere)

o Server Install project at work:OFFICE:
o Install software upgrade on laptop :OFFICE:
o Learn more about font-lock in Org-mode :OFFICE:


So when you are at the office, you display the tags for OFFICE.

If you set up a meeting with your boss, you search for :BOSS so you
get the most out of your meeting with the boss.

When you are reviewing what you are waiting for, use the WAITING tag.

During your lunch break, you search for ERRANDS.


I am really looking forward to hear what people who are already using
GTD with Org-mode suggest and hope that those how are not familiar
with GTD may still find the discussion interesting.


I'm still refining my system with org-mode so I am keen to hear from
others on this.

Charles




___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] An article/tutorial I wrote abou org-mode and implementing GTD

2006-09-02 Thread Charles Cave

Here is an article I wrote introducing org-mode to
implementing David Allen's Getting Things Done
methodology from stress-free productivity.

http://members.optusnet.com.au/~charles57/GTD/orgmode.html

The article itself was written with org-mode and exported
in HTML. You can see this article at
http://members.optusnet.com.au/~charles57/GTD/orgmode.org


Comments and feedback welcome.

Charles Cave
Sydney,
NSW,
Australia



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] Creating CD contents listings in org mode

2006-05-22 Thread Charles Cave

I used to use Treepad on Windows  (www.treepad.com) and wrote a Perl
module to read and write Treepad Files. These were plain text but had
extra information to define each node in the tree.

Now I use ORG mode for my outlining requirements.

Today I adapted a program to create a listing of the contents
of a CD-ROM. The program is written in Perl (not Lisp!).

I use Windows, and my CD-ROM drive is F:
I write a unique number on each CD, for example, C039

To catalogue the disk, I run the command
perl cdcat.pl C039.org F:

Now I can view the file C039.org with Emacs and expand/collapse the
directory names.


Sample output:


*  f:
f:
** Australian Piano Concertos
f:/Australian Piano Concertos
  01 Piano Concert Movt 1 - Ross Edwards.mp3 (6884786)
  02 Piano Concerto Movt 2 - Ross Edwards.mp3 (10772642)
  03 Piano Concerto Movt 3 - Ross Edwards.mp3 (4604168)
  07 Piano Concerto - Peter Sculthorpe.mp3 (26613776)
  Australian Piano Concertos playlist.m3u (746)
** Sun Music
f:/Sun Music
  01 Memento Mori - Peter Sculthorpe.mp3 (20459686)
  02 Sun Song - Peter Sculthorpe.mp3 (8521866)
  03 Sun Music 1 - Peter Sculthorpe.mp3 (14595318)
  04 Sun Music 2 - Peter Sculthorpe.mp3 (8466152)
  05 Sun Music 3 - Peter Sculthorpe.mp3 (17877436)
  06 Sun Music 4 - Peter Sculthorpe.mp3 (12673498)
  07 From Uluru - Peter Sculthorpe.mp3 (5337404)
  Sun Music playlist.m3u (584)




# Save the remained of the message as a file  cdcat.pl

# cdcat.plModified on 29th April 2005

use strict;
use warnings;

#  parse a directory structure to create an Emacs org mode file
#  with a list of files against each node.

my $outfile = shift;
my $root= shift;   # start directory for searching, a CD drive:  G:
my $info= ;  # the catalogue data being prepared

defined($outfile) or $outfile = cd.org;
defined($root)or die Syntax is cdcat cdlabel CDdrive\n;

open (my $fv, , $outfile) or die Cannot create $outfile\n;
my $level = 0;
parse_dir($root, $level, $root);

print $fv $info;
close($fv);

print Analysis of $root written to $outfile\n;


###
sub parse_dir {
###
my $dir  = shift;
my $level= shift;
my $fullpath = shift;

my @dirlist = ();
my $filelist = ;

chdir($fullpath)or die chdir to $fullpath failed\n;
opendir(my $dirfv, .) or die Cannot open . in $dir\n;
while (my $file = readdir($dirfv)) {
if ( -f $file ) {
my $size = -s $file;
$filelist .=   $file ($size)\n;
}
next if ($file eq .);
next if ($file eq ..);
push (@dirlist, $file) if -d $file;
}

$info .= '*' x ( $level + 1 );
$info .=  $dir\n$fullpath\n$filelist;

foreach my $subdir (@dirlist) {
   parse_dir($subdir, $level + 1,  $fullpath./.$subdir);
}
}





___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode