emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Charles Philip Chan <cpchan@bell.net>
Cc: John Wiegley <jwiegley@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-smart-reschedule and Agenda View
Date: Wed, 29 Aug 2012 19:48:50 +0200	[thread overview]
Message-ID: <87y5kx37y5.fsf@altern.org> (raw)
In-Reply-To: <BLU0-SMTP66A61653502C8B8362206EBBA00@phx.gbl> (Charles Philip Chan's message of "Wed, 29 Aug 2012 12:33:37 -0400")

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 <cpchan@bell.net> 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 #<buffer *Org Agenda*>)
> |   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

      reply	other threads:[~2012-08-29 17:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 16:33 Charles Philip Chan
2012-08-29 17:48 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5kx37y5.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=cpchan@bell.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=jwiegley@gmail.com \
    --subject='Re: Problem with org-smart-reschedule and Agenda View' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).