From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49007: 28.0.50; "docstring wider than 80" misfire Date: Tue, 15 Jun 2021 15:34:11 +0200 Message-ID: <87sg1juu98.fsf@gnus.org> References: <87czsozhgh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19199"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , 49007@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 15 15:37:48 2021 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 1lt9GG-0004iY-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 15:37:48 +0200 Original-Received: from localhost ([::1]:33730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt9GF-0004MD-45 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 09:37:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt9Da-0002LB-2t for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 09:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt9DZ-0000ec-RI for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 09:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt9DZ-0007pW-PX for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 09:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jun 2021 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49007 X-GNU-PR-Package: emacs Original-Received: via spool by 49007-submit@debbugs.gnu.org id=B49007.162376406430036 (code B ref 49007); Tue, 15 Jun 2021 13:35:01 +0000 Original-Received: (at 49007) by debbugs.gnu.org; 15 Jun 2021 13:34:24 +0000 Original-Received: from localhost ([127.0.0.1]:48719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt9Cy-0007oO-FG for submit@debbugs.gnu.org; Tue, 15 Jun 2021 09:34:24 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt9Cv-0007o5-TD for 49007@debbugs.gnu.org; Tue, 15 Jun 2021 09:34:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vOa0u3SS6DPzTD2R9zj4zlAaCTPyPgjT6Vcw2IVWKGI=; b=uiNFfSSmMVnJ4dvKsQggzxY60h N/n3CtIGNhTkAtbEBRRxcKNYN7oPaaAsgxsRZo/MQieAGz1eUIlN2pVWC6qscev/5xgPlal3yfyxG l3tg7H5ho3dEI0xOjTdeajYSSpXmQ5j8/0coZdfmDNU+Kpwf4IguG8SHcmAqTTxhMPKE=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt9Cm-0007DP-8j; Tue, 15 Jun 2021 15:34:14 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEX+/v6inZpdW1qZ cVtSQzyqh3TX1NDIlXTRrJPr6efdxrclJCU1NDQaGRkgHh99gIH///9QJp/gAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+UGDw0RDXjOCZkAAAGBSURBVEjHlZXLosIwCEQDIU8I/v/fXpJWe1eCLNTFHJlp CE3pFGBGwlxqClbNrfdMecSB3nujEtWnWkorJYcdpdSbeSphRynNZtXj+jRaaf2HBttTiUfeHUrO DcItBqCFmMgYYgbKktk74FrK0wdwMQsUgP1D0QeITWeuEiqLiGuqsjCvCWCk6ZfrCVSEFxAkOSgE IhghlIZ9GeCGOJmtYB6A2QtBRyVwDLG6nurRm2wcubiewBztJrS9Ke9H6wICasQUvQD+fo9wKe0u 1mYDIF4IVMUD6BWFfGCVA9zZ9x98B1jP1L0Bgz1g+/4AAuwBujUfgKq4AOEDqAFOBlj0RGCVSj8B LKEO+g+Y4gwT/FPvAh8gpA+0XjXn70DNZb6eg6vV3cm9zWc0uA7wLnXNtZ4TsPFmWzL+8ps17W1h +88mwxPfRabF8xEE7OgW/QrItuRusbtg3RcusLuvJ6X3bQjq03jPavgdRHrtvfCb+j3hvwJxS/c0 UVSf5jqbzD+3P3rvF5p8A/xkAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTE1VDEzOjE3OjEz KzAwOjAwhUJMdgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0xNVQxMzoxNzoxMyswMDowMPQf 9MoAAAAASUVORK5CYII= X-Now-Playing: David Bowie's _Reality (1)_: "She'll Drive the Big Car" In-Reply-To: (Stefan Monnier's message of "Mon, 14 Jun 2021 10:47:51 -0400") 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:208540 Archived-At: Stefan Monnier writes: >> So perhaps the correct fix here is to have the docstring width checker >> ignore those parts? > > Indeed: the (fn ...) on the last line of a docstring is not really part > of the text, it's just a chunk of data that happens to be stored using > its printed representation (I'm in part to blame for that design choice, > and I don't really like it either, but here we are). No matter where we go, there we are. I've now pushed a fix for this to Emacs 28 that fixes the test case. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no