[Orgmode] How to Strip TODO headword and refile as a note

2009-10-24 Thread Alan E. Davis
I had a TODO item to go to the bank.  At the bank I had some issues to
discuss with a representative.  Now I'm home, I am going over my agenda
todo listing, and see this item, with a priority of A.

I stumbled momentarily, realizing I not only want to archive this, get it
out of my agenda and todo file, I also want to file a note about the issues,
and what I learned about them.

I can archive the TODO, and then file a todo, or refile the todo ...  hope
people understand what I'm asking.  It's trivial, a simple elisp function to
strip TODO and maybe tags.

Thought someone might have an idea about this.

I apologize if this is something that has come up before.

Alan
___
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-mobile bug?

2009-10-24 Thread Carsten Dominik

Hi Phil,

On Oct 23, 2009, at 4:36 PM, Phil Branigan wrote:

Somehow, in putting together the file list, org-mobile-push strips  
the home ~
from the file names in org-agenda-files, so that no org files are  
actually
getting copied to my staging directory.  I sure would appreciate any  
hints on

how to track this to ground.


Hmm, this is strange.  What it the value of org-agenda-files,
does it actually contain absolute names?

Can you show us your configuration, most easily with

M-x org-submit-bug-report

(at least in order to create the text that you can then send
us with an arbitrary mail client)

- Carsten





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


Re: [Orgmode] Setting org-remember-store-without-prompt specifically for certain templates?

2009-10-24 Thread Carsten Dominik


On Oct 22, 2009, at 7:53 AM, Ryan C. Thompson wrote:

That's a fine solution for now, but I have one template that I  
*always* want to be prompted about. (It's an assignment template,  
and I want to refile it under the appropriate class.) For others, I  
don't want a prompt. I feel there should be a way to implement this  
and stick it inside a %(sexp) in my template of choice.


All you need to do is *not* to specify file and headline for this
template - then you will be prompted.

HTH

- Carsten



Darlan Cavalcante Moreira wrote:
I just leave org-remember-store-without-prompt as t and use C-c C-c  
in the
remember buffer to put the note in the default location. When I  
want to specify
a different location I use M-1 C-c C-c instead and org asks me  
where to refile

it to.

Darlan

At Wed, 21 Oct 2009 11:15:23 -0700,
Ryan C. Thompson r...@thompsonclan.org wrote:




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


- Carsten





___
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] Remember put new item in the top of the list

2009-10-24 Thread Carsten Dominik


On Oct 23, 2009, at 11:39 PM, Marcelo de Moraes Serpa wrote:


Hello,

How could I setup org-remember to put the item I collect in the top  
of the list instead of the bottom?


I have the following code:

(setq org-remember-templates
'(
 (NextAction ?t *** TODO %^{Brief Description} %^g\n%? 
\nAdded: %U ~/org/gtd/newgtd.org *Next Actions*)

 (Inbox ?i \n* %^{topic} %T \n%i%?\n ~/org/gtd/inbox.org)
 (Someday ?s \n* %^{topic} %T \n%i%?\n ~/org/gtd/ 
someday.org)
 ;;(WordofDay ?w \n* %^{topic} \n%i%?\n C:/charles/gtd/ 
wotd.org)

 ))

For NextAction, I would like them to be placed at the top, is it  
possible?


Hi,

unfortunately, this is not possible on a per template basis.

I am working on a rewrite for much of the remember functionality, and  
this will be one of the options.


- Carsten



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


[Orgmode] Re: How to Strip TODO headword and refile as a note

2009-10-24 Thread Matt Lundin
Alan E. Davis lngn...@gmail.com writes:

 I had a TODO item to go to the bank.  At the bank I had some issues to
 discuss with a representative.  Now I'm home, I am going over my agenda
 todo listing, and see this item, with a priority of A. 

 I stumbled momentarily, realizing I not only want to archive this, get
 it out of my agenda and todo file, I also want to file a note about the
 issues, and what I learned about them.

 I can archive the TODO, and then file a todo, or refile the todo ... 
 hope people understand what I'm asking.  It's trivial, a simple elisp
 function to strip TODO and maybe tags. 

I'm quite not sure I understand what you're asking, but wouldn't it be
simplest to mark the item as DONE? Inactive todos do not appear in the
agenda.

Then you could either add a note to the item with C-c C-z or simply jump
to the location of the complete item and add a new sibling with notes
and/or a new TODO.

But perhaps you're trying to accomplish something different...

Best,
Matt


___
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: Added support for habit tracking

2009-10-24 Thread Matthew Lundin
John Wiegley jwieg...@gmail.com writes:

 The only difference between regular repeating tasks and habits is this:

  1. Habits appear at the bottom of the agenda (by default)

Out of curiosity, might I ask what org-agenda-sorting-strategy setting
produces the default behavior? My agenda shows habits intermingled with
SCHEDULED todos. Here's my org-agenda-sorting-strategy setting.

--8---cut here---start-8---
((agenda time-up priority-down effort-down)
 (todo todo-state-up priority-down)
 (tags priority-down))
--8---cut here---end---8---
 
  2. Habits can be removed by hitting K
  3. Habits have a little graph, since you need to see consistency over
 a
 period of time.

 Another difference between habits and tasks is this: If I get to the
 end of my day and there are tasks yet undone, it means I need to
 schedule them for another day.  But if there are habits undone, *I
 never reschedule them*.  Once I reach a point during the day when I
 know I no longer have time or opportunity to work on my habits, I just
 hit K and exclude them from the view.  What it means is that I'll try
 again to do them tomorrow.

I very much appreciate this feature!

- Matt


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


Re: [Orgmode] Re: Org-mode version 6.31trans; Problem with new 'away time' feature

2009-10-24 Thread Carsten Dominik


On Oct 23, 2009, at 10:20 AM, Kai Tetzlaff wrote:


John Wiegley wrote:

On Oct 22, 2009, at 6:32 PM, Kai Tetzlaff wrote:

'Cannot restart clock because task does not contain unfinished  
clock'


When i look at the corresponding clock line the previously running  
clock

has now indeed been stopped (with a time stamp corresponding to the
current time).


This is an interesting bug.  It sounds like the point is not being  
moved

to the correct location to perform the clock-in.  I'll take a look.


I did some additional investigation and found that if i'm clocking  
into

an item with an unresolved inactive clock from the agenda (created by
deleting the end time in its most recent CLOCK: line) a similar thing
happens. I'm actually getting clocked out of the current clock and a  
new

CLOCK line gets added which is then the running clock.


I think this is what sould happen, no?

The other problem you reported, where I said this is a conflict with  
James' code, should be fixed now.  Please verify.


- Carsten



Don't know if this helps but stepping through the code in the  
debugger i

get to the following code in org-clock-resolve-clock:

((eq resolve-to 'now)
(if restart-p
(error RESTART-P is not valid here))
(if (or close-p org-clock-clocking-in)   -- org-close: nil,
org-clock-clocking-in: t
(org-clock-clock-out clock fail-quietly) -- clock-out done here
  (unless (org-is-active-clock clock)
(org-clock-clock-in clock t



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


- Carsten





___
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: How to Strip TODO headword and refile as a note

2009-10-24 Thread PT
Alan E. Davis lngndvs at gmail.com writes:

 I stumbled momentarily, realizing I not only
 want to archive this, get it out of my agenda and todo file, I
 also want to file a note about the issues, and what I learned
 about them. 

The todo file expression suggests organizational problems. When
I began to use org-mode I also kept a todo file, but it's a
misunderstading of Org.

You don't need to keep your todos in a separate file. You should
keep everything in files thematically and toggle the TODO keyword
on the header right there in the natural context of the task. 
Org will take care of scanning of your files and pick up your TODO 
entries.

This way if you are done with an item you don't have to move it
out of your agenda and todo file, because it's already there
where it belongs, you can add notes to it there and it will
disappear from the agenda if you toggle the item to DONE state.






___
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] directory tree size browsing with column view

2009-10-24 Thread Michael Brand

Hi all,

I would like to use the column view for browsing a hierarchical tree with a 
summed up property like e. g. the directory sizes (inclusive cluster waste and 
subdirectories from `du -sk`) of a directory tree. Just similar (only unsorted) 
to the upper left pane of this GUI screenshot of WinDirStat here
http://windirstat.info/images/windirstat.jpg

Let me make an example how I think to do the same with column view when given a 
directory with the two shell outputs


$ ls -lR dir_node
total 16
drwxr-xr-x  2 usr  grp  136 Oct 24 12:00 a
drwxr-xr-x  2 usr  grp  102 Oct 24 12:00 b
-rw-r--r--  1 usr  grp 9070 Oct 24 13:00 t.txt

dir_node/a:
total 2400
-rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
-rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt

dir_node/b:
total 16
-rw-r--r--  1 usr  grp 4535 Oct 24 12:00 z.txt



$ find dir_node -type d -exec du -sk {} \;
1220dir_node
1200dir_node/a
8   dir_node/b


For this I would like to have `some software' which uses the path to this 
directory `dir_node' as input and produces the following output file


-*- mode: org; eval: (org-columns) -*-
#+STARTUP: odd hidestars
#+PROPERTY: size
#+COLUMNS: %20ITEM %size{+}

* dir_node
*** a
   :PROPERTIES:
   :size: 1200
   :END:
   -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
   -rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt
*** b
   :PROPERTIES:
   :size: 8
   :END:
   -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 z.txt
*** .
   :PROPERTIES:
   :size: 12
   :END:
   -rw-r--r--  1 usr  grp 9070 Oct 24 13:00 t.txt


Opening this file in org-mode using column view now is comfortable to browse 
and can look e. g. like here


ITEM | size |
* dir_node   | 1220 |
*** a| 1200 |
   :PROPERTIES:...
   -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
   -rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt
*** b| 8|...
*** .| 12   |...


where all not of interest can be left hidden and one can see easily that
 - the directory `a' is by far the largest
 - most of the disk usage is caused only by the file dir_node/a/y.txt.
 - etc

I would be able to implement this `some software' in a shell script (if I would 
take the necessary time some day) but not within Emacs itself which would be 
easier to use and IMHO would not be concerned that much with portability issues.

What do you think?


___
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: New module: org-learn, incremental reading

2009-10-24 Thread Richard KLINDA
Excellent, I have been wanting to use this SuperMemo feature for years.
Having it readily available in org mode is just too good to be true.

Thanks,
Richard


___
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: New module: org-learn, incremental reading

2009-10-24 Thread Richard KLINDA
 Regarding 'Re: New module: org-learn, incremental reading'; Bill Powell 
 adds:


   3. If your answer is 4 or 5, the item will not be repeated.

   In my own experience, material /always/ has to be repeated.

+1.  Repetition (optimally with ever increasing intervals) is a must.

Richard


___
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: Added support for habit tracking

2009-10-24 Thread Matthew Lundin
Matthew Lundin m...@imapmail.org writes:

 John Wiegley jwieg...@gmail.com writes:

 The only difference between regular repeating tasks and habits is this:

  1. Habits appear at the bottom of the agenda (by default)

 Out of curiosity, might I ask what org-agenda-sorting-strategy setting
 produces the default behavior? My agenda shows habits intermingled with
 SCHEDULED todos. Here's my org-agenda-sorting-strategy setting.

 ((agenda time-up priority-down effort-down)
  (todo todo-state-up priority-down)
  (tags priority-down))

Sorry for the false alarm. I found the new habit-up and habit-down
options by checking the docstring of org-agenda-sorting-strategy.

- Matt


___
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] directory tree size browsing with column view

2009-10-24 Thread James TD Smith
Hi Michael,

On 2009-10-24 15:45:32(+0200), Michael Brand wrote:
 Hi all,
 
 I would like to use the column view for browsing a hierarchical tree with a
 summed up property like e. g. the directory sizes (inclusive cluster waste and
 subdirectories from `du -sk`) of a directory tree. Just similar (only
 unsorted) to the upper left pane of this GUI screenshot of WinDirStat here
 http://windirstat.info/images/windirstat.jpg
 
 Let me make an example how I think to do the same with column view when given
 a directory with the two shell outputs
 
 
 $ ls -lR dir_node
 total 16
 drwxr-xr-x  2 usr  grp  136 Oct 24 12:00 a
 drwxr-xr-x  2 usr  grp  102 Oct 24 12:00 b
 -rw-r--r--  1 usr  grp 9070 Oct 24 13:00 t.txt
 
 dir_node/a:
 total 2400
 -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
 -rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt
 
 dir_node/b:
 total 16
 -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 z.txt
 
 
 
 $ find dir_node -type d -exec du -sk {} \;
 1220  dir_node
 1200  dir_node/a
 8 dir_node/b
 
 
 For this I would like to have `some software' which uses the path to this
 directory `dir_node' as input and produces the following output file
 
 
 -*- mode: org; eval: (org-columns) -*-
 #+STARTUP: odd hidestars
 #+PROPERTY: size
 #+COLUMNS: %20ITEM %size{+}
 
 * dir_node
 *** a
 :PROPERTIES:
 :size: 1200
 :END:
 -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
 -rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt
 *** b
 :PROPERTIES:
 :size: 8
 :END:
 -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 z.txt
 *** .
 :PROPERTIES:
 :size: 12
 :END:
 -rw-r--r--  1 usr  grp 9070 Oct 24 13:00 t.txt
 
 
 Opening this file in org-mode using column view now is comfortable to browse
 and can look e. g. like here
 
 
 ITEM | size |
 * dir_node   | 1220 |
 *** a| 1200 |
 :PROPERTIES:...
 -rw-r--r--  1 usr  grp 4535 Oct 24 12:00 x.txt
 -rw-r--r--  1 usr  grp  1217312 Oct 24 12:00 y.txt
 *** b| 8|...
 *** .| 12   |...
 
 
 where all not of interest can be left hidden and one can see easily that
   - the directory `a' is by far the largest
   - most of the disk usage is caused only by the file dir_node/a/y.txt.
   - etc
 
 I would be able to implement this `some software' in a shell script (if I
 would take the necessary time some day) but not within Emacs itself which
 would be easier to use and IMHO would not be concerned that much with
 portability issues.
 
 What do you think?

Have you looked at org-fstree? http://repo.or.cz/w/org-fstree.git

It generates an org tree for the contents of a directory. It doesn't have an
option to include the size or other file attributes as properties as the moment,
but I don't think this would be hard to add. Andreas and I have been working on
it quite a lot over the last week, I'll see if I can add an option which would
do what you want.

James

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|


___
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] Remember put new item in the top of the list

2009-10-24 Thread James TD Smith
Hi Carsten,

On 2009-10-24 14:24:18(+0200), Carsten Dominik wrote:
 I am working on a rewrite for much of the remember functionality, and  
 this will be one of the options.

I don't know how far you've got with your work on org-remember, but if you'd
like to look at my rewrite, a cleaned-up and mostly working version is
in the remember-lite branch in my org-mode repo. 

I've got it into a state where I can actually use it over the last couple of
weeks, but there are still quite a few bugs in it and some of the new features
don't quite work properly.

I am continuing to work on it, fixing bugs as I find them. I'll try and write up
a summary of the changes I've made (and which ones are working properly) and
post it to the list later so you can decide what you want to do with the code.

James

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|



___
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-mobile bug?

2009-10-24 Thread Carsten Dominik

Good to hear.  Thanks.

- Carsten

On Oct 24, 2009, at 6:17 PM, Phil Branigan wrote:

Sorry all.  It was an overly hasty posting and a hint from Bob Erb  
led me to realize that my load-path was pulling in an old version.   
The problem disappears when the current version is loaded.


- Phil

On Sat, Oct 24, 2009 at 9:45 AM, Carsten Dominik carsten.domi...@gmail.com 
 wrote:

Hi Phil,


On Oct 23, 2009, at 4:36 PM, Phil Branigan wrote:

Somehow, in putting together the file list, org-mobile-push strips  
the home ~
from the file names in org-agenda-files, so that no org files are  
actually
getting copied to my staging directory.  I sure would appreciate any  
hints on

how to track this to ground.

Hmm, this is strange.  What it the value of org-agenda-files,
does it actually contain absolute names?

Can you show us your configuration, most easily with

M-x org-submit-bug-report

(at least in order to create the text that you can then send
us with an arbitrary mail client)

- Carsten






- Carsten





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


Re: [Orgmode] [PATCH] Avoid losing persisted clock data when exiting emac without loading org-mode

2009-10-24 Thread Carsten Dominik

Hi Kai,


On Oct 23, 2009, at 9:01 AM, Kai Tetzlaff wrote:


Hi,

i noticed that when using the org-mode clock persistence, the stored
clock data gets deleted when i start emacs and exit again without
turning on org-mode in between.

When looking at org-clock-persistence-insinuate it looks like org- 
clock

load will only run after org-mode gets started whereas org-clock-save
will always be called when exiting emacs:

(defun org-clock-persistence-insinuate ()
 Set up hooks for clock persistence
 (add-hook 'org-mode-hook 'org-clock-load)
 (add-hook 'kill-emacs-hook 'org-clock-save))

Not running org-mode-hook (i.e. not starting org-mode) thus does not
load clock data but org-clock-save overwrites any prviously saved data
when exiting emacs.

An easy fix for that would be to just add org-clock-load to e.g.
emacs-startup-hook. But this will only work if the code in
org-clock-load does not depend on any org-mode initialization code (or
would require loading org-mode).

So org-clock-save should probably check if org-clock-load has been
running during the current emacs session (or if clock persistence was
just enabled) and only then save clock data when exiting emacs. I  
tried

to add this to the code in org-clock-save:

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index c7ebbf8..c0fe4e6 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1803,7 +1803,8 @@ This function is made for clock tables.
  Persist various clock-related data to disk.
The details of what will be saved are regulated by the variable
`org-clock-persist'.
-  (when org-clock-persist
+  (when (and org-clock-persist
+ (or org-clock-loaded (not (file-exists-p
org-clock-persist-file
(let (b)
  (with-current-buffer (find-file (expand-file-name
org-clock-persist-file))
(progn


/Kai

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index c7ebbf8..c0fe4e6 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1803,7 +1803,8 @@ This function is made for clock tables.
  Persist various clock-related data to disk.
The details of what will be saved are regulated by the variable
`org-clock-persist'.
-  (when org-clock-persist
+  (when (and org-clock-persist
+ (or org-clock-loaded (not (file-exists-p org-clock- 
persist-file

(let (b)
  (with-current-buffer (find-file (expand-file-name org-clock- 
persist-file))

(progn



I see you point, but I am not convinced that you fix is the right  
one.  What one really wants to do is save the clock and history if and  
only if the clock has been used in the current session.  So I guess it  
is better to create a special variable org-clock-used-in-this-session  
which then will be set to t each time clock-in starts a clock  
somewhere.  I believe this would be a better insurance policy.


Would you like to try your hand at a patch in this spirit?

- Carsten


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


- Carsten





___
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-mobile bug?

2009-10-24 Thread Phil Branigan
Sorry all.  It was an overly hasty posting and a hint from Bob Erb led me to
realize that my load-path was pulling in an old version.  The problem
disappears when the current version is loaded.

- Phil

On Sat, Oct 24, 2009 at 9:45 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:

 Hi Phil,


 On Oct 23, 2009, at 4:36 PM, Phil Branigan wrote:

  Somehow, in putting together the file list, org-mobile-push strips the
 home ~
 from the file names in org-agenda-files, so that no org files are actually
 getting copied to my staging directory.  I sure would appreciate any hints
 on
 how to track this to ground.


 Hmm, this is strange.  What it the value of org-agenda-files,
 does it actually contain absolute names?

 Can you show us your configuration, most easily with

 M-x org-submit-bug-report

 (at least in order to create the text that you can then send
 us with an arbitrary mail client)

 - Carsten




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


[Orgmode] Re: Org-mode version 6.31trans; Problem with new 'away time' feature

2009-10-24 Thread Kai Tetzlaff
Carsten Dominik wrote:
 
 On Oct 23, 2009, at 10:20 AM, Kai Tetzlaff wrote:
 
 John Wiegley wrote:
 On Oct 22, 2009, at 6:32 PM, Kai Tetzlaff wrote:

 'Cannot restart clock because task does not contain unfinished clock'

 When i look at the corresponding clock line the previously running
 clock
 has now indeed been stopped (with a time stamp corresponding to the
 current time).

 This is an interesting bug.  It sounds like the point is not being moved
 to the correct location to perform the clock-in.  I'll take a look.

 I did some additional investigation and found that if i'm clocking into
 an item with an unresolved inactive clock from the agenda (created by
 deleting the end time in its most recent CLOCK: line) a similar thing
 happens. I'm actually getting clocked out of the current clock and a new
 CLOCK line gets added which is then the running clock.
 
 I think this is what sould happen, no?
Maybe i wasn't clear. The task i'm clocking in to is the same which has
the unresolved clock. After confirming that all pending time should be
resolved to this same task i would have thought that the unresolved
clock would then just be reactivated. But no problem if that's not how
it works.

 
 The other problem you reported, where I said this is a conflict with
 James' code, should be fixed now.  Please verify.
Yes, it's fixed. Thanks!

 
 - Carsten
 

 Don't know if this helps but stepping through the code in the debugger i
 get to the following code in org-clock-resolve-clock:

 ((eq resolve-to 'now)
 (if restart-p
 (error RESTART-P is not valid here))
 (if (or close-p org-clock-clocking-in)   -- org-close: nil,
 org-clock-clocking-in: t
 (org-clock-clock-out clock fail-quietly) -- clock-out done here
   (unless (org-is-active-clock clock)
 (org-clock-clock-in clock t



 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 - Carsten
 
 
 
 
 
 ___
 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
 



___
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] [PATCH] Avoid losing persisted clock data when exiting emac without loading org-mode

2009-10-24 Thread Kai Tetzlaff
Carsten Dominik wrote:
 Hi Kai,
 
 
 On Oct 23, 2009, at 9:01 AM, Kai Tetzlaff wrote:
 
 Hi,

 i noticed that when using the org-mode clock persistence, the stored
 clock data gets deleted when i start emacs and exit again without
 turning on org-mode in between.

 When looking at org-clock-persistence-insinuate it looks like org-clock
 load will only run after org-mode gets started whereas org-clock-save
 will always be called when exiting emacs:

 (defun org-clock-persistence-insinuate ()
  Set up hooks for clock persistence
  (add-hook 'org-mode-hook 'org-clock-load)
  (add-hook 'kill-emacs-hook 'org-clock-save))

 Not running org-mode-hook (i.e. not starting org-mode) thus does not
 load clock data but org-clock-save overwrites any prviously saved data
 when exiting emacs.

 An easy fix for that would be to just add org-clock-load to e.g.
 emacs-startup-hook. But this will only work if the code in
 org-clock-load does not depend on any org-mode initialization code (or
 would require loading org-mode).

 So org-clock-save should probably check if org-clock-load has been
 running during the current emacs session (or if clock persistence was
 just enabled) and only then save clock data when exiting emacs. I tried
 to add this to the code in org-clock-save:

 diff --git a/lisp/org-clock.el b/lisp/org-clock.el
 index c7ebbf8..c0fe4e6 100644
 --- a/lisp/org-clock.el
 +++ b/lisp/org-clock.el
 @@ -1803,7 +1803,8 @@ This function is made for clock tables.
   Persist various clock-related data to disk.
 The details of what will be saved are regulated by the variable
 `org-clock-persist'.
 -  (when org-clock-persist
 +  (when (and org-clock-persist
 + (or org-clock-loaded (not (file-exists-p
 org-clock-persist-file
 (let (b)
   (with-current-buffer (find-file (expand-file-name
 org-clock-persist-file))
 (progn


 /Kai

 diff --git a/lisp/org-clock.el b/lisp/org-clock.el
 index c7ebbf8..c0fe4e6 100644
 --- a/lisp/org-clock.el
 +++ b/lisp/org-clock.el
 @@ -1803,7 +1803,8 @@ This function is made for clock tables.
   Persist various clock-related data to disk.
 The details of what will be saved are regulated by the variable
 `org-clock-persist'.
 -  (when org-clock-persist
 +  (when (and org-clock-persist
 + (or org-clock-loaded (not (file-exists-p
 org-clock-persist-file
 (let (b)
   (with-current-buffer (find-file (expand-file-name
 org-clock-persist-file))
 (progn
 
 
 I see you point, but I am not convinced that you fix is the right one. 
 What one really wants to do is save the clock and history if and only if
 the clock has been used in the current session.  So I guess it is better
 to create a special variable org-clock-used-in-this-session which then
 will be set to t each time clock-in starts a clock somewhere.  I believe
 this would be a better insurance policy.
You're right - this would be even better.

 Would you like to try your hand at a patch in this spirit?

I've just started to play with emacs lisp. But this sounds like
something not too difficult. So thanks for the offer :-), i'm going to
give it a try ...

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



___
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] [PATCH] Avoid losing persisted clock data when exiting emac without loading org-mode

2009-10-24 Thread Kai Tetzlaff
Carsten Dominik wrote:
 Hi Kai,
 
 
 On Oct 23, 2009, at 9:01 AM, Kai Tetzlaff wrote:
 
 Hi,

 i noticed that when using the org-mode clock persistence, the stored
 clock data gets deleted when i start emacs and exit again without
 turning on org-mode in between.

 When looking at org-clock-persistence-insinuate it looks like org-clock
 load will only run after org-mode gets started whereas org-clock-save
 will always be called when exiting emacs:

 (defun org-clock-persistence-insinuate ()
  Set up hooks for clock persistence
  (add-hook 'org-mode-hook 'org-clock-load)
  (add-hook 'kill-emacs-hook 'org-clock-save))

 Not running org-mode-hook (i.e. not starting org-mode) thus does not
 load clock data but org-clock-save overwrites any prviously saved data
 when exiting emacs.

 An easy fix for that would be to just add org-clock-load to e.g.
 emacs-startup-hook. But this will only work if the code in
 org-clock-load does not depend on any org-mode initialization code (or
 would require loading org-mode).

 So org-clock-save should probably check if org-clock-load has been
 running during the current emacs session (or if clock persistence was
 just enabled) and only then save clock data when exiting emacs. I tried
 to add this to the code in org-clock-save:

 diff --git a/lisp/org-clock.el b/lisp/org-clock.el
 index c7ebbf8..c0fe4e6 100644
 --- a/lisp/org-clock.el
 +++ b/lisp/org-clock.el
 @@ -1803,7 +1803,8 @@ This function is made for clock tables.
   Persist various clock-related data to disk.
 The details of what will be saved are regulated by the variable
 `org-clock-persist'.
 -  (when org-clock-persist
 +  (when (and org-clock-persist
 + (or org-clock-loaded (not (file-exists-p
 org-clock-persist-file
 (let (b)
   (with-current-buffer (find-file (expand-file-name
 org-clock-persist-file))
 (progn


 /Kai

 
 I see you point, but I am not convinced that you fix is the right one. 
 What one really wants to do is save the clock and history if and only if
 the clock has been used in the current session.  So I guess it is better
 to create a special variable org-clock-used-in-this-session which then
 will be set to t each time clock-in starts a clock somewhere.  I believe
 this would be a better insurance policy.

 Would you like to try your hand at a patch in this spirit?

Ok, i've attached a new path which uses the suggested approach. I wasn't
exactly sure about where to set org-clock-used-in-this-session to t.
It's now done right at the end of org-clock-in, just before running
hooks in org-clock-in-hook.

I've done a couple of (simple) tests and it works fine for me.

/Kai

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


diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index b1041e2..467ffc4 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -244,6 +244,7 @@ to add an effort property.)
 (defvar org-clock-heading )
 (defvar org-clock-heading-for-remember )
 (defvar org-clock-start-time )
+(defvar org-clock-used-in-this-session nil)
 
 (defvar org-clock-left-over-time nil
   If non-nil, user cancelled a clock; this is when leftover time started.)
@@ -953,6 +954,7 @@ the clocking selection, associated with the letter `d'.
(setq org-clock-idle-timer
  (run-with-timer 60 60 'org-resolve-clocks-if-idle))
(message Clock starts at %s - %s ts msg-extra)
+(setq org-clock-used-in-this-session t)
(run-hooks 'org-clock-in-hook)))
 
 (defun org-clock-mark-default-task ()
@@ -1824,7 +1826,7 @@ This function is made for clock tables.
   Persist various clock-related data to disk.
 The details of what will be saved are regulated by the variable
 `org-clock-persist'.
-  (when org-clock-persist
+  (when (and org-clock-persist org-clock-used-in-this-session)
 (let (b)
   (with-current-buffer (find-file (expand-file-name 
org-clock-persist-file))
(progn
___
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] Removal of org-R from contrib

2009-10-24 Thread Dan Davison
Org-R will soon be removed from the contrib directory. It is available
from my website (code[1] and tutorial[2]), and of course remains in the
history of the org mode git repository. However, I'd encourage anyone
interested to use org-babel[3] to run R code in org-mode documents. I
won't be maintaining it any more so, for the record, the final version
is 0.06 2009-04-15.

Dan

Footnotes:

[1] http://www.stats.ox.ac.uk/~davison/software/org-R/org-R.el

[2] http://www.stats.ox.ac.uk/~davison/software/org-R/worg/org-R.html

[3] http://orgmode.org/worg/org-contrib/babel/org-babel.php


___
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] directory tree size browsing with column view

2009-10-24 Thread James TD Smith
Hi Michael,

On 2009-10-24 16:51:17(+0100), James TD Smith wrote:
 On 2009-10-24 15:45:32(+0200), Michael Brand wrote:
  I would like to use the column view for browsing a hierarchical tree with a
  summed up property like e. g. the directory sizes (inclusive cluster waste 
  and
  subdirectories from `du -sk`) of a directory tree. Just similar (only
  unsorted) to the upper left pane of this GUI screenshot of WinDirStat here
  http://windirstat.info/images/windirstat.jpg

[snip]

  What do you think?
 
 Have you looked at org-fstree? http://repo.or.cz/w/org-fstree.git
 
 It generates an org tree for the contents of a directory. It doesn't have an
 option to include the size or other file attributes as properties as the 
 moment,
 but I don't think this would be hard to add. Andreas and I have been working 
 on
 it quite a lot over the last week, I'll see if I can add an option which would
 do what you want.

OK, I have added support for including file attributes as properties to
org-fstree. You will need to use the merge_jtd_smiths_patch branch.

Once you have loaded org-fstree put the following in an orgfile and fill in the
directory name.

--8---cut here---start-8---
* Disk usage
  :PROPERTIES:
  :COLUMNS: %80ITEM %size{+}
  :END:
#+BEGIN: fstree :dir dir name :file-attributes (size)
#+END:
--8---cut here---end---8---

Hit C-c C-c on the #+BEGIN line to fill in the file details. 

James

--
|-James TD Smith-email/ahktenz...@mohorovi.cc-|


___
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] Setting org-remember-store-without-prompt specifically for certain templates?

2009-10-24 Thread Ryan C. Thompson

Carsten Dominik wrote:


All you need to do is *not* to specify file and headline for this
template - then you will be prompted.
If I don't specify a file and headline, won't the note just be stored 
under org-default-notes file and org-remember-default-headline? Or even 
remember-data-file?



___
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] getting Firefox tabs into org on a mac

2009-10-24 Thread Andreas Burtzlaff
Hi Samuel,

thanks for taking the time to report your findings and ideas.

On Fri, 23 Oct 2009 11:31:32 -0700
Samuel Wales samolog...@gmail.com wrote:

 Hi Andreas,
 
 On Tue, Oct 20, 2009 at 01:12, Andreas Burtzlaff and...@gmx.net wrote:
  I will add an entry to the tab context menu tonight to do this in one
  step.
 
 Thanks, kind of you.
 
  Concerning syncing I'm not sure I get your plan entirely. Is the main
  purpose of it to synchronize the tabs between different browsers?
 
 Yes, that would be nice.  Also, you don't want to save a
 duplicate of the same tab.

So this is a special case of having a list/tree of bookmarks
sychronized between Org, Firefox and other browsers.
It needs communication from Emacs to the browser plugin, which I had
working once. I'll try to revive that code when I get time.

 It might be useful to have more than one remember template:
 one for saving all tabs and one for saving one tab.

In the updated documentation take a look at the option
List of characters specifying available remember templates.

 Another
 idea is to have a button on the status line that you can
 left click on to remember one tab.

Ok, that would save one click at the expense of the
status bar's cleaness. Would the middle mouse button do?

 
 Apparent bugs and suggestions follow.  (Others not
 developing Fireforg need not read.)
 
 ===
 
 There was a setting that I didn't understand having to do
 with using DOI.  Perhaps how this works can be explained.
 Does it use the net?  You might want to mention that it
 stands for digital object identifier.

It searches for a Digital Object Identifier in the hmtl code of the
site shown. If Prefetch links to extract is enabled, it does so also
for all links in a website after it is loaded.
I've updated the documentation.

 I had to change head -1 to head -n 1 in the pull script to
 fix an error in head.  head is /sw/bin/head, perhaps from
 some fink or macports package.

That's fixed, thanks.

 Perhaps the error messages in emacs and ff can explain what
 you need to do to fix them.  Also, perhaps common
 non-working states can be checked for.  That would make it
 easier.
 
 I used your suggested template:
 
   (fireforg ?w  * %:description \n %:link %!)
 
 Sometimes, nothing happens.  Other times, emacs opens a
 buffer that is blank.  It expects you to do c-x # to finish
 the buffer.  Currently nothing is happening, so I can't
 describe that one more fully.
 
 At one point I got this error message.
 
   error in process filter: Setting current directory: no such
   file or directory,
   /Users/.../fireforg/org-protocol:/remember:/http%3A%2F%2F...

That all is a symptom of org-protocol not having been initialized.

 It might be nice to document whether any of the options will
 slow Firefox or Emacs down.  (Even if none of them do.)

Yes, done that.

 I noticed that the Read It Later extension no longer has a
 button.  Might be a coincidence.

I can't reproduce this with either order of installation. If this
persists could you please check whether there are any errors in
Tools-Error console concerning either of the plugins?

 Perhaps giving git instructions would make it easier to dl
 the .sh, .xpi, and .el all at once.  git clone
 http://repo.or.cz/w/org-fireforg.git; did not work.
 (Something about corruption; I don't have the output now.)

git clone http://repo.or.cz/r/org-fireforg.git

The directory w shows the website for the project.

 -- Andreas

 That is all the bug reporting I can do.  I will have to stop
 trying to get Fireforg to work.  I cannot make further
 attempts as debugging requires far too much physical use of
 keyboard and mouse.
 
 Thanks.
 
 
 On Tue, Oct 20, 2009 at 17:00, Andreas Burtzlaff and...@gmx.net wrote:
  On Tue, 20 Oct 2009 10:12:42 +0200
  Andreas Burtzlaff and...@gmx.net wrote:
 
  On Mon, 19 Oct 2009 20:40:54 -0700
  Samuel Wales samolog...@gmail.com wrote:
 
   I have a huge number of Firefox tabs that I want to get into
   org.  Figuring out how has gotten complicated, despite good
   documentation out there.
  
   I want simply title and url for each tab.
  
   Maybe like this:
  
     * Firefox tabs
       * Public Git Hosting - Worg.git/summary
     http://repo.or.cz/w/Worg.git
       * Google Search
     http://www.google.com
  
   Would be nice to get fancier by allowing annotations (for
   use by fireforg?).  And allowing syncing back and forth.
   But first, I just want to get started.
  
   I envision two ways of doing this.  Maybe there are more.
  
     1) Have emacs or a script convert one of the folders in
        the bookmark file to an org outline as above.
     2) Have org-mac-protocol set up for individual tabs to be
        clicked to get them remembered.
  
   If I do (2), then I'd want it to be easy.  That is, without
   having to switch from mouse to keyboard.  But does (2) work
   on a Mac?  Last I heard, org-mac-protocol works for Safari,
   but not Firefox.
 
  Fireforg has a workaround for Macs:
  

Re: [Orgmode] getting Firefox tabs into org on a mac

2009-10-24 Thread Andreas Burtzlaff
On Fri, 23 Oct 2009 12:56:15 -0700
Samuel Wales samolog...@gmail.com wrote:

 Minor correction and new error messages.
 
 The process filter error message was probably due to not running the
 fireforg things in .emacs.  I had commented them out because they take
 several minutes to load the links in org-agenda-files, and when I
 restarted emacs to try to get fireforg to work, they didn't get run. 

Generating and looking up the registry doesn't scale well. With a huge
amount of links in the agenda files a proper database like sqlite would
be needed instead of generating a huge xml file that needs to be parsed
all the while. If I get time I might try that.

 Here are new error messages.
 
 error in process filter: org-protocol-unhex-compound: Invalid
 character: 8211, #o20023, #x2013
 error in process filter: Invalid character: 8211, #o20023, #x2013

Using only the org-protocol bookmarks I get the same error with Emacs 22
but not with Emacs 23, when trying to remember the URL:
http://orgmode.org/worg/org-contrib/org-protocol.php

A full backtrace is attached.
8211 seems to be the ndash in the title.

What Emacs version are you using?

Sebastian, any idea?

 -- Andreas


Debugger entered--Lisp error: (error Invalid character: 8211, #o20023,
#x2013) char-to-string(8211)
  (concat ret (char-to-string sum))
  (setq ret (concat ret (char-to-string sum)))
  (progn (setq ret (concat ret ...)) (setq sum 0))
  (if (= 0 eat) (progn (setq ret ...) (setq sum 0)))
  (when (= 0 eat) (setq ret (concat ret ...)) (setq sum 0))
  (let* ((b ...) (a ...) (b ...) (c1 ...) (c2 ...) (val ...)
(shift ...) (xor ...)) (if (= val 192) (setq eat shift)) (setq val
(logxor val xor)) (setq sum (+ ... val)) (if ( eat 0) (setq eat ...))
(when (= 0 eat) (setq ret ...) (setq sum 0))) (while bytes (let*
(... ... ... ... ... ... ... ...) (if ... ...) (setq val ...) (setq
sum ...) (if ... ...) (when ... ... ...))) (let* ((bytes ...) (ret )
(eat 0) (sum 0)) (while bytes (let* ... ... ... ... ... ...)) ret)
org-protocol-unhex-compound(%20%E2%80%93%20) (let* ((start ...)
(end ...) (hex ...) (replacement ...)) (setq tmp (concat tmp ...
replacement)) (setq str (substring str end))) (while (string-match \\(%
[0-9a-f][0-9a-f]\\)+ str) (let* (... ... ... ...) (setq tmp ...) (setq
str ...))) (let ((tmp ) (case-fold-search t)) (while (string-match \
\(%[0-9a-f][0-9a-f]\\)+ str) (let* ... ... ...)) (setq tmp (concat tmp
str)) tmp) org-protocol-unhex-string(org-protocol.el%20%E2%80%93%
20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%
20actions) mapcar(org-protocol-unhex-string (http%3A%2F%2Forgmode.org%
2Fworg%2Forg-contrib%2Forg-protocol.php org-protocol.el%20%E2%80%93%
20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%
20actions )) (if (fboundp unhexify) (mapcar unhexify split-parts)
(mapcar (quote org-protocol-unhex-string) split-parts)) (if unhexify
(if (fboundp unhexify) (mapcar unhexify split-parts) (mapcar ...
split-parts)) split-parts) (let* ((sep ...) (split-parts ...)) (if
unhexify (if ... ... ...) split-parts)) org-protocol-split-data(http%3A
%2F%2Forgmode.org%2Fworg%2Forg-contrib%
2Forg-protocol.php/org-protocol.el%20%E2%80%93%20Intercept%20calls%
20from%20emacsclient%20to%20trigger%20custom%20actions/ t) (let*
((parts ...) (template ...) (url ...) (type ...) (title ...)
(region ...) (orglink ...) remember-annotation-functions) (setq
org-stored-links (cons ... org-stored-links)) (kill-new orglink)
(org-store-link-props :type type :link url :description title :initial
region) (raise-frame) (org-remember nil (string-to-char template))) (if
(and (boundp ...) (fboundp ...)) (let* (... ... ... ... ... ... ...
remember-annotation-functions) (setq org-stored-links ...) (kill-new
orglink) (org-store-link-props :type type :link url :description
title :initial region) (raise-frame) (org-remember nil ...)) (message
Org-mode not loaded.)) org-protocol-remember(http%3A%2F%2Forgmode.org
%2Fworg%2Forg-contrib%2Forg-protocol.php/org-protocol.el%20%E2%80%93%
20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%
20actions/) funcall(org-protocol-remember http%3A%2F%2Forgmode.org%
2Fworg%2Forg-contrib%2Forg-protocol.php/org-protocol.el%20%E2%80%93%
20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%
20actions/) (throw (quote fname) (funcall func result)) (if greedy nil
(throw (quote fname) (funcall func result))) (unless greedy (throw
(quote fname) (funcall func result))) (progn (unless greedy
(throw ... ...)) (funcall func result) (throw (quote fname) t)) (if
(fboundp func) (progn (unless greedy ...) (funcall func result)
(throw ... t))) (when (fboundp func) (unless greedy (throw ... ...))
(funcall func result) (throw (quote fname) t)) (let* ((func ...)
(greedy ...) (splitted ...) (result ...)) (when
(plist-get ... :kill-client) (message Greedy org-protocol handler.
Killing client.) (server-edit)) (when (fboundp func) (unless
greedy ...) (funcall func result) (throw ... t))) (progn (let*
(... ... ... ...) 

Re: [Orgmode] Re: How to Strip TODO headword and refile as a note

2009-10-24 Thread Chris Leyon
On Sat, Oct 24, 2009 at 08:49, Matt Lundin m...@imapmail.org wrote:
 it out of my agenda and todo file, I also want to file a note about the
 issues, and what I learned about them.

 I'm quite not sure I understand what you're asking, but wouldn't it be
 simplest to mark the item as DONE? Inactive todos do not appear in the
 agenda.

 Then you could either add a note to the item with C-c C-z or simply jump
 to the location of the complete item and add a new sibling with notes
 and/or a new TODO.

 But perhaps you're trying to accomplish something different...

 Best,
 Matt

One way to do this is to have DONE items automatically prompt for a
note.  You enter your text into a buffer and press C-c C-c to finish
the process.  It is very much like `remember'.  If you don't want a
note at all, press C-c C-k instead.  Do this by setting your
`org-todo-keywords' so that the DONE state is defined as DONE(d@).
See section 5.3.2 of the manual Tracking TODO state changes.


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


Re: [Orgmode] Re: contact management in org-mode?

2009-10-24 Thread Russell Adams
  Lindsay package.  Or is BBDB so wonderful that I should just use
  Lindsay that instead?
 
  I use both and I really recommend BBDB. I've never used the link between
  bbdb and org-mode, so I cannot comment on that. But they're two great
  packages on their own merits.
  Bets regards,
 
 I use both.  bbdb works great as a contact manager.  I link to entries
 in bbdb in my org-mode files for phone calls etc.
 
 -Bernt

I reverse my recommendation regarding BBDB. 

/rant on

I'm migrating out of it as fast as I can. The import/export tools are
terrible / nonexistant unless you know elisp, and good luck with
resolving contacts from multiple sources.

I don't use GNUS or any of the other features of BBDB aside from rare
org-links and mutt lbdb integration for address lookup.

I have wasted hours at this point trying to export data from BBDB so I
can use it to rebuild my contacts on my new phone (G1). Imagine
hacking the data back out of BBDB's funky format so I can have it in
CSV. There's absolutely no way for me to sync between sources without
fast import/export.

At this point the forerunner is abook, not just because its format is
simple and plain text, but because it integrates with lbdb and FULL
CSV import and export work properly out of the box. My only complaints
are its fixed database format which doesn't extend easily, and its not
inside emacs.

Given that an addressbook program is typically used as the most
basic example in learning how to code forms or databases, its sad to
see how badly the available options suck.

/rant off

I'll post if I find a better alternative. I welcome recommendations
while I try to centralize my contacts to CSV while I decide what to
put them in.

Thanks.


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