From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: updating macuvs.h? Date: Thu, 15 Jan 2015 17:56:26 +0200 Message-ID: <83y4p42g2d.fsf@gnu.org> References: <85ioga75yl.fsf@stephe-leake.org> <83d26i3u1r.fsf@gnu.org> <85a91l6qkd.fsf@stephe-leake.org> <83zj9k3dra.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421337491 24268 80.91.229.3 (15 Jan 2015 15:58:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 15:58:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: stephen_leake@stephe-leake.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 16:58:05 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YBmo8-0002n0-Ig for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 16:58:04 +0100 Original-Received: from localhost ([::1]:51457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmo8-0005bF-45 for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 10:58:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmmR-00039K-Jq for emacs-devel@gnu.org; Thu, 15 Jan 2015 10:56:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBmmO-0003KN-DI for emacs-devel@gnu.org; Thu, 15 Jan 2015 10:56:19 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:53373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmmO-0003J6-4r for emacs-devel@gnu.org; Thu, 15 Jan 2015 10:56:16 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NI800D006A8J700@mtaout27.012.net.il> for emacs-devel@gnu.org; Thu, 15 Jan 2015 17:48:44 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NI800A4H6L8XJ40@mtaout27.012.net.il>; Thu, 15 Jan 2015 17:48:44 +0200 (IST) In-reply-to: <83zj9k3dra.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181302 Archived-At: > Date: Thu, 15 Jan 2015 05:48:41 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > From: Stephen Leake > > 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.