emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emilio Francesquini <francesquini@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: org-mode - "Wrong type argument: number-or-marker-p, nil" [9.1.14 (9.1.14-1-g4931fc-elpaplus @ /home/emilio/.emacs.d/elpa/org-plus-contrib-20180910/)]
Date: Wed, 14 Nov 2018 15:41:02 -0200	[thread overview]
Message-ID: <87d0r7v9ox.fsf@gmail.com> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Consider the following snippet of org

  - First item. I'm just writing something longer so that the minimum
    number of characters is reached.

Anywhere on the second line, calls to org-list-struct fail with the
error: "Wrong type argument: number-or-marker-p, nil".

The following numerical comparison fails in org-list-struct because itm-lst-s is nil:

          (when (<= ind (nth 1 (car itm-lst-2)))
	        (push (cons ind (point)) end-lst-2))

I stumbled upon this because it essentially renders package
guess-language unsusable in most of my org files. Related bug: https://github.com/tmalsburg/guess-language.el/issues/20

Emacs  : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-09-11
Package: Org mode version 9.1.14 (9.1.14-1-g4931fc-elpaplus @ /home/emilio/.emacs.d/elpa/org-plus-contrib-20180910/)

             reply	other threads:[~2018-11-14 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-14 17:41 Emilio Francesquini [this message]
2018-11-16 20:46 ` Bug: org-mode - "Wrong type argument: number-or-marker-p, nil" [9.1.14 (9.1.14-1-g4931fc-elpaplus @ /home/emilio/.emacs.d/elpa/org-plus-contrib-20180910/)] Nicolas Goaziou
2018-11-22 19:00   ` Emilio Francesquini

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=87d0r7v9ox.fsf@gmail.com \
    --to=francesquini@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).