[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Advice sought on managing decision alternatives.
From: |
Carsten Dominik |
Subject: |
[Orgmode] Re: Advice sought on managing decision alternatives. |
Date: |
Fri, 6 Feb 2009 14:08:47 +0100 |
Hi Tom,
I am now looking at org-decision and start to integrate it.
There is one point I'd like to discuss.
My preferred way to do the integration is opening a new hacking door
which will not require changes to org.el for other people doing
similar stuff.
So my idea would be to search for
"^#\\+\\(\\([a-zA-Z]+\\)_\\)?TODO"
when scanning the buffer, i.e. that any keyword could precede TODO in
such a line.
I would then like to call the filter hook, using that keyword as
interpretation.
WIth you patch, we have right now
CHOOSE as the prefix
choseness as the interpretation
org-decision as the name of the module.
My request would be to maybe use `choose' also as the
interpretation symbol, or, alternatively, CHOSENESS
as the prefix.
For customizing org-todo-keywords, instead of explicitly
offering `choseness', maybe we can use a symbol field
where people can type into.
That would turn your patch into a generally useful system
of hooks where other ideas could be implemented as well.
What do you think?
- Carsten
On Jan 31, 2009, at 5:21 AM, Tom Breton (Tehom) wrote:
Here is org-decisions. "All 68 tests ran successfully". I hope it is
satisfactory. If it's not, please let me know.
Please find attached:
* org-decisions.el
* diffs to org.el
* test-org-decisions.el.
* 6 example files in testing
A few notes:
****** Test files
I included 6 example files that I used in testing, and my test file
test-org-decisions.el.
test-org-decisions.el uses my tester rtest, which is unfortunately in
flux at the moment. Still, I felt it would be best to make it
publicly available.
****** Use of cl
I used cl in org-decisions.el. I hope that's not a problem, but if it
is I can rewrite the parts that use cl.
* pushnew
* position
* destructuring-bind
* defstruct
****** Use of allout
org-decisions.el and test-org-decisions.el use allout for structuring.
I removed the "mode: allout" line so that they can be read without
allout present.
Tom Breton (Tehom)
<org-decisions.el><org.el.diff><test-org-
decisions.el><simple.org><w-1-chosen.org><w-2-
types.org><nonautomatic.org><no-sibs.org><w-some-nils.org>
- Re: [Orgmode] Re: Advice sought on managing decision alternatives., James TD Smith, 2009/02/01
- [Orgmode] Re: Advice sought on managing decision alternatives.,
Carsten Dominik <=
- Re: [Orgmode] Re: Advice sought on managing decision alternatives., William Henney, 2009/02/06
- [Orgmode] Re: Advice sought on managing decision alternatives., Tom Breton (Tehom), 2009/02/06
- [Orgmode] Re: Advice sought on managing decision alternatives., Carsten Dominik, 2009/02/06
- [Orgmode] Re: Advice sought on managing decision alternatives., Tom Breton (Tehom), 2009/02/07
- [Orgmode] Re: Advice sought on managing decision alternatives., Carsten Dominik, 2009/02/08
- [Orgmode] Re: Advice sought on managing decision alternatives., Tom Breton (Tehom), 2009/02/08
- [Orgmode] Re: Advice sought on managing decision alternatives., Carsten Dominik, 2009/02/09
- [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/09
- [Orgmode] Re: Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/10
- [Orgmode] org-choose bugfix, Tom Breton (Tehom), 2009/02/23