From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Masterson Subject: Re: Org-Agenda doesn't work Date: Sat, 12 Apr 2014 15:24:57 -0700 Message-ID: <86eh12xk1y.fsf@gmail.com> References: <86ppknb14d.fsf@gmail.com> <877g6uk7q6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZ6MQ-0007n2-Gb for emacs-orgmode@gnu.org; Sat, 12 Apr 2014 18:25:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZ6MJ-0008I1-0Y for emacs-orgmode@gnu.org; Sat, 12 Apr 2014 18:25:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:53802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZ6MI-0008Hv-Py for emacs-orgmode@gnu.org; Sat, 12 Apr 2014 18:25:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WZ6MH-0003jY-6V for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 00:25:09 +0200 Received: from 71-84-12-50.dhcp.trlk.ca.charter.com ([71.84.12.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 00:25:09 +0200 Received: from dsmasterson by 71-84-12-50.dhcp.trlk.ca.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 00:25:09 +0200 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: emacs-orgmode@gnu.org Nick Dokos writes: > David Masterson writes: > >> I got most of Org working again, but then the following error came up in >> org-agenda. I removed the ELC files to try to make the error more >> clear. Anyone know what the problem is? >> >> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) >> put-text-property(23003 nil org-effort "15") >> ... >> org-refresh-properties("Effort" org-effort) >> ... >> org-agenda-prepare("TODO") >> ... >> org-todo-list(nil) >> call-interactively(org-todo-list) >> ... > > Try this patch: > > diff --git a/lisp/org.el b/lisp/org.el > index f8615a2..bd9c05e 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -9393,7 +9393,7 @@ property to set." > (save-excursion > (org-back-to-heading t) > (put-text-property > - (point-at-bol) (outline-next-heading) tprop p)))))))) > + (point-at-bol) (or (outline-next-heading) (point-max)) tprop p)))))))) > > > ;;;; Link Stuff > This works for me -- thanks. -- David Masterson