From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40148: 26.3; Custom package header checked out from GIT in Windows will not parse Date: Sat, 21 Mar 2020 09:35:07 +0200 Message-ID: <83h7yidutw.fsf@gnu.org> References: <83o8srdt6t.fsf@gnu.org> <85v9mznlx4.fsf@gmail.com> <83lfnvdqw5.fsf@gnu.org> <85sgi2olkg.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40148@debbugs.gnu.org, mangelozzi@gmail.com To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 21 08:36:12 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 1jFYfz-000TZN-7S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 08:36:11 +0100 Original-Received: from localhost ([::1]:34074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFYfx-0006Qr-Si for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 03:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39938) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFYfr-0006Qj-5Z for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 03:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFYfq-0007s9-7u for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 03:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFYfq-0007s5-51 for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFYfq-0003Z3-1o for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 03:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Mar 2020 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40148 X-GNU-PR-Package: emacs Original-Received: via spool by 40148-submit@debbugs.gnu.org id=B40148.158477611413648 (code B ref 40148); Sat, 21 Mar 2020 07:36:02 +0000 Original-Received: (at 40148) by debbugs.gnu.org; 21 Mar 2020 07:35:14 +0000 Original-Received: from localhost ([127.0.0.1]:45886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFYf4-0003Y4-8o for submit@debbugs.gnu.org; Sat, 21 Mar 2020 03:35:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFYf3-0003Xn-3A for 40148@debbugs.gnu.org; Sat, 21 Mar 2020 03:35:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jFYex-00071w-Ue; Sat, 21 Mar 2020 03:35:07 -0400 Original-Received: from [176.228.60.248] (port=1612 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jFYew-0005Tg-So; Sat, 21 Mar 2020 03:35:07 -0400 In-Reply-To: <85sgi2olkg.fsf@gmail.com> (message from Noam Postavsky on Fri, 20 Mar 2020 15:47:27 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177586 Archived-At: > From: Noam Postavsky > Cc: 40148@debbugs.gnu.org, mangelozzi@gmail.com > Date: Fri, 20 Mar 2020 15:47:27 -0400 > > > You are saying that creating a package (or a new file in a package) > > should leave the EOL format of the Lisp files at "dos", and distribute > > the package's files like that via the elpa's? > > My message above says only what does happen, not what should happen (for > the latter, see below). > > But I'm not sure exactly what you mean by "create a package". What I mean is that when someone makes a package, or more generally, creates a Lisp file that will be made available for others on the Internet, he/she should save that file with utf-8-unix. IOW, the Emacs default for saving new files is not what should determine the EOL format of such files. And that includes Lisp files that are part of a package. > About what should happen: I think detecting and giving a specific error > about CRLF from package-buffer-info could be a satisfactory solution to > this bug. Or perhaps package-install-file could be more lenient. Both solutions would be fine, IMO.