all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: Re: updating macuvs.h?
Date: Fri, 16 Jan 2015 13:57:26 -0600	[thread overview]
Message-ID: <85egqu7b2x.fsf@stephe-leake.org> (raw)
In-Reply-To: <83y4p42g2d.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Jan 2015 17:56:26 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 15 Jan 2015 05:48:41 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: emacs-devel@gnu.org
>> 
>> > From: Stephen Leake <stephen_leake@stephe-leake.org>
>> > Date: Wed, 14 Jan 2015 14:43:46 -0600
>> > 
>> > I think this is the makefile line that produces that file (from
>> > admin/unidata/Makefile):
>> > 
>> > ${top_srcdir}/src/macuvs.h: ${srcdir}/uvs.el ${srcdir}/IVD_Sequences.txt | \
>> >   ${srcdir}/uvs.elc
>> > 	$(AM_V_GEN)${emacs} -L ${srcdir} -l uvs \
>> > 	  --eval '(uvs-print-table-ivd (unmsys--file-name "${srcdir}/IVD_Sequences.txt") "Adobe-Japan1")' \
>> > 	  > $@
>> > 
>> > 
>> > This runs Emacs, which is a native MinGW program at this point. I don't
>> > think we want to build an MSYS version just for this :).
>> > 
>> > That invokes this fuction (in admin/unidata/uvs.el):
>> 
>> Change the EOL conversion of the buffer where this is created to
>> -unix, and the problem should be solved.
>
> Actually, this wouldn't have worked, since uvs.el doesn't save text
> from a buffer, but instead uses princ etc. to write directly to
> stdout.
>
> So I added a new feature that allows switching a standard stream to
> binary mode, and this problem should now be solved, please test.


This 'git pull' resulted in re-running configure; I suspect src/macuvs.h
will always be rebuilt when that happens.


It now generates Unix line endings, but git complains about the
permissions:

stephe@takver$ git diff src/macuvs.h
diff --git a/src/macuvs.h b/src/macuvs.h
old mode 100644
new mode 100755

My MinGW64 shell has umask set properly:

$ umask
0022
$ umask -S
u=rwx,g=rx,o=rx

So this is being overridden by Emacs.

-- 
-- Stephe



  reply	other threads:[~2015-01-16 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 20:58 updating macuvs.h? Stephen Leake
2015-01-13 21:11 ` Paul Eggert
2015-01-14  3:44 ` Eli Zaretskii
2015-01-14 20:43   ` Stephen Leake
2015-01-15  3:48     ` Eli Zaretskii
2015-01-15 15:56       ` Eli Zaretskii
2015-01-16 19:57         ` Stephen Leake [this message]
2015-01-16 20:21           ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=85egqu7b2x.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.