X-Loop: help-debbugs@HIDDEN Subject: bug#68607: `fill-column` doesn't always fill paragraph in text-mode Resent-From: Konstantin Kharlamov <Hi-Angel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 20 Jan 2024 11:32:02 +0000 Resent-Message-ID: <handler.68607.B.17057503074922 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 68607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 68607 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17057503074922 (code B ref -1); Sat, 20 Jan 2024 11:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2024 11:31:47 +0000 Received: from localhost ([127.0.0.1]:33036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rR9Zj-0001H2-BK for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 06:31:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:58664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1rR9Zi-0001BK-1P for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 06:31:46 -0500 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 <Hi-Angel@HIDDEN>) id 1rR9ZZ-0003fg-Rl for bug-gnu-emacs@HIDDEN; Sat, 20 Jan 2024 06:31:37 -0500 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 <Hi-Angel@HIDDEN>) id 1rR9ZW-0007wq-G5 for bug-gnu-emacs@HIDDEN; Sat, 20 Jan 2024 06:31:37 -0500 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 <bug-gnu-emacs@HIDDEN>; Sat, 20 Jan 2024 14:31:27 +0300 (MSK) 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 Message-ID: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> From: Konstantin Kharlamov <Hi-Angel@HIDDEN> Date: Sat, 20 Jan 2024 14:31:27 +0300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:6b8:c03:500:1:45:d181:d101; envelope-from=Hi-Angel@HIDDEN; 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Konstantin Kharlamov <Hi-Angel@HIDDEN> Subject: bug#68607: Acknowledgement (`fill-column` doesn't always fill paragraph in text-mode) Message-ID: <handler.68607.B.17057503074922.ack <at> debbugs.gnu.org> References: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> X-Gnu-PR-Message: ack 68607 X-Gnu-PR-Package: emacs Reply-To: 68607 <at> debbugs.gnu.org Date: Sat, 20 Jan 2024 11:32:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 68607 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 68607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68607 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#68607: `fill-column` doesn't always fill paragraph in text-mode Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 20 Jan 2024 11:58:01 +0000 Resent-Message-ID: <handler.68607.B68607.170575187419915 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 68607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Konstantin Kharlamov <Hi-Angel@HIDDEN> Cc: 68607 <at> debbugs.gnu.org Received: via spool by 68607-submit <at> debbugs.gnu.org id=B68607.170575187419915 (code B ref 68607); Sat, 20 Jan 2024 11:58:01 +0000 Received: (at 68607) by debbugs.gnu.org; 20 Jan 2024 11:57:54 +0000 Received: from localhost ([127.0.0.1]:33070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rR9yz-0005B8-P4 for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 06:57:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rR9yx-0005As-01; Sat, 20 Jan 2024 06:57:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rR9yo-0001zg-R0; Sat, 20 Jan 2024 06:57:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v25FAb43/1QSonbHAVzmvUBBibNZKYms685/s5N7htY=; b=jV3fi2tMazFQ NdRMfm8BR84qkuAcbweZKi9chiJJR897YJ/qj0dwyz2NWrl1K71857zb9RDLwuGcinlkf4W/+DMLH 6FT1pGK0KCQSZRCoz8KsOd8bCVEQQe89zUwh7MIAmnesuBEQA2vwERej8sRnFRgjH9onqDHpbO53u gOOesnAAeX94+CtG+YQupB6wTMSpBIAdk3DC8owglSXDYbgkj7fGGwLGSaYC/fv4hjfGIaCA4JhVn GPdju17db7k7jgzJ0HtKR9J2mQkZyh3ZDJNR4VLM85goEXqr2BAaQDH/mK134cy2A/axhJopeoG6b Ig8s15DYzjXjQXOgu2unvg==; Date: Sat, 20 Jan 2024 13:57:21 +0200 Message-Id: <8334ustdy6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> (message from Konstantin Kharlamov on Sat, 20 Jan 2024 14:31:27 +0300) References: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 68607 notabug thanks > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > Date: Sat, 20 Jan 2024 14:31:27 +0300 > > 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 You leave only 1 space between sentences, but didn't customize sentence-end-double-space to nil to match your style. This is a cockpit error, Emacs works as intended.
Received: (at control) by debbugs.gnu.org; 20 Jan 2024 11:57:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 06:57:54 2024 Received: from localhost ([127.0.0.1]:33072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rR9z0-0005BA-2B for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 06:57:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rR9yx-0005As-01; Sat, 20 Jan 2024 06:57:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rR9yo-0001zg-R0; Sat, 20 Jan 2024 06:57:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v25FAb43/1QSonbHAVzmvUBBibNZKYms685/s5N7htY=; b=jV3fi2tMazFQ NdRMfm8BR84qkuAcbweZKi9chiJJR897YJ/qj0dwyz2NWrl1K71857zb9RDLwuGcinlkf4W/+DMLH 6FT1pGK0KCQSZRCoz8KsOd8bCVEQQe89zUwh7MIAmnesuBEQA2vwERej8sRnFRgjH9onqDHpbO53u gOOesnAAeX94+CtG+YQupB6wTMSpBIAdk3DC8owglSXDYbgkj7fGGwLGSaYC/fv4hjfGIaCA4JhVn GPdju17db7k7jgzJ0HtKR9J2mQkZyh3ZDJNR4VLM85goEXqr2BAaQDH/mK134cy2A/axhJopeoG6b Ig8s15DYzjXjQXOgu2unvg==; Date: Sat, 20 Jan 2024 13:57:21 +0200 Message-Id: <8334ustdy6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Konstantin Kharlamov <Hi-Angel@HIDDEN> In-Reply-To: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> (message from Konstantin Kharlamov on Sat, 20 Jan 2024 14:31:27 +0300) Subject: Re: bug#68607: `fill-column` doesn't always fill paragraph in text-mode References: <6af05736012799df255476eb0e6b6a9a99e61732.camel@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 68607 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 68607 notabug thanks > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > Date: Sat, 20 Jan 2024 14:31:27 +0300 > > 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 You leave only 1 space between sentences, but didn't customize sentence-end-double-space to nil to match your style. This is a cockpit error, Emacs works as intended.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.