From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Non-interactive org-schedule Date: Mon, 23 Sep 2013 12:46:35 +0200 Message-ID: <20130923124635.4622c5dd@aga-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VO3fE-0004ot-Tv for emacs-orgmode@gnu.org; Mon, 23 Sep 2013 06:46:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VO3f8-0008Hj-Qj for emacs-orgmode@gnu.org; Mon, 23 Sep 2013 06:46:48 -0400 Received: from msg.wmi.amu.edu.pl ([150.254.78.50]:35402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VO3f8-0008HU-Jl for emacs-orgmode@gnu.org; Mon, 23 Sep 2013 06:46:42 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 2881D4AA21 for ; Mon, 23 Sep 2013 12:46:38 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ELhiHHJ+mZU for ; Mon, 23 Sep 2013 12:46:38 +0200 (CEST) Received: from aga-netbook (99-52.echostar.pl [213.156.99.52]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id E13BD4AA20 for ; Mon, 23 Sep 2013 12:46:37 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode mailing list Hi all, I'd like to call org-schedule from an Elisp function. I'd like it to, say, insert today's date by default, and as a bonus, a repeater (I'm writing a custom org-insert-habit function, so that I can automate setting the STYLE and LOGGING proerties). Calling just (org-schedule) did not work. How to do that? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University