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#47775: First line length and GNU coding standards.... Date: Wed, 05 May 2021 15:20:41 +0200 Message-ID: <87bl9p5nbq.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2802"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , Filipp Gunbin , 47775@debbugs.gnu.org To: Marco Antoniotti Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 15:22:21 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 1leHTo-0000Xo-Ee for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 15:22:20 +0200 Original-Received: from localhost ([::1]:36852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leHTn-0003Dj-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 09:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leHSY-0001lU-ON for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 09:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leHSY-0008N8-H6 for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 09:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leHSY-0007kV-DU for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2021 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47775 X-GNU-PR-Package: emacs Original-Received: via spool by 47775-submit@debbugs.gnu.org id=B47775.162022085529749 (code B ref 47775); Wed, 05 May 2021 13:21:02 +0000 Original-Received: (at 47775) by debbugs.gnu.org; 5 May 2021 13:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:60158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leHSQ-0007jl-Og for submit@debbugs.gnu.org; Wed, 05 May 2021 09:20:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leHSO-0007jX-Nb for 47775@debbugs.gnu.org; Wed, 05 May 2021 09:20:53 -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=9H5s5SkUq3GnFQWPcm0s17/7sgYd2jIOUgDcGVPIfGk=; b=GMoJ1Vi4VfE8c6FHULMB1uuJe1 RKSk7kkj08r+DsrlZpAPp3OQFuDAJQoE4k13Lxy098kQlJfNJxUG/B4awWlhubFsQnlW7QJ7z1Yea BcHH11lJlXMNrQ+gkBBR3UzM5mGAf3yJ7oas5CbuNtKR95af+OnLHSDduEPY+zEooJEk=; 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 1leHSE-0001Kv-D9; Wed, 05 May 2021 15:20:45 +0200 X-Now-Playing: Sector 27's _Sector 27 Complete_: "Invitation: What Have We Got To Loose?" In-Reply-To: (Marco Antoniotti's message of "Mon, 19 Apr 2021 16:11:14 +0200") 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:205695 Archived-At: Marco Antoniotti writes: > The issue is "buffer variables" vs "convention of 'name --- description'. > > TRT is to "fix" checkdoc to look for the 'name --- description' within the first (10) > lines, AND/OR to revert to the old convention of having the '-*- ... -*-' line(s) within > the first 10. > > Once that is done, the documentation can be amended accordingly, relaxing the > mandate that the first line MUST start with ;;; foo --- bar. and no extra update in any > files will be needed. If I understand correctly, you want Emacs to recommend the following style to start .el files: ;;; -*- Mode: Emacs-Lisp; lexical-binding: t; some-var-with-a-long-name: t -*- ;;; foo.el --- The foo pkg, which also happens to have description 79 col long. This would break a lot of tooling that expects the first line to have the package name (and description), so that's not a feasible change. The local variable section is usually put at the end of the file, but lexical-binding is special, in that it's not "really" a local variable, but has other effects, and in that we're (at one point in the future) going to remove all these cookies when we flip the defaults, and then the first lines will be shorter than 79 characters again. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no