From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65790: 29.1; "docstring wider than 80 characters" when there is no docstring Date: Thu, 7 Sep 2023 01:52:00 -0700 Message-ID: References: <87edjbp1aq.fsf@cassou.me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16868"; mail-complaints-to="usenet@ciao.gmane.io" To: Damien Cassou , 65790@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 10:53:15 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 1qeAlH-0004Df-LN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 10:53:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeAlC-0003v1-9u; Thu, 07 Sep 2023 04:53:10 -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 1qeAl6-0003ug-2A for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 04:53:06 -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 1qeAl2-0003z1-R0 for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 04:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeAl3-0000IP-So for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 04:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 08:53: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.16940767381076 (code B ref 65790); Thu, 07 Sep 2023 08:53:01 +0000 Original-Received: (at 65790) by debbugs.gnu.org; 7 Sep 2023 08:52:18 +0000 Original-Received: from localhost ([127.0.0.1]:38545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeAkJ-0000HF-BX for submit@debbugs.gnu.org; Thu, 07 Sep 2023 04:52:17 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:53409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeAkD-0000Gw-3q for 65790@debbugs.gnu.org; Thu, 07 Sep 2023 04:52:13 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-500cfb168c6so1117100e87.2 for <65790@debbugs.gnu.org>; Thu, 07 Sep 2023 01:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694076721; x=1694681521; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=cDe4H8mBkR7lmqirAjqyT5Il/HAzIXL93RzZEY1r62U=; b=aOs+gBpgOOyo6JYOheEnn0ir2uLu3nE67QH9aC9rckxb/m/Cn20c5ZXP2jVx/HGLmX 8UFtOgMHLkheyDRDnyDLcG6ybrD2mKiICktGubJs/1kJ3hkpGeLLSAFj8qbBQa2tBlg9 x3A0tvnyVtLxjivhjUsYOoVycyJ/3SrwAPYX8LNyDmnz+3GAXp1y7G2CqQt9v6iZgmCM nMNoa8wAji97WdcpdDmcab27L66YaCwIzi1OMZ8AfE45wJH7tP3cvYgIDzGjKYcqNabg bD20Qt1CfnFGgZ2T+fQ6Sc1qfFnKYXDvb0VjlEpVDLOPCFGGqWpJ5mdvFbxpDVlrndeg jFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694076721; x=1694681521; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cDe4H8mBkR7lmqirAjqyT5Il/HAzIXL93RzZEY1r62U=; b=TQB/9GQPGIzvCg3uH1BTehyYBOBCwQM2d0WdVxakCfwSHhM0CK9H0zQiJEIbC1NUfc Kea7OPPcyvhS/gXA/ePHYlhaWYw2UNCfQ8zSt8725KdfadisppzG1RVKBhng8cZ49VTh m9ejQXm8SX9sMU55nFCoSEpn2JAHuxvptBnkM+LIvbkrRY+f0se67b5xmy5mzjFlWvql +tSg9I8kx8YI/klQKJFuYXdQdP7ISminzUNyh0FMx4Bu+L4XaYbYwD3cE1ueQwSjRgOa 7a0TKvApQqYxqeDsuFkt+U/wFZ+FtjuZBId8ukTZPm5jE9CBKfIlP6aVlz+eNehLq83h mmRw== X-Gm-Message-State: AOJu0YyBNf9be+0R5470fMn946DIUM1pWKQZVYf45VgKpa+XuT3SVwJp My5W6U911Ou8ZRBOGyDOKyIxHzmgmcBvePZM3Sh3oUw4tVU= X-Google-Smtp-Source: AGHT+IHbMIfzjbE+gZlM4U3i/KCwwvzfeaaIodGG6w9gm0g7pGTh80oyxbrdvHlqrWoloJQHIAry5K5f5N2w333hK3E= X-Received: by 2002:a05:6512:20cb:b0:500:8ecb:509 with SMTP id u11-20020a05651220cb00b005008ecb0509mr3643711lfr.15.1694076721306; Thu, 07 Sep 2023 01:52:01 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 7 Sep 2023 01:52:00 -0700 In-Reply-To: <87edjbp1aq.fsf@cassou.me> 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:269619 Archived-At: Damien Cassou writes: > I have this piece of code: > > (cl-defstruct (json-process-client-application > (:constructor json-process-client--application-create) > (:conc-name json-process-client--application-)) > message-callbacks) > > In GNU Emacs 29.1, "Warning: docstring wider than 80 characters" even > though I wrote no docstring here. I understand the problem lies in the > generated code and I agree the lisp names in my code are long. But, I > don't think the byte compiler should annoy me about docstrings I didn't > write. > > What do you think? 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. PS. As a work-around, you can set `byte-compile-docstring-max-column'.