From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GANVA+BeymIetwAAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 07:08:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4KBeAuBeymIJYgEAG6o9tA (envelope-from ) for ; Sun, 10 Jul 2022 07:08:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A7A641970A for ; Sun, 10 Jul 2022 07:08:47 +0200 (CEST) Received: from localhost ([::1]:43606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAPBW-0007GY-HP for larch@yhetil.org; Sun, 10 Jul 2022 01:08:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAPAw-0007GB-U7 for guix-devel@gnu.org; Sun, 10 Jul 2022 01:08:10 -0400 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:34786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAPAv-0000rm-C7 for guix-devel@gnu.org; Sun, 10 Jul 2022 01:08:10 -0400 Received: by mail-qt1-x82f.google.com with SMTP id g28so3524778qts.1 for ; Sat, 09 Jul 2022 22:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=MfJuWgX2tsnxfK3IpjvW6Ry2AcRqAfACDQNornXJkgQ=; b=GNrUz6Y19rlWuwfStOj/vJTRQJ4L6nFi4R9pa0bmMGgxBJ0asBjgfzUvZXnjmojcqV o43jLrjLzlxtyGxTSZ5PYpzIhkYNAFt9SOUuuTDsiegR2KeXz03/n9zUyZgZ3HCJQG+3 uNKDSppfxW/Md5eg/qf9vR5GOF3TlUfGhlFymiC8Ot/odV+N1l0LYtq0zRMid4OV0RDh ISREvXmr7IBq4GMTTcPyrMqfZhmxldnN3V29oZJ+DQ55B2i6xLNk+EgaeXod22iNH2ZG 3hJhM/c4LKlEs2mT3Lqi0841BJUsiS9swVF7EL/7uC0/KLrIiiqOPxvL9wuPWv9YI3NR ToPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=MfJuWgX2tsnxfK3IpjvW6Ry2AcRqAfACDQNornXJkgQ=; b=UuvN8BptnCuw/N3fs6UZmOfhQmEWx/jICem/mSQYlVrIqODCzXXeZDoxTSKEDc0jWH /oSH2PX8dtnhD+wXtg8oIT/CawkkbYK2jr2BPi/6lB0hGkZp8MdxIgh1O9tNF3prQFRT 3k+tgokP8h8UzQ5QGGT07IPePM9b5Ow4T7U9PJG7FdZnQP3Q3Xav/vgdAIBcoF6b2dDV oHtTWm69ALFC/O2wOvoc2DdXUZZzVkiuZYz1HzpWzldsCZ/7zjrGMMT0ardS4L6mDM18 nBvLvS5tuXcj9fgsKNs9dOWVQODSqO24FwKx7wvOLOjrnEfhSQQrRPGaxcZlNj7ZxW4z mwDQ== X-Gm-Message-State: AJIora9XnKiGi/Yek2/Xztu4k9MeoTB5lrUKnlcjjCRgpC8TwkmmFh3d 73fSddzGuiUGK8pyCWvYHaVrnU1/KqYhmQ== X-Google-Smtp-Source: AGRyM1uKUMercv76Q5hVKapS7A5IFOxqfBD1jekpnj52vElp0dC+yIM7MlpWudsrRpwQLtm6SARb/Q== X-Received: by 2002:a05:622a:1a8d:b0:31b:f4b9:6513 with SMTP id s13-20020a05622a1a8d00b0031bf4b96513mr9135635qtc.641.1657429688089; Sat, 09 Jul 2022 22:08:08 -0700 (PDT) Received: from hurd (dsl-10-135-142.b2b2c.ca. [72.10.135.142]) by smtp.gmail.com with ESMTPSA id h9-20020a05620a244900b006af59e9ddeasm2917013qkn.18.2022.07.09.22.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jul 2022 22:08:07 -0700 (PDT) From: Maxim Cournoyer To: Ricardo Wurmus Cc: guix-devel Subject: Re: Broken lisp-fill-paragraph post Emacs 28 update References: <87sfnbuheo.fsf@gmail.com> <8735fazsdt.fsf@elephly.net> Date: Sun, 10 Jul 2022 01:08:06 -0400 In-Reply-To: <8735fazsdt.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 09 Jul 2022 08:53:37 +0200") Message-ID: <87fsj9ftc9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657429727; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MfJuWgX2tsnxfK3IpjvW6Ry2AcRqAfACDQNornXJkgQ=; b=cSPGnSquGmZVza7Xw5kthnNN/H0+U9bSDRfQemkuuLee06MtHG0+RjXOZ6fpZTUS4gMKuj ybV8GVpN8pvHLzVhZI/jvFrRZw5zIgJ5CQs1+zBQIqbQNg6lPUBCMdZou9I5Hf+hSl0Fir 3GSnhNkdzKYsHJUxj08gtvxoiHtiqac/wx534ugnZQSfAjG8Poc36TA+5T11KeL28VW5e3 N/b7w2MGFA7k2RuwlETkJ2LKZg9ZyWdy4V6DzfO5/lb8k7Zl6aNxwXSnn4Y6Ai5D0Uc4t8 z6KfS6h7XHpj69OqpgRjDqhrIHUFXT5Qjga6wLcuY8rb49n02HiKtCWpRRsmwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657429727; a=rsa-sha256; cv=none; b=bwsNOTtPl2Epb0JiaOdwy/TdIuanO3x3HIJjUM4I7MA5H+nodNG1Thp+LuW2XWUBDUQfpQ Mw06BdB8zqV+Buj3TGMW768tE41b6BURdnHIvDyWczsaa0E1Mm00DUtdGjAaj6njKdIfQf Dnyfo763/cvoplfMRJOBEPBAwg3oecmMEP8g+6gTYch9MdqECF8UohsTtmj8PgH3xp24LM MN+ZC6cElBKRyQb/nSNdH7LuiPoSZ5RcBHH1QVYosaojdJSyTApbpn+uwDeZB0Q0Z5lR5I 3AByI3eGFYqSM6PtzMLw7ScXwfYHCTrsdIaCgijgA2oemCeNGO7KSI+GqpwBGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GNrUz6Y1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GNrUz6Y1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A7A641970A X-Spam-Score: -5.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: sL62vVdBz1o+ Hi, Ricardo Wurmus writes: > Hi Maxim, > >> The problem was introduced in commit 9bf367e1848, which aimed to improve >> the handling of Elisp docstrings. To revert to the old version (the one >> that shipped with Emacs 27), you can put this in your .emacs: >> >> (require 'lisp-mode) >> (defun lisp-fill-paragraph (&optional justify) >> (interactive "P") >> (or (fill-comment-paragraph justify) >> (let ((paragraph-start >> (concat paragraph-start >> "\\|\\s-*\\([(;\"]\\|\\s-:\\|`(\\|#'(\\)")) >> (paragraph-separate >> (concat paragraph-separate "\\|\\s-*\".*[,\\.]$")) >> (fill-column (if (and (integerp emacs-lisp-docstring-fill-co= lumn) >> (derived-mode-p 'emacs-lisp-mode)) >> emacs-lisp-docstring-fill-column >> fill-column))) >> (fill-paragraph justify)) >> ;; Never return nil. >> t)) >> >> For more details, you can refer to the (now closed) upstream bug report >> here [0]. >> >> [0] https://issues.guix.gnu.org/56197 > > Oof, that=E2=80=99s a frustrating discussion. Interesting how it took ju= st > *one* comment to dismiss the new bug report with =E2=80=9Cthe votes are i= n=E2=80=9D :-/ > > Thanks for the procedure definition above. Do you think we should > enable this by default in the guix-devel minor mode? I went ahead and pushed a changed to our .dir-locals.el file that reverts the behavior of lisp-fill-paragraph to that of Emacs 27 (see commit c9fb789fe9) Along with an update to our paredit package, it does the job. Let me know if something doesn't work as advertised. Thanks, Maxim