emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel Martins" <danielemc@gmail.com>
To: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
Cc: bastien.guerry@ens.fr, Emacs-orgmode@gnu.org
Subject: Re: org-mode and remind integration
Date: Sat, 10 Jan 2009 11:21:02 -0200	[thread overview]
Message-ID: <6ac505ad0901100521n7562cc33y942b3bf131621fd4@mail.gmail.com> (raw)
In-Reply-To: <87d4ew5yse.fsf@rat.lan>


[-- Attachment #1.1: Type: text/plain, Size: 2318 bytes --]

Olaf,

Thank you very much for your diff. I worked fine  and I learned a bit of
lisp.

Me, as an ex-Fortran77 programmer, am suffering a lot with emacs lisp.

After o couple of hours trying to catch all timestamps outside SCHEDULE: and
DEADLINE: lines I gave up and ask for help




Originally we had

    (org2rem-scheduled-reminders (org2rem-list-reminders
org-scheduled-string))
    (org2rem-deadline-reminders (org2rem-list-reminders
org-deadline-string))


I tried to catch all timestamps outside SCHEDULE: and DEADLINE:
using something like

    (org2rem-pure-timestamps-reminders
     (org2rem-list-reminders
          (concat  "\\(" org-deadline-string "\\|"
               org-scheduled-string  "\\)\\{0\\}")))


In te beginning I create

(defvar org2rem-pure-timestamps-remind-file
  "~/.reminders.org.pure-timestamps")

and at the end I add an extra line to export these reminds in a different
file
      (org2rem-write-file org2rem-scheduled-remind-file
              org2rem-scheduled-reminders)
      (org2rem-write-file org2rem-deadline-remind-file
              org2rem-deadline-reminders)
      (org2rem-write-file org2rem-pure-timestamps-remind-file
              org2rem-pure-timestamps-reminders)

I tried first to create a local variable


;;;     (org2rem-pure-timestamps-string
;;;           (concat  "\\(" org-deadline-string "\\|"
;;;                org-scheduled-string  "\\)\\{0\\}"))

;;;     (org2rem-pure-timestamps-reminders
;;;      (org2rem-list-reminders org2rem-pure-timestamps-string)
;;;      )

but it did not work either.




I am probably having

Any help for this stupid doubt?


Thank you

Daniel


2009/1/9 Olaf Dietsche
<olaf+list.orgmode@olafdietsche.de<olaf%2Blist.orgmode@olafdietsche.de>
>

> > Yes, I am.
> [...]
> > I am sending the last version of org2rem which integrates timed reminds
> from
> > DEADLINE: and SCHEDULE: lines
> [...]
> >
> > 2009/1/9 Carsten Dominik <dominik@science.uva.nl>
> >
> >> Is any action happening on this?  Is someone trying to fix org2rem?
> >> - Carsten
>
> I have no idea of remind.
>
> This is an untested patch, but you get the idea. Avoid global
> variables, if you can. If you use global variables, you have
> prerequisites and side effects, which complicate following the
> code. This is not lisp specific.
>
> Regards, Olaf
>
>

[-- Attachment #1.2: Type: text/html, Size: 3595 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2009-01-10 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31 11:53 org-mode and remind integration Daniel Martins
2009-01-09  8:17 ` Carsten Dominik
2009-01-09  8:57   ` Daniel Martins
2009-01-09 14:39     ` Olaf Dietsche
2009-01-10 13:21       ` Daniel Martins [this message]
2009-01-10 21:18         ` Olaf Dietsche
2009-01-11 20:19           ` Daniel Martins
2009-01-13 21:06             ` Olaf Dietsche
  -- strict thread matches above, loose matches on Subject: below --
2009-02-11 14:23 Sharad Pratap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ac505ad0901100521n7562cc33y942b3bf131621fd4@mail.gmail.com \
    --to=danielemc@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=bastien.guerry@ens.fr \
    --cc=olaf+list.orgmode@olafdietsche.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).