From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thibault Polge Subject: Bug: imenu fails with non-continuous structure [9.1.13 (release_9.1.13 @ /home/thblt/.emacs.d/lib/org/lisp/)] Date: Sat, 09 Jun 2018 17:05:11 +0200 Message-ID: <871sdgroew.fsf@thb.lt> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRfQp-0008VP-GS for emacs-orgmode@gnu.org; Sat, 09 Jun 2018 11:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRfQk-00038Q-Il for emacs-orgmode@gnu.org; Sat, 09 Jun 2018 11:05:31 -0400 Received: from 11.mo3.mail-out.ovh.net ([87.98.184.158]:42792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRfQk-00035f-7a for emacs-orgmode@gnu.org; Sat, 09 Jun 2018 11:05:26 -0400 Received: from player168.ha.ovh.net (unknown [10.109.105.123]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id 2C29D1BB3EB for ; Sat, 9 Jun 2018 17:05:16 +0200 (CEST) Received: from maladict.thb.lt (unknown [194.199.3.13]) (Authenticated sender: thibault@thb.lt) by player168.ha.ovh.net (Postfix) with ESMTPSA id 1E303420096 for ; Sat, 9 Jun 2018 17:05:16 +0200 (CEST) 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 Steps to reproduce, from emacs -q: 1. (setq org-imenu-depth 10) 2. Create the following document: #+begin_src org #+TITLE: Test * Level 1 ** Level 2 *** Level 3 **** Level 4 ******** Level 8 #+end_src Notice the break on the structure: levels 5, 6 and 7 are missing. 3. M-x imenu, select each Level n entry 4. imenu will crash after you've selected Level 4 I can reproduce this from emacs -q using org-mode from git master (842002f9f7e3246cc285cc9bca1adb715120438d). I'm running 26.1 on NixOS. (I didn't include the detailed system report since I've tested on multiple setups, including -q. Please ask if you need any extra information) Thanks Thibault