unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 56197@debbugs.gnu.org
Subject: bug#56197: 28.1; lisp-fill-paragraph result regressed with Emacs 28
Date: Sun, 26 Jun 2022 21:53:48 -0400	[thread overview]
Message-ID: <874k06zxar.fsf@gmail.com> (raw)
In-Reply-To: <87y1xlj6wn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 25 Jun 2022 13:53:44 +0200")

Hello,

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> ;; Emacs 28
>>     (description "IBus-Anthy is an engine for the input bus \"IBus\").  It adds the Anthy
>> Japanese language input method to IBus.  Because most graphical applications
>> allow text input via IBus, installing this package will enable Japanese
>> language input in most graphical applications.")
>
> [...]
>
>> Simply commenting out the newly added block, evaluating the defun and
>> running it on my example reverts to the previous correct behavior.
>
> I'm not sure the previous behaviour was any more correct.  It's now
> filling that string as if it, well, is a string, so that if you insert
> it somewhere, the lines have similar lengths.  The previous behaviour
> was to fill "what you see in the buffer", which is wrong in most
> contexts.
>
> So I don't know.  Anybody have an opinion?

Apologies if my previous example lacked too much context and confused
more than helped.  Here's another example, where I just experienced the
problem after revamping the GNU Guix 'font-abattis-cantarrel' package
definition:

--8<---------------cut here---------------start------------->8---
(define-public font-abattis-cantarell
  (package
    (name "font-abattis-cantarell")
    (version "0.303")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://gitlab.gnome.org/GNOME/cantarell-fonts")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1d1ay0fdqchk0wa5yqxis2c98imvzsbbd2kjv0x8sk4fm419847b"))))
    (build-system meson-build-system)
    (arguments
     (list #:configure-flags #~(list "-Dbuildstatics=true")))
    (native-inputs
     (list gettext-minimal
           psautohint
           python
           python-cffsubr
           python-fontmath
           python-statmake
           python-ufo2ft))
    (home-page "https://wiki.gnome.org/Projects/CantarellFonts")
    (synopsis "Cantarell sans-serif typeface")
    (description "The Cantarell font family is a contemporary Humanist sans-serif designed for
on-screen reading.  It is used by GNOME@tie{}3.  This package contains both
the non-variable as well as the variable versions of the font.")
    (license license:silofl1.1)))
--8<---------------cut here---------------end--------------->8---
    
This is a Scheme sexp extracted from the (gnu packages fonts) Guile
module.  Hitting `lisp-fill-paragraph' (M-q) causes the above
indentation, where the first line of the description extends past the
`fill-column' value.

I hope that helps,

Thanks!

Maxim





      parent reply	other threads:[~2022-06-27  1:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 16:17 bug#56197: 28.1; lisp-fill-paragraph result regressed with Emacs 28 Maxim Cournoyer
2022-06-25 11:53 ` Lars Ingebrigtsen
2022-06-25 12:42   ` Eli Zaretskii
2022-06-25 12:45     ` Lars Ingebrigtsen
2022-06-25 12:48       ` Lars Ingebrigtsen
2022-06-25 13:00         ` Lars Ingebrigtsen
2022-06-29 18:03           ` Stefan Kangas
2022-06-30  9:32             ` Lars Ingebrigtsen
2022-06-30  9:33               ` Lars Ingebrigtsen
2022-06-30 11:31               ` Maxim Cournoyer
2022-07-01  9:05                 ` Lars Ingebrigtsen
2022-06-27  1:53   ` Maxim Cournoyer [this message]

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=874k06zxar.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=56197@debbugs.gnu.org \
    --cc=larsi@gnus.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).