unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Konstantin Kharlamov <Hi-Angel@yandex.ru>
To: 68607@debbugs.gnu.org
Subject: bug#68607: `fill-column` doesn't always fill paragraph in text-mode
Date: Sat, 20 Jan 2024 14:31:27 +0300	[thread overview]
Message-ID: <6af05736012799df255476eb0e6b6a9a99e61732.camel@yandex.ru> (raw)

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-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) of 2024-01-18





             reply	other threads:[~2024-01-20 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20 11:31 Konstantin Kharlamov [this message]
2024-01-20 11:57 ` bug#68607: `fill-column` doesn't always fill paragraph in text-mode Eli Zaretskii
2024-10-05  1:17   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6af05736012799df255476eb0e6b6a9a99e61732.camel@yandex.ru \
    --to=hi-angel@yandex.ru \
    --cc=68607@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).