From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2P4uE0MCdWKHXwEAbAwnHQ (envelope-from ) for ; Fri, 06 May 2022 13:10:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6K1CE0MCdWKUZAEA9RJhRA (envelope-from ) for ; Fri, 06 May 2022 13:10:59 +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 E8C0B28E03 for ; Fri, 6 May 2022 13:10:58 +0200 (CEST) Received: from localhost ([::1]:48020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmvrN-0006b9-Mi for larch@yhetil.org; Fri, 06 May 2022 07:10:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmvqf-0006aN-3k for emacs-orgmode@gnu.org; Fri, 06 May 2022 07:10:13 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:35425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmvqc-0001Y7-U7 for emacs-orgmode@gnu.org; Fri, 06 May 2022 07:10:12 -0400 Received: by mail-oi1-x22f.google.com with SMTP id m25so7132688oih.2 for ; Fri, 06 May 2022 04:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=DnjzSXl5NAgn7LO/3kLvedWIXTqhGB9KZW7w7cS24b4=; b=US1YCcZS20leLuvEAjZBfZI7FJ2u6+Ew1/orAQdwR4FZ41WEdxcuUslmMrPrHizG78 Ysol5U13sllhP3JpsbmQJ1gn8lRycgjUidsJP7jPiDs0MXPszqXExs9cyYis/YLXDb4/ hs5lUw0jFSOXdslJl0+pdl/Dk6py0ahVh38KwLBas/RHP6whqSpmSkQBsYbwAKRFPAmN tNvA24g9BOPzbYTizcmRTE8Vrgsz/S/25m2ipGml7CW003XxEDRzD6WBhFFxCU8pjZn1 Tj/e8Jgm9/A/4lWRS5fW+MF5ekmK+U/M+XLivpd0GE+iUfVp3aLk5RK3mj/Mjy9EocQr V+8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=DnjzSXl5NAgn7LO/3kLvedWIXTqhGB9KZW7w7cS24b4=; b=35U9gooTUHQ+R4cHLhnk6jtQYMvUjsKKoUGPvQZuBTTqjzPThMPmNRqcmQVdWDmOD3 oqcIK5aza3x1bW99z1s7hihX7/sTHRhXYGbaCjG3ZSuIX4GK4Z/P2LzZitnRy0JFP6HW ACFcl+1CS90AjK+Os3ZQkDodrRDqAFF8ntfJ+F1p7I3dHA3l61wzokf0aSJ/yZcbUBRX 2pMmTHVcjGMAVRAfbcdpsrtDD4uvijt3k9kxEWykQQmY+o9QawhJyvb1G18N2sBEuVix CB1aZDRiagGs/QO1DpHhFCPNMdxnLlbjuTogwZMoKnGE+GSBS5sMwybIFr7y+Plkbq4n LuJA== X-Gm-Message-State: AOAM531iZMB9sdn6C48zC8Esy7L2sH05BNyhE1KvHYThQBYD7lRaCEGC dOSXzBHwVWvyc9HxvhfqyRmSqxy2YAR+5+Br X-Google-Smtp-Source: ABdhPJyOCHLoszekstfEWTU2T7il4t0BzKPVRJpv/rQpL6WhQgNc8YM2EKDen0bJvxDdxBqoeGqjdQ== X-Received: by 2002:a05:6808:14c9:b0:325:eba5:1325 with SMTP id f9-20020a05680814c900b00325eba51325mr4577747oiw.249.1651835409802; Fri, 06 May 2022 04:10:09 -0700 (PDT) Received: from localhost ([104.223.98.2]) by smtp.gmail.com with ESMTPSA id l10-20020a9d4c0a000000b006060322124fsm1482418otf.31.2022.05.06.04.10.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 04:10:09 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?J=2E=E2=80=AFP=2E_Ascher?= Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-fill-paragraph unexpectedly creates list items [9.5.3 (9.5.3-g69c588 @ /Users/james/.emacs.d/elpa/org-9.5.3/)] In-Reply-To: References: Date: Fri, 06 May 2022 19:10:52 +0800 Message-ID: <878rre7w77.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=yantar92@gmail.com; helo=mail-oi1-x22f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651835459; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DnjzSXl5NAgn7LO/3kLvedWIXTqhGB9KZW7w7cS24b4=; b=a6O2/Qk4PXrjboeJM+4HnDNH4wP/MUXNay5kdXhEUfmBdo+ydCmzBYBTIBFQF9C0tno0Lq 0m9I0c4QYaf6xPgtUqtl8zkZ8beuatkrVionnDOg1piGF7sQdI2UkRzOv0EiWX43o/yxlf 8WlsQhRQW17l5kAMGrh6cHy18H67r7nyiuyBMRXmzBpaRb/ornHzLb5LIRCoRvHOPUFqKh ILKiQLgLg0v0m5rXqijQFKRY8mf8g3P+SLq3fxbIlmcvwlsjz/MbCdg1xFzV0ES9rLOEPI HFzei3+WwzWB/swt2Q++ilMYBdu5nl1oO1qzR0kBg3QfPF3TytYGcYMwiK6AUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651835459; a=rsa-sha256; cv=none; b=HWFKMddRH0nXfJjaG9/6CXP3UPhbbmNTZnVCJRA0KQfPyFLRtGGobF/ksdOKmHfXzMM512 XcfoK3tGxcgzXBvC/Z2HF7CCIWtiNp6qMHxAgCppUjuXpVw+g/6gBHt11N9jOPVU+31gFt c/biTgpFTlgxitLc6skUNUg9aPdmTN5UXtcB6PTT7T1Pmz8WBhQzqsYkmWyt9ewzsndScY ylyAtFKAfismMmXapMS36AZAoih51J2m5I/iA2E875JOqjWP5Zwxoc0igK7XaXI4iNsLxU lLF7wN6c4J6n4/4D0oR6HcUvxR4kjZHkAq88olucoh1f5sH5NASmi93/3dk5BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=US1YCcZS; 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: -7.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=US1YCcZS; 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-Queue-Id: E8C0B28E03 X-Spam-Score: -7.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 07wSxUrTBNma J.=E2=80=AFP. Ascher writes: > This is a bug that I fixed locally, but I'm not up to speed on > contributions or your code style, and your code base is fairly > complicated. > > I contribute my solution in case it would be of broader use. Thanks for the report and the proposed solution! If you need any advice about Org code base, feel free to ask this list. > `One two three four five six seven eight nine ten eleven twelve thirteen = 1. fourteen` > > Filling that line with fill-column 72 results in: > > `One two three four five six seven eight nine ten eleven twelve thirteen > 1. fourteen` I tried hard to reproduce your issue, but I am unable to get the behaviour you report using the latest stable version of Org (bugfix: f8bb41461), the latest dev version (main), and the Org version built into Emacs 28. Could you create steps to reproduce the problem starting from emacs -Q? See https://orgmode.org/manual/Feedback.html > Another example, with ox-pandoc (I believe pandoc is slightly more > capacious in its list definitions) this will also trigger a new line:=20 > > `One two three four five six seven eight nine ten eleven twelve thirteen = A. fourteen` > > Filling with fill-column 72 results in: > > `One two three four five six seven eight nine ten eleven twelve thirteen > A. fourteen` Note that ox-pandoc is not a part of Org. Could you submit the bug report to ox-pandoc author? Best, Ihor