From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44858: [PATCH] Make byte-compiler warn about wide docstrings Date: Sat, 19 Dec 2020 19:14:20 +0200 Message-ID: <83h7ohu39v.fsf@gnu.org> References: <87zh34wfxo.fsf@gnus.org> <87v9dss2ic.fsf@gnus.org> <83mtyk3ig4.fsf@gnu.org> <83wnxet4z9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44858@debbugs.gnu.org, larsi@gnus.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 18:15:27 2020 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 1kqfpG-0001Wv-Rn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 18:15:26 +0100 Original-Received: from localhost ([::1]:59412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqfpB-0001xL-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 12:15:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqfot-0001tY-M4 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqfot-0008Tz-Dj for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqfot-0005sA-7K for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 17:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44858 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44858-submit@debbugs.gnu.org id=B44858.160839808822524 (code B ref 44858); Sat, 19 Dec 2020 17:15:03 +0000 Original-Received: (at 44858) by debbugs.gnu.org; 19 Dec 2020 17:14:48 +0000 Original-Received: from localhost ([127.0.0.1]:43045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfoe-0005rE-Ey for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfoc-0005r1-M1 for 44858@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58543) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqfoX-0008Ro-4I; Sat, 19 Dec 2020 12:14:41 -0500 Original-Received: from [176.228.60.248] (port=4382 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqfoW-0007lA-BK; Sat, 19 Dec 2020 12:14:40 -0500 In-Reply-To: (message from Stefan Kangas on Sat, 19 Dec 2020 10:50:33 -0600) 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:196397 Archived-At: > From: Stefan Kangas > Date: Sat, 19 Dec 2020 10:50:33 -0600 > Cc: larsi@gnus.org, 44858@debbugs.gnu.org > > AFAICT, the offending lines are the ones containing URLs: > > line 2839: > > `https://sourceforge.net/tracker/index.php?func=detail&aid=1916032&group_id=13357&atid=113357'). > > line 2683: > > `https://sourceforge.net/tracker/index.php?func=detail&aid=1916032&group_id=13357&atid=113357'). > > I see two issues here: > > a) The URL does not easily break over two lines. I'm not sure what we > should do. Add a special case to ignore lines with URLs? If you can detect and ignore long lines that consist entirely of URL, yes, that would be good. Otherwise, simply ignore these warnings. > >> progmodes/cc-engine.el:183:1: Warning: defvar `c-vsemi-status-unknown-p-fn' > >> docstring wider than 80 characters > > > > I don't see how I can do anything about this one. > > I'm also stomped. Perhaps we could ask Alan for help with this one. If he can, sure.