From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YHoeDMajXGTyjgAASxT56A (envelope-from ) for ; Thu, 11 May 2023 10:13:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CHtJC8ajXGRkeQEAG6o9tA (envelope-from ) for ; Thu, 11 May 2023 10:13:58 +0200 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 DDF3D3CD4B for ; Thu, 11 May 2023 10:13:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px1Jy-00020F-5p; Thu, 11 May 2023 04:06:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px1Jw-0001wa-I6 for emacs-orgmode@gnu.org; Thu, 11 May 2023 04:06:40 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1px1Jr-0001Ss-Rf for emacs-orgmode@gnu.org; Thu, 11 May 2023 04:06:40 -0400 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2ac81d2bfbcso88809851fa.3 for ; Thu, 11 May 2023 01:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683792393; x=1686384393; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Vnj7u9Gz7hsplACGo17DCSZcro+akkExkRBbuLuI6jg=; b=QUH1gpqf3ZOj+CidD7s+6qX5qagAW45cQx13ZCfIVhbxUgj0Vw9p7rv/6CvrITc4lM 903SjrCACTWZd/e2Vx0WUYaGPCSO7jwO8YDEq0gEn60ZalCZMCTY/+PkyiPVyPD+XA5p 4xIlPfU9wDSQojEVWlt3g6F6Sqtn1rgm/9yfeJnMzbM5cc+bFrXPysZCjw2MPnverD3n OZAold5CkF3ZPDXgDdp9sVM2fmB2G1n4eaC7oIHkE3ln6BLBCJqX7v74pDiFXT8kC71W 0Qu58N59zZpLKxV9fAnZmjyKw/0TIdy1knj7mB6Mlfvrv7T3SyDt4qk/URTPlprJfFKu 4NZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683792393; x=1686384393; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Vnj7u9Gz7hsplACGo17DCSZcro+akkExkRBbuLuI6jg=; b=Fen++BnBDIucYu70GXMTrmg3CF+Rg7m4JguEPR62GXjx/9iNWUg5M4CpZhYML+w6ym xSrxwM9cjBTA2iBwunfRp59eGy6bdaAZwzsgQUlNeAhUPSoAF0j7Ws9LbN0IgCn7dptq roW+bsV0nI2YkzlKNn/Xpxey9LOKy+u23c81P5cKL/1EJIuFwMDJrJs1hvRTI2lWOcwE PXmSGlWjCTF6geHe1MVY1DQEFGzn1S9F4BKl6G743HcwbAqPsNzcjZ4Y7e6gnmmB9tRU XMyBoOXlhqvrJ2rhjCjh0xZ93XeNrxY17TJ1aOeEieACS2qtHUFRt+p+H8yHO9cIOKIO 0kKg== X-Gm-Message-State: AC+VfDwzklUjNWk5t6l2wqCnz1LjFm43ttx6wNW+68jxA7sm5o8oeZPX seUI2lvBrAqbpgqDrM//cGvt6Qa8v2+jNLhrnplhu9yLZ48EVw== X-Google-Smtp-Source: ACHHUZ6TqNiyKojGbc38pQtHR71zK8ZNHXR8ZciasRf9+JvcrGteS+Rw5b6pMvjHjZaN57pvC0iaf1XzV+a56EPUHok= X-Received: by 2002:a2e:918c:0:b0:2ac:7d78:3465 with SMTP id f12-20020a2e918c000000b002ac7d783465mr3106058ljg.15.1683792393362; Thu, 11 May 2023 01:06:33 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Thu, 11 May 2023 10:06:21 +0200 Message-ID: Subject: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000007b61f505fb667706" Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=mick.dauer@gmail.com; helo=mail-lj1-x233.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683792838; a=rsa-sha256; cv=none; b=VW7/cAF62QQORWG0ku7DQf0p4nNSpUjMdkJdykdosMOBXeA9rePJGAFIEV/cWqRQ56wNYP UD2QbQH0SZueYv/CuMOE0sz7M59F9SKvH7x0CAmY+Z5i9EcG78fgOh6ZDd26JeKMFpwZMe deRxKSQ1wdhE2zxOqzJl0K/GHFIo0js8f3HbapG33JY5rcOnBSy/oBs6oq3uj333aCp9kn 9WJnR7wSf/SDYo4FzGZQJRZlCqHRGoxQLcJ6Cpt55giH6tLiHUUvy+5SFhoCoQTgVtameA h2OBsnf1GE5Hdp9lj2cjtVx6d9HGxRgBFVY3gMMaatnArSf+oxDMzjS4QbudbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QUH1gpqf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683792838; 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:dkim-signature; bh=Vnj7u9Gz7hsplACGo17DCSZcro+akkExkRBbuLuI6jg=; b=MaFvUmOT8JBhAeQBVfQ2GvVC+++IiYOAwDj2BuqX9/I8X35bIW3LW4NcDZrXtjdK3X22K3 Fyziu3f0QIbaYrZlJ87cx3z4LXl6LipAKmVNyuTZ0OqAdUTgAniXojQ8sirkqy2FKGVyna IK//fsLVXsi2R79K9ildUIdipKXHDUqB7i8X1haKDuO1AGL5yIUeLlAVKHhJ+du9ep1kyA GbXnerbGYGqRR4BBD1h2rf3Qeuxrtvhxu28eGS1J6i8Xb2BhE8oxaOflGqkO+NkE05LhMO m99whZQ/Uxe6JCQDOhuJNZlkbXart2nvj/YY92TqXCD8yaxGYaJ6E1Wu5zhvxw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QUH1gpqf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.87 X-Spam-Score: -4.87 X-Migadu-Queue-Id: DDF3D3CD4B X-TUID: AdlVF12U9Nk2 --0000000000007b61f505fb667706 Content-Type: text/plain; charset="UTF-8" Example * h1 <>** h11 brings: * h1 *** <> ** h11 expected: * h1 ** h11 *** <> Org mode version 9.7-pre (release_9.6.4-327-gf81ba4 --0000000000007b61f505fb667706 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Example
* h1
<>** h11
<= br class=3D"gmail-Apple-interchange-newline">brings:
* h1
*** <>
** h11

expected:
* h1
** h11
*** <>

Org mode version 9.7-pre (release_9.6.4-327-gf81ba4
--0000000000007b61f505fb667706--