Hi Daniel,
"Daniel Martins" <
address@hidden> writes:
> Me, as an ex-Fortran77 programmer, am suffering a lot with emacs lisp.
With time, it'll get better.
> After o couple of hours trying to catch all timestamps outside SCHEDULE: and
> DEADLINE: lines I gave up and ask for help
[...]
> 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\\}")))
>
[...]
> 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?
I don't think, this is a question of a local variable vs. inlining the
regexp. It's more a matter of an appropriate regular _expression_. Did
you try an empty string instead?
e.g.: (org2rem-pure-timestamps-reminders (org2rem-list-reminders ""))
Or did I miss your problem completely?
Regards, Olaf