Re: [Orgmode] org-agenda-busy-at

2008-09-18 Thread Carsten Dominik

Hi Austin,

I am afraid this is too much overhead when creating dates.  Org has
some ways to eld scheduling something while you are at the agenda,
where you see the empty spots.

Check out the description of C-c c-x C-k in

http://orgmode.org/manual/Inserting-deadline_002fschedule.html#Inserting-deadline_002fschedule

HTH

- Carsten

On Sep 17, 2008, at 9:05 PM, Austin Frank wrote:


Carsten and other org-folk--

Any chance that it would be possible to query the agenda to see  
whether

anything is scheduled at a particular time?  The application I have in
mind is scheduling new events with remember templates.  If there's
already something in the agenda for the timestamp I enter in a new
remember entry, I would love to be given the message There is already
an event scheduled at that time.  Really use this timestamp?

I could see a further extension of this, such that it allowed  
different

behavior for different kinds of time stamps.  Something like

(setq org-agenda-busy-warn
 '(active . t)
 '(scheduled . -1h +1h)
 '(deadline . +3d))

would warn you if you tried to add a new timestamp that occurred  
within

the range of an active timestamp; and would warn you if the new
timestamp were within plus or minus one hour of a timestamp with the
SCHEDULED property; and would also warn you if you tried to add a new
timestamp within three days of a deadline.

You tried to create a new event with timestamp 2008-10-31
20:00-21:30.   There is already an entry with timestamp 2008-10-31
20:30-12:00.  You have an event SCHEDULED at 2008-10-31 19:30.  You
have a DEADLINE on 2008-11-2.  Proceed/Edit timestamp/Cancel?

We could then use a function, org-agenda-busy-at, to check timestamps
included in new remember notes before they get filed.

I don't know whether this kind of information is easily retrievable  
from

the agenda, or whether it could be stored as the agenda is built.  Is
there someplace in the code that I should look to check into the
feasibility of this idea?  Is it just impossible?  Is it one of those
things where Carsten says a mystical incantation and it's done?

Thanks,
/au

--
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
___
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] Case-sensitivity in regular expressions and sparse trees for tags

2008-09-18 Thread Carsten Dominik

Hi Chris,

On Sep 17, 2008, at 9:38 PM, Chris Randle wrote:


Hi Gerrit

Forgive me if I've misunderstood regular expressions in Emacs or
Org-mode in some fundamental way!

I have some tags which begin CD followed by a number. For example

* Tagged Heading  :CD123:

When I ask for a sparse tree of all tags beginning with CD, I do

'C-c / T'

And ask for tags of

{^CD.*}

This doesn't return any of the tagged headlines, but this does:

{^cd.*}

Is this a bug, or my misunderstanding? Obviously this is no
show-stopper, I just make sure that all my regexp searches are in  
lower

case, but thought I'd check.


It may be a bug, and a misunderstanding.

1. I do downcase all tage before they are tested in the matcher.
2. This seems to indicate that I do want the matching to be case- 
insensitive.

3. I do set case-fold-search to nil, which seems to contradict (2)


For now, I recommend to write all regexps with lower case letters.  I  
need to try to remember why I did not set case-fold-search.


Thanks for the report.

- Carsten





--
Chris Randle
Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b



___
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] {Feature Request] Categories in icalendar export

2008-09-18 Thread Carsten Dominik

Hi Charles,

your requested behavior is now the default.  iCalendar export lists as  
categories all tags defined locally in the current line, and the file/ 
tree category.  If you want to include the TODO state or inherited  
tags as well, configure the variable `org-icalendar-categories'.


Hope this helps.

- Carsten

On Sep 3, 2008, at 8:40 AM, Charles philip Chan wrote:


Hello:

Is it possible to have the tags (minus the colons) as a comma  
separated

list for the Categories field in icalendar export? I usually have a
GTD context as the first tag. This will allow me to see them as  
separate

lists on my pilot.

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




___
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: TODO keyword has a org-warning face

2008-09-18 Thread Cezar Halmagean
Carsten Dominik [EMAIL PROTECTED] writes:

 And how about org-todo-keyword-faces?


((TODO . org-warning) (SOMEDAY :foreground pink :weight bold :underline 
nil) (WAITING :foreground orange :weight bold :underline nil))

I can see the problem there, dunno why it's there tho.


Cezar



___
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] DONE in Org-Agenda mode has org-todo face

2008-09-18 Thread Christoph Groth
Dear list,

Yesterday I discovered org-mode and I like it very much.  I'm using the version
which comes with Debian Testing (8.05).

When in Org-Agenda mode, the word `DONE' for DONE tasks has the same face
(org-todo) as the word TODO.  I find it a bit disturbing to see DONE written in
a bold red font.  This occurs also when no variables related to org are set in
my .emacs.

I tried to solve the problem by setting org-todo-keyword-faces to
`((DONE . org-done))'
This has the effect that upon entering the agenda mode with `M-x org-agenda a'
already existing DONE words are bold green (as I would like them to be).
However, when an task is switched from TODO to DONE by pressing `t' it stays
red.

thanks

Christoph



___
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: TODO keyword has a org-warning face

2008-09-18 Thread Cezar Halmagean
Carsten Dominik [EMAIL PROTECTED] writes:

 On Sep 18, 2008, at 7:46 PM, Cezar Halmagean wrote:

 Carsten Dominik [EMAIL PROTECTED] writes:

 And how about org-todo-keyword-faces?


 ((TODO . org-warning) (SOMEDAY :foreground pink :weight bold
 :underline nil) (WAITING :foreground orange :weight  bold
 :underline nil))

 Me neither, obviously.  You need to find where this variable is set:
 in your own customization, in site lisp files, or in org-faces.el.

 - Carsten

I had this in my custom faces:

 '(font-lock-warning-face ((t (:underline red

which was messing everything up.

Fixed now, thanks.

Cezar



___
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