From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45582: 28: auto-fill final line of indented paragraph Date: Fri, 01 Jan 2021 09:12:07 +0200 Message-ID: <83a6ttgmgo.fsf@gnu.org> References: <20201231232325.chb374puao3t4rze@E15-2016.optimum.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20193"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45582@debbugs.gnu.org To: Boruch Baum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 01 08:13:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvEcd-0005BK-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jan 2021 08:13:15 +0100 Original-Received: from localhost ([::1]:56006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvEcc-0004oj-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jan 2021 02:13:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvEcQ-0004oA-Kf for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2021 02:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvEcQ-0007Lp-Db for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2021 02:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kvEcQ-0002pa-9Z for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2021 02:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jan 2021 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45582 X-GNU-PR-Package: emacs Original-Received: via spool by 45582-submit@debbugs.gnu.org id=B45582.160948517410815 (code B ref 45582); Fri, 01 Jan 2021 07:13:02 +0000 Original-Received: (at 45582) by debbugs.gnu.org; 1 Jan 2021 07:12:54 +0000 Original-Received: from localhost ([127.0.0.1]:48004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvEcI-0002oH-Df for submit@debbugs.gnu.org; Fri, 01 Jan 2021 02:12:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvEby-0002l7-6F for 45582@debbugs.gnu.org; Fri, 01 Jan 2021 02:12:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39096) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvEbr-00073H-M4; Fri, 01 Jan 2021 02:12:28 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4633 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kvEbp-0005Q7-Pw; Fri, 01 Jan 2021 02:12:26 -0500 In-Reply-To: <20201231232325.chb374puao3t4rze@E15-2016.optimum.net> (message from Boruch Baum on Thu, 31 Dec 2020 18:23:25 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197111 Archived-At: > Date: Thu, 31 Dec 2020 18:23:25 -0500 > From: Boruch Baum > > 1) Start emacs -Q -nw > 2) In the scratch buffer > 3) M-x set-fill-column 10 > 4) Enable auto-fill-mode > 5) Type two spaces > 6) Type about twenty single character words > > At this point everything looks good; we have several indented lines of a > paragraph. > > 7) Type return to end the paragraph > > I'm now getting the final line, that had prior been properly indented, > now re-aligned / out-dented to column 1. You are in Lisp Interaction mode, which has its own indentation rules. Try this in Fundamental mode, and you will see the behavior you expect, I think. IOW, I don't think there's a bug here. But if there is a bug, please tell what behavior you expected and why. To investigate this further, note that electric-indent-mode is ON, and see the doc string shown by "C-h k RET".