From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Problem with org-smart-reschedule and Agenda View Date: Wed, 29 Aug 2012 19:48:50 +0200 Message-ID: <87y5kx37y5.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mNh-0003X7-JI for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:48:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6mNg-0001Nv-L1 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:48:45 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:34614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mNg-0001Np-EV for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:48:44 -0400 Received: by wibhn17 with SMTP id hn17so769516wib.12 for ; Wed, 29 Aug 2012 10:48:43 -0700 (PDT) In-Reply-To: (Charles Philip Chan's message of "Wed, 29 Aug 2012 12:33:37 -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: Charles Philip Chan Cc: John Wiegley , Org-mode Hi Charles and John, (I think it's safer to CC authors of contributed Org modules, as they might not be reading the list -- I think John does, though.) John, on top of Charles' question, I noticed that the comment header in org-learn.el seems to be truncated. Do you have an updated version somewhere? Thanks for your help! Charles Philip Chan writes: > 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 2024 in buffer *Org Agenda*") > | signal(error ("Before first headline at position 2024 in buffer *Org Agenda*")) > | 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 -- Bastien