From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#68607: `fill-column` doesn't always fill paragraph in text-mode Date: Sat, 20 Jan 2024 14:31:27 +0300 Message-ID: <6af05736012799df255476eb0e6b6a9a99e61732.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.50.3 To: 68607@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 20 12:32:18 2024 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 1rR9aD-0002JU-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jan 2024 12:32:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR9Zx-0004E1-4J; Sat, 20 Jan 2024 06:32:01 -0500 Original-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 1rR9Zv-0004DA-Jh for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 06:31:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR9Zv-00081Y-BW for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 06:31:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rR9Zy-0001Ra-38 for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 06:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jan 2024 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68607 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17057503074922 (code B ref -1); Sat, 20 Jan 2024 11:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jan 2024 11:31:47 +0000 Original-Received: from localhost ([127.0.0.1]:33036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR9Zj-0001H2-BK for submit@debbugs.gnu.org; Sat, 20 Jan 2024 06:31:47 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:58664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR9Zi-0001BK-1P for submit@debbugs.gnu.org; Sat, 20 Jan 2024 06:31:46 -0500 Original-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 1rR9ZZ-0003fg-Rl for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 06:31:37 -0500 Original-Received: from forward101c.mail.yandex.net ([2a02:6b8:c03:500:1:45:d181:d101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rR9ZW-0007wq-G5 for bug-gnu-emacs@gnu.org; Sat, 20 Jan 2024 06:31:37 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net [IPv6:2a02:6b8:c08:47a7:0:640:b27a:0]) by forward101c.mail.yandex.net (Yandex) with ESMTP id F33E160A80 for ; Sat, 20 Jan 2024 14:31:27 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id RVNrSHAi3mI0-EExW9fye; Sat, 20 Jan 2024 14:31:27 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1705750287; bh=i3xlaVr0WncZGBZJNsWLujdUkaJX9heOng2myN628+U=; h=To:Message-ID:Subject:Date:From; b=jK+//trFiBJfotySN3gD/GaJORncNpyMlQIajjef4G7VNVvPgA2F6AhA2oBzI6hPX aSbA6M+OtWEzkA+Ttr1krq5F2wBYWOa/MGpc2L567Sf0y9faWC9GIjq9muDc4Er4Nl aKBIYiLx4yLQVj0OZyxg+wcN1eRM2oNdVCZpVVlg= Authentication-Results: mail-nwsmtp-smtp-production-main-91.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received-SPF: pass client-ip=2a02:6b8:c03:500:1:45:d181:d101; envelope-from=Hi-Angel@yandex.ru; helo=forward101c.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278596 Archived-At: I saw that behavior in different circumstances many times, but this time I noticed it while working on the NEWS entry as part of #68579 and it's an easy testcase, so I decided to report. # Steps to reproduce 1. Create a `1.txt` file with the following text: It is now possible to pass a directory of a local repository as URL inside 'treesit-language-source-alist', so that calling 'treesit-install-language-grammar' would avoid cloning the repository. It may be useful for example for the purposes of bisecting a treesitter grammar. 2. Open it with `emacs -Q 1.txt` 3. Evaluate (setq fill-column 71) 4. Put a caret over the paragraph and press M-q (alternatively execute M-x fill-paragraph) ## Expected Lines 3 and 4 will change such that the word `repository` gets moved to the= 3rd line. ## Actual Nothing happens # Version Emacs build from git 2 days ago: GNU Emacs 30.0.50 (build 1, x86_64-pc-linu= x-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) of 2024-01-18