emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Robert Irelan <rirelan@gmail.com>, emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CAFyQvY0=vW-4VechWcc14G0qW-b_aswqkjM2YVrpscXbr+AeSQ@mail.gmail.com> (raw)
In-Reply-To: <CAJUyYjrtapPoKAzZvbCt=3ki6Dna6B_4k5Ec4NFqke3YnekzUQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

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 <rirelan@gmail.com> wrote:

> Trying again since it wasn't received the 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

[-- Attachment #2: Type: text/html, Size: 2968 bytes --]

      reply	other threads:[~2016-08-10 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 19:02 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/)] Robert Irelan
2016-08-03 16:20 ` Robert Irelan
2016-08-10 22:26   ` Kaushal Modi [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='CAFyQvY0=vW-4VechWcc14G0qW-b_aswqkjM2YVrpscXbr+AeSQ@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rirelan@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).