From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#65790: 29.1; "docstring wider than 80 characters" when there is no docstring Date: Thu, 07 Sep 2023 11:33:01 +0200 Message-ID: <87fs3qwcoi.fsf@cassou.me> References: <87edjbp1aq.fsf@cassou.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24503"; mail-complaints-to="usenet@ciao.gmane.io" To: Stefan Kangas , 65790@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 11:34:13 2023 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 1qeBOv-00069X-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 11:34:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeBOk-0001q6-Vw; Thu, 07 Sep 2023 05:34:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeBOi-0001pE-WA for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 05:34:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeBOi-0005Vh-LW for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 05:34:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeBOj-00041Q-KF for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 05:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65790 X-GNU-PR-Package: emacs Original-Received: via spool by 65790-submit@debbugs.gnu.org id=B65790.169407918715398 (code B ref 65790); Thu, 07 Sep 2023 09:34:01 +0000 Original-Received: (at 65790) by debbugs.gnu.org; 7 Sep 2023 09:33:07 +0000 Original-Received: from localhost ([127.0.0.1]:38625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeBNq-00040I-Sf for submit@debbugs.gnu.org; Thu, 07 Sep 2023 05:33:07 -0400 Original-Received: from mail.choca.pics ([80.67.172.235]:42396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeBNp-000409-7T for 65790@debbugs.gnu.org; Thu, 07 Sep 2023 05:33:05 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id EA35918193F45; Thu, 7 Sep 2023 11:33:02 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavis, port 10032) with ESMTP id 12TDQkQGRpOO; Thu, 7 Sep 2023 11:33:02 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 612CB18193F48; Thu, 7 Sep 2023 11:33:02 +0200 (CEST) X-Virus-Scanned: amavis at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavis, port 10026) with ESMTP id yZgp_S8_CWCo; Thu, 7 Sep 2023 11:33:02 +0200 (CEST) Original-Received: from localhost (unknown [IPv6:2001:41d0:fc22:6000:7f35:2bb3:a3e6:d73a]) by mail.choca.pics (Postfix) with ESMTPSA id E56D318193F45; Thu, 7 Sep 2023 11:33:01 +0200 (CEST) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269630 Archived-At: Stefan Kangas writes: > Yes, it would be nice not to get that warning. I fixed many such > problems when I first added the warning about long docstrings. > > Patches welcome. The only patch I can think of would change the macro so that the docstring references each name on a line of its own. This way, we would only get a warning if the name itself is more than 80 characters. Would that be a reasonable patch for you? > PS. As a work-around, you can set `byte-compile-docstring-max-column'. Thank you for this. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill