From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KCnOHDZpkF4uEAAA0tVLHw (envelope-from ) for ; Fri, 10 Apr 2020 12:40:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4MvLADhpkF6RRwAAbx9fmQ (envelope-from ) for ; Fri, 10 Apr 2020 12:40:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA83A940292 for ; Fri, 10 Apr 2020 12:40:21 +0000 (UTC) Received: from localhost ([::1]:33822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMsxI-0007Tm-1l for larch@yhetil.org; Fri, 10 Apr 2020 08:40:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMsuv-0007TZ-BN for emacs-orgmode@gnu.org; Fri, 10 Apr 2020 08:37:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMsuu-0006Az-Ci for emacs-orgmode@gnu.org; Fri, 10 Apr 2020 08:37:53 -0400 Received: from ciao.gmane.io ([159.69.161.202]:46302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMsuu-0006A3-6u for emacs-orgmode@gnu.org; Fri, 10 Apr 2020 08:37:52 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jMsus-000GuO-0W for emacs-orgmode@gnu.org; Fri, 10 Apr 2020 14:37:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Bug: org-insert-item behaves weirdly and then fails Date: Fri, 10 Apr 2020 15:37:45 +0300 Message-ID: <87eesv5xeu.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:F6m3RVKHpEelXR8U5+tKlyGAcrs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=default; t=1586522422; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=yYcj9Fd3/6wrFtaCu+A09lhcFLvT1+XfYE2WgoahEh0=; b=CbFbh0D65TeuuNs3yxnwDlmEpv//CML6pt2rW4F1nS12M1TYBZ0u5q3Th2X+3MlljvUZN9 a44/ZQg3KVpIjx2Hssdq5RX0ubODZapOmNJ9dr0qSTFZOzIdyjyqT+yBOBwweBu1CC/AaS 0hz5BK7C35zWx/4PPP/Y5p3YjKMdmbY= ARC-Seal: i=1; s=default; d=yhetil.org; t=1586522422; a=rsa-sha256; cv=none; b=EJs97tQ2VVJ8fz3a5+U9a4uls9P+62AqcUbOhe9QH63sQxKg7HXrIZeJdOu0n5mqjjTHyi eq23a7Wnz6sChmRtIHnTedAm+vP4ls7+lFtJOp69z0HneS6E9Q27XCmKhrNm6QgyJ8X0RF uHsQ3GUrSU3z6cPjqEWYUAf+kzZBSvA= ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; GENERIC_REPUTATION(0.00)[-0.58017782147974]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; ARC_SIGNED(0.00)[i=1]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.30), country: US(-0.01), ip: 209.51.188.17(-0.58)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[jarmo.hurri@iki.fi,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[iki.fi]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: /m938EgoFius Greetings. The following happens with the latest version of the stable branch and the latest version of the master branch. Consider the following org file: # ------------------------------- 1. Some text [fn:: foo] 2. 3. with items # ------------------------------- The bug can be reproduced with the following: 1. go to the end of first line 2. press M-return , that is (org-meta-return) 3. return to step 1 You will notice that item numbers will first start to behave weirdly, then eventually an error will be thrown. My emacs version is GNU Emacs 26.3 Any ideas? Jarmo