From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emilio Francesquini 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 Message-ID: <87d0r7v9ox.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMzAD-0004Uv-V5 for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 12:41:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMzA8-0004ud-Sg for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 12:41:17 -0500 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:45396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMzA8-0004tI-OS for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 12:41:12 -0500 Received: by mail-qk1-x72d.google.com with SMTP id d135so27249795qkc.12 for ; Wed, 14 Nov 2018 09:41:12 -0800 (PST) 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: emacs-orgmode@gnu.org 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/)