From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: Re: Organizing a students live Date: Wed, 10 Feb 2010 20:48:19 -0200 Message-ID: <6ac505ad1002101448g187171ffm32d0a254d6eff83@mail.gmail.com> References: <877hskh81j.fsf@uni-mainz.de> <6ac505ad0912261651v553e4701y8299e3cd0ad0fdb9@mail.gmail.com> <7261F3CD-8614-462A-A47E-5C2B16374A51@gmail.com> <6ac505ad0912281309v53e8a923v6490c2f780c73a64@mail.gmail.com> <6ac505ad1002101102i290108a6wf17a3dbf935e5790@mail.gmail.com> <6ac505ad1002101123m47bf0c13n4bb8c27c576267a7@mail.gmail.com> <27704.1265840447@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0168803581==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfLM9-00070B-Fy for emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:48:25 -0500 Received: from [199.232.76.173] (port=55229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfLM8-0006zc-V6 for Emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:48:25 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfLM7-0008Q3-24 for Emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:48:24 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:50623) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfLM6-0008Pt-J5 for Emacs-orgmode@gnu.org; Wed, 10 Feb 2010 17:48:22 -0500 Received: by fxm8 with SMTP id 8so592770fxm.26 for ; Wed, 10 Feb 2010 14:48:21 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: "emacs-orgmode@gnu.org" --===============0168803581== Content-Type: multipart/alternative; boundary=001485f773f6b5186b047f46d450 --001485f773f6b5186b047f46d450 Content-Type: text/plain; charset=ISO-8859-1 It helps! It is silly how I never noticed the (W06) in top of agenda! Anyway Nick comments but I guess the more difficult question is a user interface that allows > you to construct such elaborate org-diary-class constructs. > are quite pertinent. Daniel 2010/2/10 Carsten Dominik > > On Feb 10, 2010, at 11:20 PM, Nick Dokos wrote: > > Daniel Martins wrote: >> >> 2010/2/10 John Rakestraw >>> >>> Daniel Martins writes: >>>>>>>> >>>>>>> >>> Someone could send me an example of the use of the org-diary-class ?? >>>> >>> >>> *** 12:15-13:05 Class >>> <%%(org-diary-class 1 13 2010 5 3 2010 1 3 7 10 14)> >>> <%%(org-diary-class 1 13 2010 5 3 2010 3 10)> >>> <%%(org-diary-class 1 13 2010 5 3 2010 5 10 13)> >>> >>> Class meets Mon-Wed-Fri from Jan 13 to May 3 from 12:15 to 13:05, with >>> holidays as indicated. Friday's class, for example, doesn't meet in >>> weeks >>> 10 and 13. >>> >>> Thank you very much John. Incredibly fast answer !!! >>> >>> BTW Is there an easy /practical way to convert holidays dates to number >>> of weeks? >>> >> >> Not sure I read this right, but if you are talking about converting a >> date to a week-number (as e.g. exhibited at the top of the weekly >> agenda), this should do the trick: >> >> ;;; date is a three-element list (month day year) >> ;;; (calendar-current-date) returns the date in this format. >> (defun week-number (date) >> (org-days-to-iso-week >> (calendar-absolute-from-gregorian date))) >> >> but I guess the more difficult question is a user interface that allows >> you to construct such elaborate org-diary-class constructs. >> > > You can also navigate the agenda to the corresponding days, and it will > show the week number. > > HTH > > - Carsten > > --001485f773f6b5186b047f46d450 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It helps!

It is silly how I never noticed=A0 the (W06) in top of age= nda!

Anyway Nick comments

but I guess the more difficult question is a user interface that allows
you to construct such elaborate org-diary-class constructs.

are quite pertinent.

Daniel

20= 10/2/10 Carsten Dominik <carsten.dominik@gmail.com>

On Feb 10, 2010, at 11:20 PM, Nick Dokos wrote:

Daniel Martins <danielemc@gmail.com> wrote:

2010/2/10 John Rakestraw <lists@johnrakestraw.com>

Daniel Martins writes:

Someone could send me an example of the use of the org-diary-class ??

=A0 *** 12:15-13:05 Class
=A0 =A0 =A0<%%(org-diary-class 1 13 2010 5 3 2010 1 3 7 10 14)>
=A0 =A0 =A0<%%(org-diary-class 1 13 2010 5 3 2010 3 10)>
=A0 =A0 =A0<%%(org-diary-class 1 13 2010 5 3 2010 5 10 13)>

=A0 Class meets Mon-Wed-Fri from Jan 13 to May 3 from 12:15 to 13:05, with=
=A0 holidays as indicated. Friday's class, for example, doesn't me= et in weeks
=A0 10 and 13.

Thank you very much John. Incredibly fast answer !!!

BTW Is there an easy /practical =A0way to convert holidays dates to number = of weeks?

Not sure I read this right, but if you are talking about converting a
date to a week-number (as e.g. exhibited at the top of the weekly
agenda), this should do the trick:

;;; date is a three-element list (month day year)
;;; (calendar-current-date) returns the date in this format.
(defun week-number (date)
=A0 =A0 =A0(org-days-to-iso-week
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (calendar-absolute-from-gregorian date= )))

but I guess the more difficult question is a user interface that allows
you to construct such elaborate org-diary-class constructs.

You can also navigate the agenda to the corresponding days, and it will sho= w the week number.

HTH

- Carsten


--001485f773f6b5186b047f46d450-- --===============0168803581== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0168803581==--