From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: No Wayman Newsgroups: gmane.emacs.bugs Subject: bug#50842: Fwd: bug#50842: 28.0.50; problem with fill-paragraph Date: Tue, 28 Sep 2021 12:19:05 -0400 Message-ID: <87v92k8yce.fsf@gmail.com> References: <87zgrw9067.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.0; emacs 28.0.50 To: 50842@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 28 18:23:13 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 1mVFst-0000k8-O8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 18:23:11 +0200 Original-Received: from localhost ([::1]:41658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVFss-0000Up-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 12:23:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVFsk-0000Th-NL for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 12:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVFsk-0003WR-F0 for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVFsk-0005TF-8e for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 12:23:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pmsuz3z8.fsf@a16n.net> Resent-From: No Wayman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Sep 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50842 X-GNU-PR-Package: emacs Original-Received: via spool by 50842-submit@debbugs.gnu.org id=B50842.163284612220932 (code B ref 50842); Tue, 28 Sep 2021 16:23:02 +0000 Original-Received: (at 50842) by debbugs.gnu.org; 28 Sep 2021 16:22:02 +0000 Original-Received: from localhost ([127.0.0.1]:46773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVFrl-0005RL-Rl for submit@debbugs.gnu.org; Tue, 28 Sep 2021 12:22:02 -0400 Original-Received: from mail-qk1-f181.google.com ([209.85.222.181]:40727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVFrk-0005Qz-Il for 50842@debbugs.gnu.org; Tue, 28 Sep 2021 12:22:00 -0400 Original-Received: by mail-qk1-f181.google.com with SMTP id 72so41033853qkk.7 for <50842@debbugs.gnu.org>; Tue, 28 Sep 2021 09:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:message-id:mime-version; bh=SL89d2M/PHXPtK7li7DVIsJ9vj/HWRhDZYDiCnEJrzw=; b=KHZLf9t6S3b245wk79iroTVKBdS3QE4bzdRiQACYNtf1w3bQ8jWIv3/II6kBdmTc1H SkHcRyOq9emXVWfbaBRWgA8Ph6+Sy8ROGTPB3VYVAH9jsu67qmXluKQy5j/b3dQsnhmw pubxs34ujVfWEHWEUvDhW2XwESQbg0HvjXxQvXsmlvhXMA6eqhPgP1IqdwoqUiaDHbEA fGXlEKq2a4lQCWCXg+yLJfGSCSMltQ3+uahfGorzrtv3oXEyF/bKEkagWok6k8NGiKIW ifuLitR7PA5XM/ZBDNbP0KHRq8OlAOyG9jND9QentWL5sOdpo/fRJ3+x7IwhNDWeqhQ7 TS8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :message-id:mime-version; bh=SL89d2M/PHXPtK7li7DVIsJ9vj/HWRhDZYDiCnEJrzw=; b=PQw9xQVsuFxQVLdDEJRvuuOdNGan+lFtQxSy7CRUFUKWHiHcvtE5xzl/xM3mDGqtLG HRmE2atdONTZpFVcMYdDT++QpKgjnF0SANwwMEV4xhXd9KKv+CKPOwAjRHblZaB98bPH ZN0PSapjlOYSBsB6O05x5ELv/qI2oEwTUucJpp6ELTwnIMc8PFmGATf0k0I2ME2q20pA sfSj00P9FLTYDBBSiOgmN4b8kQ5zA6bxBC/gYbEClBIMWq4AQ8OOv9t5gwmHFPVqkwD4 UuLlV5Pe6a+Wq6CRMxE2NmhE3h8YSZ5B6aP849ent27aEMF/Ekb+5QAbAp3od1L8AnDs e3vw== X-Gm-Message-State: AOAM532vVFilwzay9FNZ2xcTckROupwSnMulQg9Tq5ezrhmEahKSfufS z+dqD6tKXbvwuHHxd0GsJaJwPicgW9Q= X-Google-Smtp-Source: ABdhPJxqJtIAXO7S43IezKoCNsmYQm8yG4/i5bKDExsuONhniFJwqTTrxmWwcsW9EUISHIiBGCkxIQ== X-Received: by 2002:ae9:dc04:: with SMTP id q4mr836644qkf.148.1632846114754; Tue, 28 Sep 2021 09:21:54 -0700 (PDT) Original-Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id k2sm13039341qtg.35.2021.09.28.09.21.53 for <50842@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 09:21:54 -0700 (PDT) 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:215780 Archived-At: Apologies. I used the "Reply" button on the bug archive page and didn't realize it would just reply to Lars. I hope I'm forwarding this to the right address so it can be seen by all in the thread. > Ah, that's the missing detail. Apologies if this is an unwelcome intrusion, but I'm currently working on a package to prevent this type of confusion during bug reproduction: https://www.github.com/progfolio/yodel The basic idea is to provide macros which make declaring a reproduction case easier. It runs the test and provides a formatted report which others can run and compare results. The reports can be re-formatted easily after they've been run. Yodel currently supports github markdown, reddit markdown, Org syntax, and can easily be extended to support other formats. As a case study, I wrote a test for this bug. The yodel-file macro removes the ambiguity of "Copy this into a buffer, do this with point here, etc". The yodel macro runs the test locally in a temporary, clean Emacs environment, and presents the formatted report. Here's the resultant report in Org syntax: * YODEL REPORT [2021-09-28 11:12:45] #+begin_src emacs-lisp :lexical t :results silent (yodel :post* (yodel-file :point "|" :with* "From: xxx To: xxx Subject: xxx You wrote: > | bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla " :then* (message-mode) (fill-paragraph) (print (buffer-substring-no-properties (point-min) (point-max))))) #+end_src ** STDOUT: #+begin_src emacs-lisp :lexical t :results silent "From: xxx To: xxx Subject: xxx --text follows this line-- You wrote: > bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla" #+end_src ** Environment - =emacs version=: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-09-23 - =system type=: gnu/linux Just food for thought on how we could better approach reproducing bugs. Thanks, Nick