From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Dietsche Subject: Re: org-mode and remind integration Date: Sat, 10 Jan 2009 22:18:00 +0100 Message-ID: <87wsd2508n.fsf@rat.lan> References: <6ac505ad0812310353yedc8ac6x4e59dc377a6d009b@mail.gmail.com> <368A47AA-30D5-40B0-9ECD-57B0361B89AA@uva.nl> <6ac505ad0901090057x40d163edr1366a45fb08ed405@mail.gmail.com> <87d4ew5yse.fsf@rat.lan> <6ac505ad0901100521n7562cc33y942b3bf131621fd4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLlE6-0007Jx-66 for emacs-orgmode@gnu.org; Sat, 10 Jan 2009 16:18:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLlE4-0007Jl-GK for Emacs-orgmode@gnu.org; Sat, 10 Jan 2009 16:18:37 -0500 Received: from [199.232.76.173] (port=49256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLlE4-0007Ji-AT for Emacs-orgmode@gnu.org; Sat, 10 Jan 2009 16:18:36 -0500 Received: from www85.your-server.de ([213.133.104.85]:53820) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLlE3-0003QN-WE for Emacs-orgmode@gnu.org; Sat, 10 Jan 2009 16:18:36 -0500 In-Reply-To: <6ac505ad0901100521n7562cc33y942b3bf131621fd4@mail.gmail.com> (Daniel Martins's message of "Sat\, 10 Jan 2009 11\:21\:02 -0200") 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: Daniel Martins Cc: bastien.guerry@ens.fr, Emacs-orgmode@gnu.org Hi Daniel, "Daniel Martins" 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