From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Philip Chan Subject: Problem with org-smart-reschedule and Agenda View Date: Wed, 29 Aug 2012 12:33:37 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6lCl-0005Rt-3T for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6lCj-00011R-Tk for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:33:23 -0400 Received: from blu0-omc1-s17.blu0.hotmail.com ([65.55.116.28]:44569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6lCj-000115-Q3 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:33:21 -0400 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello all: I have just started using org-learn. However, when I try to use org-smart-reschedule in an Agenda View buffer it fails with the following backtrace: ,---- | Debugger entered--Lisp error: (error "Before first headline at position 2= 024 in buffer *Org Agenda*") | signal(error ("Before first headline at position 2024 in buffer *Org Ag= enda*")) | error("Before first headline at position %d in buffer %s" 2024 #) | byte-code("\300\301`p#\207" [error "Before first headline at position %= d in buffer %s"] 4) | org-back-to-heading(t) | org-entry-put(2041 "LEARN_DATA" "(4 2 2.5 nil)") | org-smart-reschedule(0) | call-interactively(org-smart-reschedule record nil) | command-execute(org-smart-reschedule record) | execute-extended-command(nil "org-smart-reschedule") | call-interactively(execute-extended-command nil nil) `---- If I run the command directly on the entry in the original org file, it works. Is this a bug or has this feature not been implemented for use in an Agenda View? Thanks. Charles =2D-=20 "Even more amazing was the realization that God has Internet access. I wonder if He has a full newsfeed?" (By Matt Welsh) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAlA+RGsACgkQ3epPyyKbwPaGGwCgnWyfG4rI+KpXO+l3fP6P+3h6 eOkAn1XjMS0kz4ndNkSfQNgy/zL9uEkw =3U+d -----END PGP SIGNATURE----- --=-=-=--