unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bootstrap fails on w32
Date: Mon, 23 May 2005 10:46:08 +0200	[thread overview]
Message-ID: <85mzqmjpnz.fsf@lola.goethe.zz> (raw)
In-Reply-To: <01c55f4a$Blat.v2.4$8153d260@zahav.net.il> (Eli Zaretskii's message of "Mon, 23 May 2005 06:49:02 +0300")

"Eli Zaretskii" <eliz@gnu.org> writes:

>> From: David Kastrup <dak@gnu.org>
>> Date: Mon, 23 May 2005 02:15:07 +0200
>> Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>, emacs-devel@gnu.org
>> 
>> > There is no such thing as a "Windows release" of Emacs. There are
>> > binary builds for Windows, but the source they are built from is
>> > the same as every other platform.
>> 
>> Apart from the line endings.  Or something.
>
> No, not ``apart from''.  Precisely the same sources.  The Emacs
> tarball as distributed by ftp.gnu.org needs to be buildable on a
> Windows machine.  That is why several files, such as batch files,
> need to have DOS EOLs, because otherwise Windows tools might barf.
> For example, stock shells on some Windows versions would not run a
> batch file with Unix EOLs (although I find that Windows XP's CMD was
> silently fixed to remove this misfeature, as well as a few others).

The problem is that all of those files are text files, and quite a few
tools do end of line conversion on them.  I am probably more obnoxious
than usual about this issue because I am trying to resolve what to do
about AUCTeX and the recommendations for unpacking.  AUCTeX contains
also TeX source files, and some of the are converted by Perl script
and similar.

Now the Perl documentation is pretty clear that it does end-of-line
conversion in Windows on read&write when processing files that are not
explicitly opened in binary mode.

Since we both read and write the files in question and use \n in the
patterns for reading and writing, this affects us, and the natural
consequence would be to recommend using the Windows conventions when
unpacking.

The error reports we get, however, are suggesting that exactly that
makes Perl barf.  Maybe it has something to do with what compilation
of Perl is used (Cygwin could be different?).

And also "makeinfo" seemingly formats junk when presented with DOS
line endings, even though it is supposed to be a text tool.

I just don't get it, and that's why I am trying to see what others do.
The "solution" text checkout for editing, binary for compilation is, I
must say, an idea I find appalling rather than appealing.  I did not
think of that before the discussion, and I actually find that I would
want to avoid such recommendations unless completely unavoidable.

Which might be the case, unfortunately.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-05-23  8:46 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21 22:09 Bootstrap fails on w32 Lennart Borgman
2005-05-22  3:22 ` Eli Zaretskii
2005-05-22 10:06   ` Lennart Borgman
2005-05-22 20:34     ` Eli Zaretskii
2005-05-22 20:07 ` Jason Rumney
2005-05-22 20:38   ` Lennart Borgman
2005-05-22 20:52     ` Michael Cadilhac
2005-05-22 21:29     ` Jason Rumney
2005-05-22 21:52       ` Juanma Barranquero
2005-05-22 22:13         ` Jason Rumney
2005-05-22 22:27           ` Juanma Barranquero
2005-05-22 22:34             ` Juanma Barranquero
2005-05-23  0:26               ` Adrian Aichner
2005-05-23  7:50                 ` Juanma Barranquero
2005-05-23  8:36                 ` Andreas Schwab
2005-05-23  3:59             ` Eli Zaretskii
2005-05-23  8:06               ` Juanma Barranquero
2005-05-24  0:23                 ` Eli Zaretskii
2005-05-23 23:50                   ` David Kastrup
2005-05-24  3:38                     ` Eli Zaretskii
2005-05-24  7:03                       ` Juanma Barranquero
2005-05-24  8:43                         ` David Kastrup
2005-05-24  8:58                           ` Juanma Barranquero
2005-05-24 19:06                           ` Eli Zaretskii
2005-05-24 19:37                             ` Lennart Borgman
2005-05-25  3:55                               ` Eli Zaretskii
2005-05-22 21:54       ` David Kastrup
2005-05-22 22:17         ` Jason Rumney
2005-05-22 22:30           ` David Kastrup
2005-05-22 23:45             ` Jason Rumney
2005-05-23  0:15               ` David Kastrup
2005-05-23  3:49                 ` Eli Zaretskii
2005-05-23  8:46                   ` David Kastrup [this message]
2005-05-23 10:56                     ` Juanma Barranquero
2005-05-31 18:10                       ` Juanma Barranquero
2005-05-31 23:02                         ` Lennart Borgman
2005-05-24  0:31                     ` Eli Zaretskii
2005-05-23  3:51             ` Eli Zaretskii
2005-05-23 13:26               ` Werner LEMBERG
2005-05-25  1:00                 ` Kenichi Handa
2005-05-25  3:45                   ` Werner LEMBERG
2005-05-25  7:08                     ` Jason Rumney
2005-05-25  8:30                       ` Werner LEMBERG
2005-05-25  8:45                       ` Andreas Schwab
2005-05-25 18:23                     ` Eli Zaretskii
2005-05-25 19:36                       ` Daniel Brockman
2005-05-26  5:37                       ` Werner LEMBERG
2005-05-22 22:34           ` Lennart Borgman
2005-05-24 12:55           ` Lennart Borgman
2005-05-24 19:16             ` Eli Zaretskii
2005-05-23  4:03         ` Eli Zaretskii
2005-05-23  8:08           ` Juanma Barranquero
2005-05-24  0:24             ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2005-05-23  9:40 LENNART BORGMAN
2005-05-24  8:33 martin rudalics
2005-05-24  9:47 ` Jason Rumney
2005-05-27  9:25   ` martin rudalics
2005-06-02  8:51     ` jasonr

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=85mzqmjpnz.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).