From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ECb7LbcKfWECcwAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 11:04:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4HmzKbcKfWF3BAAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 09:04:55 +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 1B3F215BEC for ; Sat, 30 Oct 2021 11:04:55 +0200 (CEST) Received: from localhost ([::1]:54674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgkII-00046V-8c for larch@yhetil.org; Sat, 30 Oct 2021 05:04:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgkHr-00046J-Bj for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 05:04:27 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:37745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgkHp-00081j-Kr for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 05:04:27 -0400 Received: by mail-pg1-x52e.google.com with SMTP id s136so12207767pgs.4 for ; Sat, 30 Oct 2021 02:04:25 -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; bh=ou6QcpiQMhMapmAwQvoeJxQxVFwglfIP6tVpZdqkZ1Y=; b=RrbWeM4QLJcFKViDVoj76qzMBJVF0qkrUKVShG4dV8y4ZPCtVW3qgBnxXt4ZPwvwLC b7v1IP3xgT4Sk6DLKss00VU+S/RXNrBCZN4I5qyhfitqZTWl4IIg37TJuK6/c6guLX/H HErc1qNzeuLL4bOrWuiRwgyaSJsIvz/85JSopL17SlTM2z7mdQpdwHJvmeXk6B2u5qBX oGINh55EUL7UgsJkezacz8535jIVN9p81q2oCjz+6BxVWd3lBgw/pc87lpq9eEb4a0Qz Sc8w+8mLLe0EJC1Uq2QcaPjubax67KxmHgYqvt73pxsbWk+uxa0hIkVH38SyNmoOv1DF 3C6w== 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; bh=ou6QcpiQMhMapmAwQvoeJxQxVFwglfIP6tVpZdqkZ1Y=; b=g07rAFyLiFf1rgtFNpgiqGCP7s8syqLvkpT6cRngv3GBkSRbZ8T2SaQOw7qbC2CX34 rBauK0fFtrfnNHd1J32djItdMax9wo8oSwzA5QATKJzf/GylNU2AUS3CFFw4V78X9qCx wjFzXpJZiufy3m13KzyVEcXZ0ZZLzBD7uGx34/dRTd/0Od8ONj0l35ROaMw+wEAH8q0O kYQqxGgY9uCsmASSqaMsKTBUodkFGbSkn2HUmZbRifGoqK6G798oiUTyoV/qPZJC6GqN RR5Jtu5b3bowdrhTzLb82PyvU7Bk/tB/wUmdnXZ0rPxpYYzGCHxUHtWt1gicQJ3yiouB hVng== X-Gm-Message-State: AOAM5310qoERthCofZ/D7H8dXnN5+Q8LlI1FLrWrM3DgzJD3iMrVkpjk w7Gc5kbmwBphn+8s0Esd5A2b9Ch4bdvarfhj X-Google-Smtp-Source: ABdhPJxzmInSFNHutOMiw/zrj2FlJlqhGzPqLbxZfJYQeRsKRTNH/GRxQIo+JR4w/TDsON6loyyOGg== X-Received: by 2002:a63:788d:: with SMTP id t135mr11929564pgc.2.1635584663918; Sat, 30 Oct 2021 02:04:23 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id pg13sm162514pjb.8.2021.10.30.02.04.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 02:04:23 -0700 (PDT) From: Ihor Radchenko To: Johannes Mueller Subject: Re: Bug: Bad behavior of refill-mode at end of org-mode file [9.4.4 (9.4.4-11-g9e8215-elpa @ /home/joh/.emacs.d/elpa/org-20210118/)] In-Reply-To: <3715730.BJ41AJB0qc@yksi> References: <3715730.BJ41AJB0qc@yksi> Date: Sat, 30 Oct 2021 17:05:51 +0800 Message-ID: <87sfwisx00.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635584695; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ou6QcpiQMhMapmAwQvoeJxQxVFwglfIP6tVpZdqkZ1Y=; b=K9+D3y2FNhAHXsN6cK37cDufXmI+rtiiqMy12jdlk6+uGUuq14TCjyyqkKuabFadJFhsxW 1Ip05BZTfKFpOHl2gO7Vn6aWTeXVcBqYQmC5mK6DJ6lLTixRFnYQTY0Nx9NvV7jm3BlTfa qCzjVRYkeX0lDyophdAHcJTRIN97egR1jNCbQpaskxwmFo8xFsBxeM0M0Sj8SPltUTz9s2 31WO/YnE1EiokBdh8lSnB/MnIUZQpRTIS+dOxDAbPd3IrycVULwtSFmt+og8MH6sCsC55w fw2K9Fxfwmkb9ym9dQI5tx71LJrFzOsoB+flxFH8gbxcOmI9+lio0Iic2WjpmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635584695; a=rsa-sha256; cv=none; b=jkEhghwvw7j9topMIO4IXGj03GJLrTovIKCjD+MYMcWF9dvIfHJpG687Dn5RevWzVirZrv X9nttC/gWBQMPW3FY5rAdjh2TR7Vr7Vy8tb7dEJcRszfIpdA8cF3aS63FzMbs/zcAYlS8/ rUIjGHZQdCIEWYLI1+S5MVp6pCpF2/hayZCJygu3Dxs2R9TE9+dbsiFSg0kJYcMndmdeQO Jq5+EATDLC6X+8vgqSdZHeFzXVVKkODwrlcOe1bAdaaW3R5/2l6klexGXXB2H2oOhBSY92 fILSlJ1jQsRju2a/q5KLkN2zFJT/Pp2rBbnmae2dW12Zuv6aQumsCPx5ArsrAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RrbWeM4Q; 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-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RrbWeM4Q; 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-Migadu-Queue-Id: 1B3F215BEC X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: TKSGrB2OlnC/ Johannes Mueller writes: > When using refill-mode in combination with org-mode adding a new section or a > list item at the end of the buffer, obviously because refill-mode steps in and > deletes the line break before the headline marker or the list marker. I would say that it is a bug in refill-mode. Org mode correctly sets `fill-paragraph-function', but refill-mode does not respect it. Best, Ihor