RE: [Orgmode] bug in todo state change tracking?

2008-06-09 Thread Dominik, C.

Hi Brian,

I cannot reproduce this, works fine for me.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 6/2/2008 6:15 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] bug in todo state change tracking?
 

Hi Carsten and all,

I think I've found a small bug (6.04b on 22.1.1).

I've got
   (setq org-todo-keywords '((sequence "TODO(t@)" "STARTED(s@)"
"WAITING(w@)" "|" "DONE(d@)" "CANCELLED(c@)") (sequence
"SOMEDAY(m@)" "|" "NEVER(n@)")))
in my .emacs. However, I get only a time-stamp and not also the note  
entry buffer when turning a headline into a TODO (regardless of  
whether the headline already had a todo state).

Best,

Brian




___
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] archival mirroring source headline structure?

2008-06-09 Thread Dominik, C.
Hi Adam,

I agree that this would be nice, but I believe it is almost impossible
to make this stable.  Because the user is free to add to and change
the tree in the Org buffer, it is very easy to break this mechanism.
Also, the general case to puttin things into the correct place in the
archive is very complex.  This best and only way to keep the structure
of a tree in tact for the archive it to use in-place archiving (with
the ARCHIVE tag) or maybe the archive sibling.  And only move the
entire tree to an archive file when averything is done.

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Adam Spiers
Sent: Mon 6/2/2008 6:35 PM
To: org-mode mailing list
Subject: [Orgmode] archival mirroring source headline structure?
 
I just discovered `org-archive-save-context-info' - very nice!
especially the preservation of the outline path (olpath).  Though it
might be even nicer if archival could optionally auto-vivify outline
paths and archive sub-headings under them.  So if your source file
had:

* PROJECT foo
** NEXT bar

and you archived 'bar', it would check in the archive file whether
'foo' already exists, if not create it, and then archive bar under it.
So after incrementally archiving many sub-items to do with a single
project you would have all the sub-items gathered under that headline
in the archive file.  Is this doable now, and if not would it be hard
to support?

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-org
___
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] Allow 'prefix' to be set on the command line

2008-06-09 Thread Dominik, C.
Is this a syntax understood by all make programs?  Nice, 
I am taking the patch.  Thanks.

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Peter Jones
Sent: Tue 6/3/2008 3:34 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] [PATCH] Allow 'prefix' to be set on the command line
 
This patch allows you to:

  make install prefix=/some/path

Makes installing Org-mode in a non-standard path a bit easier.


___
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] export only the body (with out postamble) as html?

2008-06-09 Thread Manoj Srivastava
Hi,

I have started using org-mode to write my ikiwiki blog
 entries[0], and I have had to strip out the header and the footer from
 the generated HTML file (since ikiwiki already has complex templates to
 give my pages the correct look and feel).

Would it be possible to get a finction that just generates the
 body of the page, minus the header and the postamble (and perhaps
 without the  and  tags) for use in generating embedded
 HTML snippets from org pages?

thanks,

manoj

0:
 
http://www.golden-gryphon.com/blog/manoj/blog/2008/06/08/Using_org-mode_with_Ikiwiki/
 
-- 
gossip, n.: Hearing something you like about someone you don't. Earl
Wilson
Manoj Srivastava <[EMAIL PROTECTED]>   
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



___
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]new org-columns-nth-allowed-value function and keys

2008-06-09 Thread Dominik, C.
Hi Levin, this is an interesting patch, thank you very much.

I will not add the vi keys - maybe you would like to write that up as
a setup and add it to the FAQ in Worg?

Picking the nth allowed value I do like a lot, and I am putting that
in, at least for now.  I might change it at some point so that you
need to type `4 e' or something like this, if I ever think we need
direct prefix arguments for other functions as well.  For now, I am
using yur proposal.  Thanks.

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Levin Du
Sent: Tue 6/3/2008 10:40 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] [PATCH]new org-columns-nth-allowed-value function and keys
 
Hi list,

While editing with Org column view, I'd like some easy navigate and modify keys.
In the patch attached (against git version), I bind vi-style key
h,j,k,l to move around, and numeric key 1-9,0 to set the nth (actually
'1' is the first, and '0' is the last) allowed value.

I mock up this by copying org-columns-next-allowed-value and modifying a bit.
Hope it is useful.

-Levin

___
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] export only the body (with out postamble) as html?

2008-06-09 Thread Dominik, C.

Hi Manoj,

the function `org-export-region-as-html' can be called with a
body-only option, and can also return a string instead of creating a
buffer with the output.  You can write your own wrapper that writes
this strig to a file if that is what you need.

HTH.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of Manoj Srivastava
Sent: Mon 6/9/2008 8:52 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] export only the body (with out postamble) as html?
 
Hi,

I have started using org-mode to write my ikiwiki blog
 entries[0], and I have had to strip out the header and the footer from
 the generated HTML file (since ikiwiki already has complex templates to
 give my pages the correct look and feel).

Would it be possible to get a finction that just generates the
 body of the page, minus the header and the postamble (and perhaps
 without the  and  tags) for use in generating embedded
 HTML snippets from org pages?

thanks,

manoj

0:
 
http://www.golden-gryphon.com/blog/manoj/blog/2008/06/08/Using_org-mode_with_Ikiwiki/
 
-- 
gossip, n.: Hearing something you like about someone you don't. Earl
Wilson
Manoj Srivastava <[EMAIL PROTECTED]>   
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



___
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] archival mirroring source headline structure?

2008-06-09 Thread Adam Spiers
On Mon, Jun 09, 2008 at 09:01:22AM +0200, Dominik, C. wrote:
> Hi Adam,
> 
> I agree that this would be nice, but I believe it is almost impossible
> to make this stable.  Because the user is free to add to and change
> the tree in the Org buffer, it is very easy to break this mechanism.

If I understand you correctly, I don't actually view this as breakage.
If I have

* A
** B
** C

and I archive B, then rename A to D, then archive C, my archive file
becomes:

* A
** B
* D
** C

which is exactly what I want.  Likewise if I were to relocate A to a
different level rather than rename it.  Am I missing something?

I'll try `org-agenda-archive-to-archive-sibling' as suggested by
Manuel.  Incidentally I notice that this function appears to be
undocumented.

Thanks both!


___
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] bug in todo state change tracking?

2008-06-09 Thread Peter Rayner
I *think* I'm seeing the same thing:  My org-todo-keywords is set as:
(setq org-todo-keywords '((sequence "TODO(t!@)" "STARTED(s!@)"
"WAITING(w!@)" "DELEGATED(l!@)" "APPT(a!@)" "|" "DONE(d!@)"
"DEFERRED(e!@)" "CANCELLED(x!@)")))

and I have 
org-use-fast-todo-selection set to t
In the agenda view when I type tw the state is changed to waiting
without prompting for a note.  Probably I am overriding this behaviour
erroneously with  some other setting but I'm not sure where.
This is with org-mode version 5.23
thanks for any help
Peter
Previous message:
--

Hi Brian,
I cannot reproduce this, works fine for me.
- Carsten
-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 6/2/2008 6:15 AM
To: [EMAIL PROTECTED]
Subject: [Orgmode] bug in todo state change tracking?
Hi Carsten and all,
I think I've found a small bug (6.04b on 22.1.1).
I've got
(setq org-todo-keywords '((sequence "TODO(t@)" "STARTED(s@)"
"WAITING(w@)" "|" "DONE(d@)" "CANCELLED(c@)") (sequence
"SOMEDAY(m@)" "|" "NEVER(n@)")))
in my .emacs. However, I get only a time-stamp and not also the note
entry buffer when turning a headline into a TODO (regardless of
whether the headline already had a todo state).
Best,
Brian



-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 
69 08 77 16
mail-to: [EMAIL PROTECTED]
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html


___
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] Allow 'prefix' to be set on the command line

2008-06-09 Thread Eddward DeVilla
I'm not sure if I read the diff right.  It replaces the equal sign
'=' with '?=' right?  I don't see that in the description of posix
make.  (http://www.opengroup.org/onlinepubs/009695399/utilities/make.html)

Also, if you look at section "Macros" for the phrase, "Macro
definitions shall be taken from the following sources", it kinda looks
like defining prefix (or any make macro) on the command line ought to
replace the definition in the makefile anyhow.  I'm pretty sure I've
used this before with gnu-make.  I think I've done it with the make on
freebsd (pmake?) and on aix.  Maybe this is broken on some
implementations?

Edd

On Mon, Jun 9, 2008 at 2:09 AM, Dominik, C. <[EMAIL PROTECTED]> wrote:
> Is this a syntax understood by all make programs?  Nice,
> I am taking the patch.  Thanks.
>
> - Carsten
>
>
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of
> Peter Jones
> Sent: Tue 6/3/2008 3:34 AM
> To: emacs-orgmode@gnu.org
> Subject: [Orgmode] [PATCH] Allow 'prefix' to be set on the command line
>
> This patch allows you to:
>
>   make install prefix=/some/path
>
> Makes installing Org-mode in a non-standard path a bit easier.
>
>
>
> ___
> 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


[Orgmode] Bug: HTML Export Hangs in 6.04c

2008-06-09 Thread Adr3nal D0S
This one seems to be fairly easy to reproduce.  But I had trouble
narrowing it down due to the size of the file I was using.

I had a #+BEGIN_EXAMPLE line with no #+END_EXAMPLE line and did a C-c
C-e h to export the file as HTML, Emacs hangs until I C-g.  I did not
test all export modes, but it also occurs with C-c C-e a.

#+BEGIN_EXAMPLE
Hang the export.

* TODO Stuff


___
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] Bug: HTML Export Hangs in 6.04c

2008-06-09 Thread Dominik, C.

Fixed, thanks.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of Adr3nal D0S
Sent: Mon 6/9/2008 4:57 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Bug: HTML Export Hangs in 6.04c
 
This one seems to be fairly easy to reproduce.  But I had trouble
narrowing it down due to the size of the file I was using.

I had a #+BEGIN_EXAMPLE line with no #+END_EXAMPLE line and did a C-c
C-e h to export the file as HTML, Emacs hangs until I C-g.  I did not
test all export modes, but it also occurs with C-c C-e a.

#+BEGIN_EXAMPLE
Hang the export.

* TODO Stuff


___
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


[Orgmode] Re: Allow 'prefix' to be set on the command line

2008-06-09 Thread Peter Jones
"Dominik, C." <[EMAIL PROTECTED]> writes:
> Is this a syntax understood by all make programs?  Nice, 
> I am taking the patch.  Thanks.

It works with BSD Make, and GNU Make, I can't speak for Microsoft's
version of Make (nmake), but I don't believe it works there.

It's not POSIX, but I'm not sure if there are any operating systems
that are using a plain POSIX make.  Someone want to enlighten me?

-- 
Peter Jones, pmade inc.
http://pmade.com


___
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] org-return-follows-link and the TTY

2008-06-09 Thread Phil Jackson
Hi Carsten/All,

I'm a --without-x user and set org-return-follows-link. When I hit enter
on a link it simply inserts \n.

If I apply this patch:

diff --git a/generic/.elisp/org/lisp/org.el b/generic/.elisp/org/lisp/org.el
index 878482d..4c8adb2 100644
--- a/generic/.elisp/org/lisp/org.el
+++ b/generic/.elisp/org/lisp/org.el
@@ -3278,7 +3278,6 @@ The following commands are available:
   (org-defkey org-mouse-map [(tab)] 'org-open-at-point)
   (org-defkey org-mouse-map "\C-i" 'org-open-at-point))
 (when org-return-follows-link
-  (org-defkey org-mouse-map [(return)] 'org-open-at-point)
   (org-defkey org-mouse-map "\C-m" 'org-open-at-point))
 
 (require 'font-lock)

All becomes well again. Does org-return-follows-link work with this
patch applied against an X11/w32 linked emacs?

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk
___
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-return-follows-link and the TTY

2008-06-09 Thread Dominik, C.

That s very strange, it works for me without problems.

Can anyone else reproduce this problem?

Thanks.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of Phil Jackson
Sent: Mon 6/9/2008 10:23 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] org-return-follows-link and the TTY
 
Hi Carsten/All,

I'm a --without-x user and set org-return-follows-link. When I hit enter
on a link it simply inserts \n.

If I apply this patch:


___
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] bug in todo state change tracking?

2008-06-09 Thread Dominik, C.
Hi Peter,

this is different, your setting is incorrect.  You need to remove all the "!", 
because it is either "!" or "@".

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Peter Rayner
Sent: Mon 6/9/2008 2:51 PM
To: Emacs-orgmode@gnu.org
Subject: RE: [Orgmode] bug in todo state change tracking?
 
I *think* I'm seeing the same thing:  My org-todo-keywords is set as:
(setq org-todo-keywords '((sequence "TODO(t!@)" "STARTED(s!@)"
"WAITING(w!@)" "DELEGATED(l!@)" "APPT(a!@)" "|" "DONE(d!@)"
"DEFERRED(e!@)" "CANCELLED(x!@)")))

and I have 
org-use-fast-todo-selection set to t
In the agenda view when I type tw the state is changed to waiting
without prompting for a note.  Probably I am overriding this behaviour
erroneously with  some other setting but I'm not sure where.
This is with org-mode version 5.23
thanks for any help
Peter
Previous message:
--

Hi Brian,
I cannot reproduce this, works fine for me.
- Carsten
-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 6/2/2008 6:15 AM
To: [EMAIL PROTECTED]
Subject: [Orgmode] bug in todo state change tracking?
Hi Carsten and all,
I think I've found a small bug (6.04b on 22.1.1).
I've got
(setq org-todo-keywords '((sequence "TODO(t@)" "STARTED(s@)"
"WAITING(w@)" "|" "DONE(d@)" "CANCELLED(c@)") (sequence
"SOMEDAY(m@)" "|" "NEVER(n@)")))
in my .emacs. However, I get only a time-stamp and not also the note
entry buffer when turning a headline into a TODO (regardless of
whether the headline already had a todo state).
Best,
Brian



-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 
69 08 77 16
mail-to: [EMAIL PROTECTED]
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html


___
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] archival mirroring source headline structure?

2008-06-09 Thread Dominik, C.
Hi Adam, I mean more complex possibilities, like

* A
** B
*** C
*** D

Archive C, do more work, then archive A.  The possibilities are endless, it 
seems to me.

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Adam Spiers
Sent: Mon 6/9/2008 1:52 PM
To: org-mode mailing list
Subject: Re: [Orgmode] archival mirroring source headline structure?
 
On Mon, Jun 09, 2008 at 09:01:22AM +0200, Dominik, C. wrote:
> Hi Adam,
> 
> I agree that this would be nice, but I believe it is almost impossible
> to make this stable.  Because the user is free to add to and change
> the tree in the Org buffer, it is very easy to break this mechanism.

If I understand you correctly, I don't actually view this as breakage.
If I have

* A
** B
** C

and I archive B, then rename A to D, then archive C, my archive file
becomes:

* A
** B
* D
** C

which is exactly what I want.  Likewise if I were to relocate A to a
different level rather than rename it.  Am I missing something?

I'll try `org-agenda-archive-to-archive-sibling' as suggested by
Manuel.  Incidentally I notice that this function appears to be
undocumented.

Thanks both!


___
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] use non-alphabet ascii as todo keywords?

2008-06-09 Thread Dominik, C.

Unfortunately, Org relies on the fact that a TODO keyword ends at a word end 
that can be matched with the regular expression "\\>".  So you would have to 
make ">" and "-" into word
characters.  That can be done, but I fear it might break something else.  Worth 
a try, though.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of William Xu
Sent: Mon 6/9/2008 2:43 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] use non-alphabet ascii as todo keywords? 
 
Hi!

Can I use non-alphabet ascii as todo keywords? Like this: 

,
| (setq org-todo-keywords
|   '((sequence "-" ">" "o" "x")))
`

where each stands for: todo, doing, done, cancelled.  They seem much
easier to recognize than TODO, DOING, DONE, CANCELLED, etc.  

-- 
William

http://williamxu.net9.org

We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!




___
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] use non-alphabet ascii as todo keywords?

2008-06-09 Thread Dominik, C.
And here is how to do this:

(add-hook 'org-mode-hook
  (lambda ()
(modify-syntax-entry ?- "w" org-mode-syntax-table)
(modify-syntax-entry ?> "w" org-mode-syntax-table)))

Give it a try and report your experiences!  Might actually work well.

HTH

- Carsten



-Original Message-
From: [EMAIL PROTECTED] on behalf of Dominik, C.
Sent: Tue 6/10/2008 5:31 AM
To: William Xu; emacs-orgmode@gnu.org
Subject: RE: [Orgmode] use non-alphabet ascii as todo keywords? 
 

Unfortunately, Org relies on the fact that a TODO keyword ends at a word end 
that can be matched with the regular expression "\\>".  So you would have to 
make ">" and "-" into word
characters.  That can be done, but I fear it might break something else.  Worth 
a try, though.

- Carsten

-Original Message-
From: [EMAIL PROTECTED] on behalf of William Xu
Sent: Mon 6/9/2008 2:43 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] use non-alphabet ascii as todo keywords? 
 
Hi!

Can I use non-alphabet ascii as todo keywords? Like this: 

,
| (setq org-todo-keywords
|   '((sequence "-" ">" "o" "x")))
`

where each stands for: todo, doing, done, cancelled.  They seem much
easier to recognize than TODO, DOING, DONE, CANCELLED, etc.  

-- 
William

http://williamxu.net9.org

We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!




___
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


[Orgmode] Re: use non-alphabet ascii as todo keywords?

2008-06-09 Thread William Xu
"Dominik, C." <[EMAIL PROTECTED]> writes:

> And here is how to do this:
>
> (add-hook 'org-mode-hook
>   (lambda ()
> (modify-syntax-entry ?- "w" org-mode-syntax-table)
> (modify-syntax-entry ?> "w" org-mode-syntax-table)))
>
> Give it a try and report your experiences!  Might actually work well.

Yeah, works!

I've replaced all "TODO" in org-agenda-files with "-", now in
org-agenda, I can change item state from "-" to ">" as usual, etc.

Thanks!

-- 
William

http://williamxu.net9.org

A New Way of Taking Pills
A physician one night in Wisconsin being disturbed by a burglar, and
having no ball or shot for his pistol, noiselessly loaded the weapon with
small, hard pills, and gave the intruder a "prescription" which he thinks
will go far towards curing the rascal of a very bad ailment.
-- Nevada Morning Transcript, January 30, 1861



___
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: GFDL with cover texts

2008-06-09 Thread Dominik, C.



-Original Message-
From: [EMAIL PROTECTED] on behalf of Seb
Sent: Sun 6/8/2008 6:31 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Re: GFDL with cover texts
 
On 2008-06-06, Seb <[EMAIL PROTECTED]> wrote:
> On 2008-06-06, Seb <[EMAIL PROTECTED]> wrote:
>> Is there any way that the documentation could be dual-licensed under
>> the GPL too ?

I would be happy to dual-license the manual.  Does anyone know
what piece of text I would have to put there?  Does anyone know
if the GFDL prohbits me, the author, to add GPL as a second free
license?  I sure hope not.


>
> or that the "Front-Cover provision" be removed altogether :)

To be honest, I have absolutely no clue what it means, and it was not my 
intention to restrict use of the manual in any way when I put it under the 
GFDL.  Back then I must have thought that this simply it the proper thing to 
use for documentation.

- Carsten


while awaiting an answer on this, I think I will package org-mode
without its documentation, and take it from there...

Cheers,

--Seb




___
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] Remember in Agenda buffers

2008-06-09 Thread Dominik, C.
Hi Manuel,

yes, you can get the info from text properties.

A second question would be on how to get it into the template.
I can see two options here:

1. Create a new % escape
2. Use the date as the default date for the %^t and %^T escapes.  This
would then offer to select the date with RET, but it would still allo
to change it or to add a time specification.

I can see merrits for both options.  Opinions?

- Carsten


-Original Message-
From: [EMAIL PROTECTED] on behalf of Manuel Hermenegildo
Sent: Mon 6/9/2008 6:05 AM
To: Thomas Baumann; emacs-orgmode@gnu.org
Subject: Re: [Orgmode] Remember in Agenda buffers
 

 > If we can find a way to read date/time from the agenda view then I can
 > easily do this.

Actually, I found rereading Thomas Baumann's message I went back and
checked the code for org-agenda-diary-entry and I think everything
needed to get the date at point is there ((get-text-property (point)
'day) etc.) so I will give it a try. --Manuel

-- 
---
 Manuel Hermenegildo |  Prof., C.S. Department
 Director, IMDEA-Software and CLIP Group |T.U. of Madrid (UPM)
 http://www.cliplab.org/herme| +34-91-336-7435 (W) -352-4819 (Fax)
---



___
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