From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#44858: [PATCH] Make byte-compiler warn about wide docstrings Date: Fri, 27 Nov 2020 10:55:50 -0800 (PST) Message-ID: <3189294a-01f8-4287-82a8-d0d1ed060759@default> References: <83h7pcqjxy.fsf@gnu.org> <87pn3zjivc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6843"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44858@debbugs.gnu.org, Stefan Kangas To: Lars Ingebrigtsen , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 27 19:58:11 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 1kiiwc-0001ei-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 19:58:10 +0100 Original-Received: from localhost ([::1]:51014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiiwb-0002xc-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Nov 2020 13:58:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiiwU-0002xA-Ex for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 13:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiiwU-0008MF-82 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 13:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiiwU-0001Cf-7H for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2020 13:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Nov 2020 18:58:02 +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.16065034804615 (code B ref 44858); Fri, 27 Nov 2020 18:58:02 +0000 Original-Received: (at 44858) by debbugs.gnu.org; 27 Nov 2020 18:58:00 +0000 Original-Received: from localhost ([127.0.0.1]:46204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiiwS-0001CN-8Z for submit@debbugs.gnu.org; Fri, 27 Nov 2020 13:58:00 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:57082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiiwQ-0001CA-QL for 44858@debbugs.gnu.org; Fri, 27 Nov 2020 13:57:59 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0ARInC4E061235; Fri, 27 Nov 2020 18:57:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=7fhfSGpxiDMBejzu0/VGTGFSzpYI6fSU2TzBkh+Q1jo=; b=IBZgqJGoF3AYZaluhl88LFXM66uNhla3pTLOr38dd8EjtqF03hOW49QNcCt8RXXAnnjJ CPt+AciD5ve6oTKph5VR2FX6m/2taYkHfLzAUgGk33d0Ps3fnXdMGAW043ejmWBOE63k 1G2PIDJMkSZP6G/zoaI/0mURo9QFi3LvKuqZVk50ToB3lGD12LCdONf3Gqj9k7w+tzHr glzeNF0Rlxjb+jNcJt/xTkIXKLRkdS0e14d61JxO3gWPdm8co0Im451Ar+qDxIfyRtp2 Px87/Lu3wp2SnapoOdna/wC7gb6lH1X/JOPnmuZVSZkleXHPy/w5Kuv9p3/Tiiu8wojN OQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 351kwhjbmw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Nov 2020 18:57:52 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0ARIoBVE192470; Fri, 27 Nov 2020 18:55:52 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 351n2mj96n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Nov 2020 18:55:52 +0000 Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0ARItpTN023901; Fri, 27 Nov 2020 18:55:51 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9818 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 phishscore=0 malwarescore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011270110 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9818 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxscore=0 impostorscore=0 suspectscore=0 adultscore=0 bulkscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011270110 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:194454 Archived-At: > > Yup. And 15% is mostly when it expands to `M-x some-long-command' > > because the keymap hasn't been loaded yet, I think? Which we could > > conceivably fix by loading the file when the used `C-h f's an > > autoloaded function with one of these constructs? Perhaps a bit > hacky... >=20 > Please, no. Users should be able to see the doc > without loading the library. That's an important > feature, IMO, which has been present from Day One > (or whatever day autoloading was introduced). >=20 > I'm all for cosmetic improvements and not having > long lines, believe me. But I think loading a > library just to (maybe!) change `M-x function-name' > to a key binding description is, I think, misguided. Or maybe you meant load only for byte-compilation? But even then, it's possible for byte-compiling to be done during a user's session, and in cases where there's no desire to load the library.