From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: updating macuvs.h? Date: Fri, 16 Jan 2015 13:57:26 -0600 Message-ID: <85egqu7b2x.fsf@stephe-leake.org> References: <85ioga75yl.fsf@stephe-leake.org> <83d26i3u1r.fsf@gnu.org> <85a91l6qkd.fsf@stephe-leake.org> <83zj9k3dra.fsf@gnu.org> <83y4p42g2d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421438277 4719 80.91.229.3 (16 Jan 2015 19:57:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2015 19:57:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 16 20:57:56 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 1YCD1n-0001X8-Pt for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2015 20:57:55 +0100 Original-Received: from localhost ([::1]:57171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCD1n-0004Ai-Ad for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2015 14:57:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCD1j-0004AR-Gs for emacs-devel@gnu.org; Fri, 16 Jan 2015 14:57:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCD1e-0002Pp-Ac for emacs-devel@gnu.org; Fri, 16 Jan 2015 14:57:51 -0500 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:36307) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YCD1e-0002Pk-39 for emacs-devel@gnu.org; Fri, 16 Jan 2015 14:57:46 -0500 Original-Received: (qmail 12976 invoked by uid 0); 16 Jan 2015 19:57:41 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy1.mail.unifiedlayer.com with SMTP; 16 Jan 2015 19:57:41 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id gjxc1p0022UdiVW01jxfMJ; Fri, 16 Jan 2015 12:57:41 -0700 X-Authority-Analysis: v=2.1 cv=BvIOn+n5 c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=TeMFXEv2S7AA:10 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=jrwKn-8xaegA:10 a=YNv0rlydsVwA:10 a=mDV3o1hIAAAA:8 a=wgHIRwInEmzqHLvgMvQA:9 Original-Received: from [70.94.38.149] (port=54398 helo=takver) by host114.hostmonster.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1YCD1T-0004Vs-NG for emacs-devel@gnu.org; Fri, 16 Jan 2015 12:57:35 -0700 In-Reply-To: <83y4p42g2d.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Jan 2015 17:56:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 70.94.38.149 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.25.95 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:181341 Archived-At: Eli Zaretskii writes: >> 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. 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