unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 40148@debbugs.gnu.org, mangelozzi@gmail.com
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	[thread overview]
Message-ID: <83h7yidutw.fsf@gnu.org> (raw)
In-Reply-To: <85sgi2olkg.fsf@gmail.com> (message from Noam Postavsky on Fri, 20 Mar 2020 15:47:27 -0400)

> From: Noam Postavsky <npostavs@gmail.com>
> 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.





  reply	other threads:[~2020-03-21  7:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20  8:50 bug#40148: 26.3; Custom package header checked out from GIT in Windows will not parse Michael Angelozzi
2020-03-20 13:58 ` Eli Zaretskii
2020-03-20 14:25   ` Noam Postavsky
2020-03-20 14:47     ` Eli Zaretskii
2020-03-20 19:47       ` Noam Postavsky
2020-03-21  7:35         ` Eli Zaretskii [this message]
2021-12-05  1:18 ` Lars Ingebrigtsen
2021-12-05  1:19   ` Lars Ingebrigtsen
     [not found]   ` <CAFNYG9f3OaP=a+NbKq73XNxKdK4SJX9T4EBL-hbCCwD82+P+Kw@mail.gmail.com>
2021-12-05 19:55     ` Lars Ingebrigtsen
2021-12-07  4:13       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h7yidutw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=40148@debbugs.gnu.org \
    --cc=mangelozzi@gmail.com \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).