RE: [Orgmode] Customizing agenda printout

2008-01-23 Thread Egli Christian (KIRO 41)
Hi Norman

 Now to my question. I'm using emacs22.1 and I would like to change the
 way agenda is displayed. Instead of

 I would rather make it so that it is more readable when printed in BW
maybe

 Week-agenda:
 | Monday21 January 2008 |
 --
   Diary:  Martin Luther King Day

 | Tuesday   22 January 2008 |
 --

 Could someone point me in the right direction to do so? What file do I
 need to be editing? Section of file?

Have a look at org-agenda-list in org.el (type C-h f org-agenda-list).

HTH
Christian


___
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] displaying outline path in agenda

2008-01-23 Thread Egli Christian (KIRO 41)
Hi 

 One problem with this approach is that the agenda entry is not
 especially informative-- simply Week 1.  I'd like to edit the
function
 that generates the agenda entries from active timestamps to include
the
 option of using new outline path notation.  In this case, the agenda
 would read Standing Appointments/Swing III/Week 1.

 I've already identified org-get-outline-path and
org-format-agenda-line
 as functions that might be relevant, but it seems to me that
 org-format-agenda-line comes in to late in the process.  What I really
 want is to replace use the outline path as the txt argument to
 org-format-agenda-line.  Can anyone point me towards the part of the
 org.el source I should be looking at for adding this functionality?

I think you have have to fiddle with all of the functions that are
called from org-agenda-get-day-entries, i.e. 
org-agenda-get-todos, org-agenda-get-timestamps, org-agenda-get-blocks,
org-agenda-get-sexps, org-agenda-get-scheduled, 
org-agenda-get-deadlines.

Try if you can get it to work with one (I guess org-agenda-get-scheduled
for your case) and see if changes are needed in the others.

HTH
Christian


___
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: Getting org-agenda-sorting-strategy to work

2008-01-08 Thread Egli Christian (KIRO 41)
I have a patch that implements this for v5.17. Carsten is willing to
accept it but I'm waiting on the layers to sign the copyright
disclaimer. 

Bastien writes:

  I'm looking for a way to *sort* (not extract, which I'm already
doing
  with the / feature) by the keywords.

 Sorry for misunderstanding this.  To my knowledge, sorting by to-do
 keyword is currently not available, but as you say, this shouldn't be
 hard to implement.


___
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] Moon phases in Agenda buffer?

2008-01-03 Thread Egli Christian (KIRO 41)
This line in my diary file seems to do the trick

%%(diary-phases-of-moon) 

I assume you have set org-agenda-include-diary to true

HTH
Christian 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Renzo Been :-)
Sent: Wednesday, January 02, 2008 5:24 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Moon phases in Agenda buffer?

Hi all,

First, I wish everybody on the list a fine new year.

I have a question about the Agenda view. Is it possible to show the
phases of the moon in the agenda view? In a similar way as it can show
the Diary entries? Would this require a lot of programming, or can it be
done via an agenda view setting?

I'm a real fan of the moon you see...

Ciao,
Renzo



___
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] Re: Completely OT to: Egli Christian

2007-11-22 Thread Egli Christian (KIRO 41)
 
Sivaram Neelakantan writes:

 William Case [EMAIL PROTECTED] writes:

  What composer are you using?  What font?  Did you do anything in
  particular to get the bullet points and the narrower widths (right
  margin).

 I'll hazard a guess and put it down to outline-mode along with
 auto-fill mode?

 Now, I'm curious too.

Hm, I answered to Bill off-list since I didn't think this was all that
interesting.  

At first I thought he was joking, because the layout was purely
accidential.

I'm stuck in a windows environment here at work, so I send my stuff with
Outlook. I just composed the text in an emacs buffer (with org-mode of
course), exported it to ascii and cut and pasted this export into
Outlook.

Font is probably Arial

HTH
Christian


___
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] [Patch] Sort agenda items by todo-state

2007-11-21 Thread Egli Christian (KIRO 41)

* Introduction
  I live in my org agenda view and I schedule all my tasks to the
  day that I want to do them. I also would like to see my
  achievements so I keep the TODOs that are done in the agenda
  view. However I would like them to get out of the way so that I
  can better see the tasks that are still open. That is why for a
  long time I've been wanting to sort the agenda items by todo
  state.
  
* Patch
  I finally looked at the code and realized that this was not very
  hard to do. The following patch (against 5.13i) implements a new
  org-agenda-sorting-strategy that allows you to sort agenda items
  by todo-state.
  
* Notes
  The patch is basically a works-for-me implementation. It only
  sorts todo and scheduled items. It should probably do the same
  for deadlines. Maybe even for timestamps? 
  
  The doc strings need to be updated.
  
  Carsten at one time talked about implementing this feature by
  using priorities, i.e. factoring the todo-state into the priority
  (which uses the actual priority plus some calculation based on
  how many days the task is overdue). This patch takes a different
  route.
  
  The sorting is done by comparing the todo-state of the items. It
  first orders them by done state, i.e. all done items come after
  (or before) the items that are not done. After that it compares
  the todo-states with a string compare. This should probably use
  some kind of ordering information from the relevant
  org-todo-keywords sequence.
  
* Conclusion
  So the basic question is: Should I clean up this patch to get it
  included? Is the proposed route (of not taking the priorities)
  ok? And finally: How do I sort taking the sequence order into
  consideration?

Christian


 org.diff 


org.diff
Description: org.diff
___
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] File specific exporting of tags

2007-11-20 Thread Egli Christian (KIRO 41)
Hi Daniel 

Daniel Sindler wrote:
 On 11/19/2007 12:19 AM, Egli Christian (KIRO 41) wrote:
  Can you try to adapt the relevant text in org.texi (in the
distribution
  of org-mode) and produce a patch. This would certainly help a lot to
get
  your problem fixed.

 I do appreciate that providing a patch is a better solution than
 providing information leading to the patch.  However, I provided the
 relevant section and valid option values in the hope that someone
 who knows better could derive a patch faster and more easily than I
 can.  As it was, I took time to determine experimentally, what the
 valid values were since, to me, reading Lisp is about as much fun as
 reading a good legal contract.

I appreciate the time you took to analyse the problem and propose a
solution. I was just hinting that producing a patch to the documentation
is very easy (in fact that is how I got into hacking on org-mode :-))
and will IMHO give the developers more time to focus on the code. The
documentation in org.texi is basically text with some markup and can be
adapted easily, so no lisp know-how required.

  If you need any help on producing a patch let me know.

 Yes, I'd greatly appreciate help.

Bastien gave a better explanation than I could have ever done.

HTH
Chtistian


___
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] File specific exporting of tags

2007-11-19 Thread Egli Christian (KIRO 41)
Hi Dan

 The documentation for org-export-with-tags mentions the file
 specific tags option.  But, it should probably be added to 12.6.5
 in the manual (I'm looking at manual version 5.13e).

Can you try to adapt the relevant text in org.texi (in the distribution
of org-mode) and produce a patch. This would certainly help a lot to get
your problem fixed.

If you need any help on producing a patch let me know.

Thanks
Christian 



___
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 and Google Calendar

2007-09-28 Thread Egli Christian (KIRO 41)

  Is there any way to sync org-mode with google calendar ?
  And if not, is this planed/possible ?

Funny you should mention this. Just this morning I fetched the ics file
from my google calendar and imported the ics file into my diary
(icalendar-import-file /here/is/calendar.ics
/there/goes/ical-diary). If you then set org-agenda-include-diary
properly, you'll get the events from the google calendar in your agenda.

Pretty straight forward actually. You could probably automate this with
cron. To avoid reimporting the same events again you could have a
separate diary file for the google calendar and drop it before each
import. #include it in the main diary file. org-mode probably handles
this (not tested) as it just uses the fancy diary display (which is
needed for #include).

Would be nice to write a detailed tutorial about this. Any volunteers?

HTH
Christian 


___
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] import vCalendar/iCalendar

2007-09-28 Thread Egli Christian (KIRO 41)

  Is there any way (allready made function) to import vCalendar into
  org-mode ? I can export a .vcs file with my calendar or todo list and
  I'd like to import it in org.

You can import a ical file (ics) into your diary and integrate the diary
with your agenda. 

See
http://www.gnu.org/software/emacs/manual/html_node/emacs/Importing-Diary
.html#Importing-Diary and
http://orgmode.org/org.html#index-calendar-integration-433. 

HTH
Christian


___
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] Interpretation of priorities in org-mode

2007-08-02 Thread Egli Christian (KIRO 41)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Piotr Zielinski
Sent: Wednesday, August 01, 2007 5:24 PM
To: Jason F. McBrayer
Cc: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] Interpretation of priorities in org-mode

  If something has to be done today, then that's a deadline, not a
  priority.

 As I said, my reason for scheduling certain tasks as for today, is
 that I like to have a plan of what to do each day.  Without an
 explicit plan, I catch myself scanning my todo list many times during
 a day, effectively wasting time on recreating the same plan many
times.
 But I've tried it only for a week now, so I can't say whether it
works.

What I do is that I schedule the tasks that I want to do on a particular
day. I also customize the agenda to show unscheduled TODOs, so my
(weekly) agenda shows me the tasks that haven't been scheduled (probably
not so important, a MAYBE in GTD speak) and the tasks that are scheduled
for a particular day. I look at the current day and see the tasks that
are up for this day.

What I'd like to do is to be able to schedule a task for a given week.
Say I know that I want to hand in a paper which is due in two weeks but
this week is very busy and I have no time to work on it. So I want to
schedule it for next week. At the moment I just schedule it for next
monday but I would like to be flexible next week and do the paper maybe
on another day next week depending on other load. Basically I would like
the agenda to show me something along the following:

ALL CURRENTLY OPEN TODO ITEMS:
  TODO:   TODO A task which has not been scheduled (probably a MAYBE
in GTD speak)
TODO ITEMS FOR THIS WEEK:
  TODO:   TODO Do the laundry (I move this task to a particular day
if I see that a day is not very busy during the week)
  TODO:   TODO write paper (see above)
Week-agenda:
Monday30 July 2007
  TODO:   Scheduled:  TODO put the db where failover happens
Tuesday   31 July 2007
Wednesday  1 August 2007
Thursday   2 August 2007
Friday 3 August 2007
Saturday   4 August 2007
Sunday 5 August 2007

In this case I see that I will not be very busy this week and I can
easily write the paper and do the laundry. However if this would be a
busy week and there are tasks planned for every day I could decide to do
the laundry next week and just move it forward and not have to think
about it until next week.

I've looked at the code to implement this. I imagine using the iso 8601
week date format for week of the year (see
http://en.wikipedia.org/wiki/ISO_8601), i.e. -Www. The change is
quite invasive and touches a lot of areas of org-mode. It is currently a
MAYBE/SOMEDAY TODO item :-).

Christian


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


RE: [Orgmode] Column view questions

2007-07-16 Thread Egli Christian (KIRO 41)
Hi all 

 Yes.  Is there an easy way to create HTML that allows outline folding?
 Would be nice for this application.

Do you mean something along the line of
http://freemind.sourceforge.net/PublicMaps-exported.html?

Christian

___
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