From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8562: Emacs 23.1 and later don't work in windows 98 Date: Sun, 05 Jun 2011 06:07:52 +0300 Message-ID: <83r579c6wn.fsf@gnu.org> References: <83d3k88k6o.fsf@gnu.org> <83wri4kpwb.fsf@gnu.org> <83d3j9e2pn.fsf@gnu.org> <8339k3esws.fsf@gnu.org> <83wrhed91s.fsf@gnu.org> <838vtscbeu.fsf@gnu.org> <83vcwvc1eq.fsf@gnu.org> <83vcwsf2ra.fsf@gnu.org> <83k4d6fuph.fsf@gnu.org> <83pqmve2s2.fsf@gnu.org> <837h92dqai.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1307243311 19836 80.91.229.12 (5 Jun 2011 03:08:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 03:08:31 +0000 (UTC) Cc: 8562@debbugs.gnu.org To: oslsachem Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 05 05:08:24 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QT3hN-0005DM-JN for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jun 2011 05:08:21 +0200 Original-Received: from localhost ([::1]:48424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT3hM-0008F0-Fi for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jun 2011 23:08:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT3h6-0008Eq-HK for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 23:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QT3h5-0000cS-Cc for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 23:08:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QT3h5-0000cN-5f for bug-gnu-emacs@gnu.org; Sat, 04 Jun 2011 23:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QT3h4-00080I-7Z; Sat, 04 Jun 2011 23:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jun 2011 03:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8562 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8562-submit@debbugs.gnu.org id=B8562.130724326930748 (code B ref 8562); Sun, 05 Jun 2011 03:08:02 +0000 Original-Received: (at 8562) by debbugs.gnu.org; 5 Jun 2011 03:07:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QT3gr-0007zt-F1 for submit@debbugs.gnu.org; Sat, 04 Jun 2011 23:07:49 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QT3go-0007zf-7x for 8562@debbugs.gnu.org; Sat, 04 Jun 2011 23:07:47 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LMA00600R5A9600@a-mtaout22.012.net.il> for 8562@debbugs.gnu.org; Sun, 05 Jun 2011 06:07:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.223.140]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LMA005PYRCQZ160@a-mtaout22.012.net.il>; Sun, 05 Jun 2011 06:07:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Jun 2011 23:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46965 Archived-At: > Date: Sun, 5 Jun 2011 03:58:25 +0200 > From: oslsachem > Cc: 8562@debbugs.gnu.org > > I have only observed that: > - Emacs chooses the ansi versions of the functions LookupAccountSid > and GetFileSecurity. That's OK, and has no relation to the problem at hand. First, file security is not available on filesystems supported by Windows 9X. And second, even if they were, Emacs currently uses only the ANSI versions of those functions anyway. > - The next problematic unicode function is GetGlyphOutlineW which, > like GetOutlineTextMetricsW and GetTextMetricsW, is just a stub. > > The breakpoints I have set for the calls to the other unicode > functions are never reached before the Emacs window is opened and is > "operative" and then, after a while, I simply quit. > > http://www.speedyshare.com/files/28808320/Emacs-23.3GDBGetErrors.txt Thanks, this is great news. So if you call GetGlyphOutlineW through a function pointer, like you did with the other 2 functions, and do NOT link against libunicows, do you then get a working binary? It would be good to run such a binary for a while, and see if something else is broken, if you can afford that. > IMHO, using function pointers would mean increasing the number of > lines of explicit code, whereas using the unicows loader would open up > the possibility of decreasing the number of lines of explicit code by > unifying w9x/Me and NT/XP branches of code which handle cases of > unicode support. > On the other hand, I can imagine that the introduction of the > libunicows dependency may be an annoyance to users/developers who > don't actually need to make use of it on their systems. Right, that's exactly the tradeoff. If the issue is with only 3 functions, I tend to the function pointer method. > Perhaps this could be addressed with a new configure option? If we go the libunicows way, I'd tend simply to silently link without it if it is not installed. That would take care of this for most of the users who build their own Emacs. But the annoyance is for those who build binaries we upload to the GNU servers. They will have to make sure libunicows is installed and workable. Anyway, thanks for your great help. I think we will have a solution very soon.