From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56796: 29.0.50; Hard newlines not respected in code comments? Date: Fri, 29 Jul 2022 20:25:14 +0530 Message-ID: <87fsikynn1.fsf@gmail.com> References: <8735ema73q.fsf@gmail.com> <83k07xaea1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32032"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: eliz@gnu.org, monnier@iro.umontreal.ca To: 56796@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 29 16:56:18 2022 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 1oHRPW-00089a-Kf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 16:56:18 +0200 Original-Received: from localhost ([::1]:58038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHRPV-00019e-7Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 10:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHRPJ-00019J-8R for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 10:56:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHRPG-0003Bf-4r for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHRPF-0000Rk-TB for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 10:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jul 2022 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56796 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Eli Zaretskii , Stefan Monnier , 56796@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16591065331668 (code B ref -1); Fri, 29 Jul 2022 14:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2022 14:55:33 +0000 Original-Received: from localhost ([127.0.0.1]:33196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHROn-0000Qp-Gk for submit@debbugs.gnu.org; Fri, 29 Jul 2022 10:55:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHROj-0000QZ-UN for submit@debbugs.gnu.org; Fri, 29 Jul 2022 10:55:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHROj-00017m-Oe for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 10:55:29 -0400 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:35562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHROi-00039e-7W; Fri, 29 Jul 2022 10:55:29 -0400 Original-Received: by mail-pf1-x444.google.com with SMTP id c139so4847391pfc.2; Fri, 29 Jul 2022 07:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc; bh=1AwzvkUA31M1XrH9JwFcwgQRrhll9GoroZeuILO+JpA=; b=gIxscNyUdCOzQVjqXqwoKdSztLsYK5beJluhyj2DkEKkJzUrnOALLRm6m1ayukqB/Y 4btOvhglTRj6ppyLzC5/Sq239sQHCHbxghoPecGaNGy6SVGag115QPQ5KI2eZ0YZocKY 3aDsv5J6DGVV1okk0NHMOHInujrs/CQ779+BcAv3h+kBeFDGSbm2mtBv4dDdAmfTJ+5C pXJ0DsqGcDemaw8MYpqueAUZycDU5VzTZr2jgkxySi3vkXp1FUjvLOvF9V8nSzj/Xur2 DqEax+ThU7vtNa7JlTq6kaZUawSXK93qaMMzlpRs45YJ9twMKQR/+SFwtE4WmHoTKK+T p4pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc; bh=1AwzvkUA31M1XrH9JwFcwgQRrhll9GoroZeuILO+JpA=; b=rh2N07rFb1bhHzOP+ANm/uuhQknusgN7COpX3P52h9jhrjcCg1aoVDd+KyvvpWTK/H 8r4QWUhAN+8kp6qnu/bt+frJJggoXNqkVldVXYgikf7ty026yoWN/5mbIqHRZizYn9aQ If3kVBCrS/2cbEn6J9IrGYx/DFYTVokrD7TUKp3fqq4IDdlOGu+/aO29goAZRFq1RTNa A/Xlr4VmUiNI4gbzGabN3wVWs2q/lowY+o+yp2bGNfyV8LTqMbR0U+tgY7xvEvYMsl1o 2+YXJ7XhhSByC5O+R9yaKtCFDan3Si7AI0foOEgHv79rZIosTdMZp6c8+Q9Q8HXwlfRA FV4g== X-Gm-Message-State: AJIora+hh4zFNGEul1v7ZaXpXA43rBFY4QYHti2yLWX8+Dla45oz45AQ OY9FPx+pVJwIHXBMtltphqzKILTcZ9Q= X-Google-Smtp-Source: AGRyM1scOcCc2hAzpVcsBjSTt5gi7Z3LwyPkfvjnRlDd6RvTukB6UuHOgwX1p3Z1wqz5Renb7FnGew== X-Received: by 2002:a05:6a00:1a86:b0:52a:d419:9552 with SMTP id e6-20020a056a001a8600b0052ad4199552mr3925199pfv.70.1659106525649; Fri, 29 Jul 2022 07:55:25 -0700 (PDT) Original-Received: from localhost ([49.204.115.236]) by smtp.gmail.com with ESMTPSA id c16-20020a170902d49000b0016c0eb202a5sm3742808plg.225.2022.07.29.07.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 07:55:24 -0700 (PDT) In-Reply-To: (Stefan Monnier via's message of "Fri, 29 Jul 2022 10:32:21 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x444.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: 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:238185 Archived-At: [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82= =E0=AE=B2=E0=AF=88 29, 2022] Stefan Monnier via "Bug reports for GNU Emacs,= the Swiss army knife of text editors" wrote: > At the same time, I'm not sure how important it is to handle hard > newlines in ELisp comments, so I'm not sure how important it is to > fix this. This bug report only gives a (good) recipe but not a good > reason for doing such a thing, so maybe some context explaining how/why > such hard newlines can appear in comments would help motivate a fix. Well, wrt Elisp comments at least, we have the Commentary section where we write quite a lot about the package in question where having hard newlines would be really handy since you write those text like you do in a regular text buffer. More generally: I'm not sure how common this pattern is but I tend to do ;; TODO/FIXME: Something... ;; Ideas and thoughts on how to clear it here. Now if you do M-q there, your neatly arranged text is destroyed. (I am probably biased) I also catch this pattern in the Emacs source tree as well. [ Although not related to Elisp: Documentation for functions/whatever in Go are written as comments. ]