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 iJNxNquQk14wKgAA0tVLHw (envelope-from ) for ; Sun, 12 Apr 2020 22:05:31 +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 fDoTGq6Qk17UeQAAbx9fmQ (envelope-from ) for ; Sun, 12 Apr 2020 22:05:34 +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 1EB959424D4 for ; Sun, 12 Apr 2020 22:05:32 +0000 (UTC) Received: from localhost ([::1]:37426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNkjJ-0002ut-Rz for larch@yhetil.org; Sun, 12 Apr 2020 18:05:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45001) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNkii-0002ui-Hf for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 18:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNkih-0005Xc-ER for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 18:04:52 -0400 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:33886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNkih-0005XM-78 for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 18:04:51 -0400 Received: by mail-il1-x129.google.com with SMTP id t11so7039101ils.1 for ; Sun, 12 Apr 2020 15:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3H4KuhFcjPmKEWOnI+wO7ZFOQ3HLGVr1tp2QaMutXwA=; b=ZGrh2QE3Wv7CQtbsO6wWJDQgDhoFs5ZuUVxKjk7/Z/JX4Gwel41VSQKl52amo5jCNE oBt/ZM7vrn4hGhXHvDIg+nnHskNMkHHET6xx64WhG2fyHZu8sBkUDD3k3EKk6Yuot8m+ ojTs2XRUXcWsQZY2SiajAptxFd36OmDuXWBjYB1/q+BiAs+JmLI1tNsi02PNgw9gAi0G FG/HacGlJUePJ3aMBFEVFHDRDzrbfm5NXBGFKSfYZunOGU5AkRJyJQMJPNWdcl8/ycLH FJgx3F6S+LdJK/kM/cvWCClGWoQkHPWxJn59khB2qHcShG5GvVCJIqnCmUMmbpPWzjZ8 dBqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3H4KuhFcjPmKEWOnI+wO7ZFOQ3HLGVr1tp2QaMutXwA=; b=VtDXYJmitXB314VE0601ifqjIcKBt2lHVr6ZdWo7isKZwXiwcao1OU4LFlMCSVOwDC nft0JHGeBrPVdq9z5j7G/sn9lu+yjXAnND6HXzsKIDrH63EaAM3zcHHQrnB3LVLu+hIi EuYAhL9h7WPpTQhtkNlZhsq+IPv365AQloN+UOyveo3yfG33GjV8BWaikoO0yS06B75I BfWAdtj6lSy9jYoD/0kubOsU2PiSwdnScLLNpYUaHiMYKdDb6Y8iGYn7cIaqE7vazF7m JLfPZVB3F7TncB3wfomOdLj7i1GcMMahIxhu7FIFbIckybKVYx76eqxavyI+zUXoBVtA SszA== X-Gm-Message-State: AGi0PuaNiZJDN2JyapqHIkWe08eKLk4YtswmCTWUSFj8x6LLw2VPORvx aZpMC47ZA4TdbH8xaxdAF11xrdxEXh1oy+SETud5Ewgq77kKAyJe X-Google-Smtp-Source: APiQypKyChvat/bGScBj50tt3pSYLM3jVnSLZPjeTG6k0VxbvXHzx346OmIbD5N2GRCVthgizcaaEleo1yEXcEcx9qA= X-Received: by 2002:a92:c910:: with SMTP id t16mr14512829ilp.254.1586729089935; Sun, 12 Apr 2020 15:04:49 -0700 (PDT) MIME-Version: 1.0 From: Leo Alekseyev Date: Sun, 12 Apr 2020 15:04:39 -0700 Message-ID: Subject: Bug: Org with auto-fill does not insert linebreaks properly [9.3 (release_9.3 @ /snap/emacs/current/usr/share/emacs/27.0.90/lisp/org/)] To: Emacs orgmode Content-Type: multipart/alternative; boundary="000000000000c2ae7605a31f2769" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::129 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" X-Scanner: scn0 X-Spam-Score: -0.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZGrh2QE3; dmarc=pass (policy=none) header.from=gmail.com; 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.71 / 13.00]; GENERIC_REPUTATION(0.00)[-0.57959351417541]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.29), country: US(-0.01), ip: 209.51.188.17(-0.58)]; URI_COUNT_ODD(1.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[dnquark@gmail.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 4cKE2Jz6VJBZ --000000000000c2ae7605a31f2769 Content-Type: text/plain; charset="UTF-8" Consider the following text: ----begin example---- --- --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do --- --- ----end example----- With auto-fill mode on, continuing to type on the "Lorem ipsum" line results in the following: ----begin example---- --- --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ---eiusmod asdf --- ----end example----- Notice how "eiusmod" does not start on a new line, as would be expected. Here is a GIF of this behavior in action: https://www.dropbox.com/s/w9a803t0qotqe6j/org_autofill_bug.gif?dl=0 Tested with emacs -Q, org 9.3 (lisp that ships with emacs 27) --000000000000c2ae7605a31f2769 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Consider the following text:=C2=A0
----begin example--= --
---
---
Lorem ipsum dolor sit amet, consectetur adipisci= ng elit, sed do
---
---
----end example-----
=
With auto-fill mode on, continuing to type on the "Lore= m ipsum" line=C2=A0results in the following:
----begin = example----
---
---
Lorem ipsum dolor sit amet, consectetur= adipiscing elit, sed do
---eiusmod asdf
---
----end ex= ample-----

Notice how "eiusmod" do= es not start on a new line, as would be expected.
Here is a GIF o= f this behavior in action:=C2=A0https://www.dropbox.com/s/w9a803t0qo= tqe6j/org_autofill_bug.gif?dl=3D0

Tested with = emacs -Q, org 9.3 (lisp that ships with emacs 27)
--000000000000c2ae7605a31f2769--