From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Bug: org-agenda-list fails with "wrong-type-argument stringp nil" from org-agenda-skip [8.3.5 (8.3.5-elpaplus @ $HOME/.emacs.d/elpa/org-plus-contrib-20160801/)] Date: Wed, 10 Aug 2016 22:26:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140808469a9370539bf2657 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXbxw-0008Uy-N3 for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 18:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXbxu-0008M1-By for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 18:27:11 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:33965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXbxu-0008Lh-5Q for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 18:27:10 -0400 Received: by mail-oi0-x22e.google.com with SMTP id l203so78638002oib.1 for ; Wed, 10 Aug 2016 15:27:10 -0700 (PDT) In-Reply-To: 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" To: Robert Irelan , emacs-orgmode@gnu.org --001a1140808469a9370539bf2657 Content-Type: text/plain; charset=UTF-8 FWIW I do not see this issue on the latest version of org on the master (dev) branch. Based on the backtrace, it looks like for some reason comment-start-skip is nil in your emacs session. Here's the definition of org-agenda-skip: (defun org-agenda-skip () "Throw to `:skip' in places that should be skipped. Also moves point to the end of the skipped region, so that search can continue from there." (let ((p (point-at-bol)) to) (when (or (save-excursion (goto-char p) (looking-at comment-start-skip)) (and org-agenda-skip-archived-trees (not org-agenda-archives-mode) (get-text-property p :org-archived) (org-end-of-subtree t)) (and org-agenda-skip-comment-trees (get-text-property p :org-comment) (org-end-of-subtree t)) (and (setq to (or (org-agenda-skip-eval org-agenda-skip-function-global) (org-agenda-skip-eval org-agenda-skip-function))) (goto-char to)) (org-in-src-block-p t)) (throw :skip t)))) Can you recreate this error in an emacs -Q session with only that org version loaded? On Fri, Aug 5, 2016 at 3:50 AM Robert Irelan wrote: > Trying again since it wasn't received the first time. > > On Tue, Aug 2, 2016 at 12:02 PM Robert Irelan wrote: > >> Ever since updating to 20160801, I've encountered the following error >> whenever trying to run org-agenda-list: >> > -- Kaushal Modi --001a1140808469a9370539bf2657 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
FWIW I do not see this issue on the latest version of org = on the master (dev) branch.=C2=A0

Based on the backtrace= , it looks like for some reason comment-start-skip is nil in your emacs ses= sion.

Here's the definition of org-agenda-skip= :

(defun org-agenda-skip ()
=C2=A0 = "Throw to `:skip' in places that should be skipped.
Also= moves point to the end of the skipped region, so that search can
continue from there."
=C2=A0 (let ((p (point-at-bol)) to)
=C2=A0 =C2=A0 (when (or
=C2=A0 (save-excursion (goto-char p) (loo= king-at comment-start-skip))
=C2=A0 (and org-agenda-skip-archived-trees (n= ot org-agenda-archives-mode)
(get-text-property p :org-archived)
(org-end= -of-subtree t))
=C2=A0 (and org-agenda-skip-comment-trees
(get-text-prope= rty p :org-comment)
(org-end-of-subtree t))
=C2=A0 (and (setq to (or (org= -agenda-skip-eval org-agenda-skip-function-global)
=C2=A0 =C2=A0 (org-ag= enda-skip-eval org-agenda-skip-function)))
(goto-char to))
=C2=A0 (org-in= -src-block-p t))
=C2=A0 =C2=A0 =C2=A0 (throw :skip t))))

Can you recreate this error in an emacs -Q session with on= ly that org version loaded?

On Fri, Aug 5, 2016 at 3:50 AM Robert Irelan <rirelan@gmail.com> wrote:
Trying again since it wasn't received t= he first time.

On Tue,= Aug 2, 2016 at 12:02 PM Robert Irelan <rirelan@gmail.com> wrote:
Ever since updating to 20160801, I've encountered = the following error
whenever trying to run org-agenda-list:
--

Kaushal Modi

--001a1140808469a9370539bf2657--