all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Cc: emacs-app-dev-@lists.sourceforge.net, Kenichi Handa <handa@m17n.org>
Subject: Re: bug#831: 23.0.60; error in nsfonts.m
Date: Sun, 07 Sep 2008 06:26:03 -0500	[thread overview]
Message-ID: <m24p4s5h9w.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.18065.1220206065.18990.bug-gnu-emacs@gnu.org

On Sun, 31 Aug 2008 13:49:32 -0400 "Austin Frank" <austin.frank@gmail.com> wrote: 

AF> On Sat, Aug 30, 2008 at 3:59 PM, Glenn Morris <rgm@gnu.org> wrote:
>> Austin Frank wrote:
>> 
>>> I'm trying to build emacs from a current CVS checkout on OSX 10.4.11
>>> with the configure option --with-ns.
>>> 
>>> Build fails because of error in nsfonts.m.  That file references a
>>> variable called gidx, which is not defined in the relevant structure.
>>> The attached patch changes all instances of gidx to x, and allows emacs
>>> to build on my system.
>> 
>> That may happen to build, but I don't believe it to be the correct fix.
>> 
>> This is fallout from:
>> 
>> 2008-08-29  Kenichi Handa  <handa@m17n.org>
>> 
>> * dispextern.h (struct glyph_string): Delete the member gidx.
>> New members cmp_id, cmp_from, and cmp_to.
>> 
>> (There are also some out-of-date comments in xdisp.c that still refer
>> to gidx.)

AF> Yes, you're right that this builds but doesn't actually work.  Sorry
AF> that I didn't dive deeper in debugging!  Unfortunately I don't have
AF> time to work on a patch-- apologies.  I'll keep an eye on CVS for
AF> changes to nsfonts.m and xdisp.c.

I used the data member rename patch Austin and others suggested for two
days now without problems.  It lets Emacs build on Mac OS X and despite
being insufficient as a full fix, at least the users don't have to wait
for the full fix to have a working compile.

I comitted this change to the Emacs CVS HEAD, including fixing the
references to gidx in the xdisp.c docs, and will back it out (or anyone
else can back it out) if it's a problem.  I apologize in advance if
that's the case.  All the gidx references are changed to cmp_from,
that's all it does.

Thanks
Ted


  parent reply	other threads:[~2008-09-07 11:26 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
2008-08-29 18:50 ` bug#823: 23.0.60; uninitialised variable gidx in nsfont.m Peter Dyballa
2008-10-03 18:10   ` bug#823: marked as done (23.0.60; uninitialised variable gidx in nsfont.m) Emacs bug Tracking System
2008-08-29 20:23 ` bug#827: 23.0.60; bootstrap error: nsfont.m Clifford Wulfman
2008-10-03 18:10   ` bug#827: marked as done (23.0.60; bootstrap error: nsfont.m) Emacs bug Tracking System
2008-08-30 17:32 ` bug#831: 23.0.60; error in nsfonts.m Austin Frank
2008-08-30 19:59   ` Glenn Morris
2008-08-31 17:49     ` Austin Frank
     [not found]     ` <mailman.18065.1220206065.18990.bug-gnu-emacs@gnu.org>
2008-09-07 11:26       ` Ted Zlatanov [this message]
2008-09-07 20:37         ` bug#381: " Glenn Morris
2008-09-08 10:29           ` Ted Zlatanov
2008-09-08 21:17             ` Glenn Morris
2008-10-03 18:10   ` bug#831: marked as done (23.0.60; error in nsfonts.m) Emacs bug Tracking System
2008-08-30 18:00 ` bug#832: Compiling Emacs.app fails this afternoon Gilbert Harman
2008-09-01 11:30   ` bug#852: [Emacs.app dev]: " Robert Casties
2008-09-02 14:55     ` bug#862: " Dan Villiom Podlaski Christiansen
2008-09-02 17:02       ` bug#866: " Cezar Halmagean
2008-10-03 18:10         ` bug#866: marked as done ([Emacs.app dev]: Compiling Emacs.app fails this afternoon.) Emacs bug Tracking System
2008-10-03 18:10       ` bug#862: " Emacs bug Tracking System
2008-10-03 18:10     ` bug#852: " Emacs bug Tracking System
2008-09-04  6:23   ` bug#832: Compiling Emacs.app fails this afternoon. [PATCH] Daniel Koning
2008-10-03 18:10   ` bug#832: marked as done (Compiling Emacs.app fails this afternoon.) Emacs bug Tracking System
2008-08-30 22:14 ` bug#833: 23.0.60; make bootstrap broken in CVS head Clifford Wulfman
2008-10-03 18:10   ` bug#833: marked as done (23.0.60; make bootstrap broken in CVS head) Emacs bug Tracking System
2008-09-01 20:39 ` bug#855: Build errors Eddie Hillenbrand
2008-10-03 18:10   ` bug#855: marked as done (Build errors ) Emacs bug Tracking System
2008-09-04 15:04 ` bug#887: 23.0.60; glyph_string->gidx removal causes HEAD compilation failure under OS X Sudish Joseph
2008-10-03 18:10   ` bug#887: marked as done (23.0.60; glyph_string->gidx removal causes HEAD compilation failure under OS X) Emacs bug Tracking System
2008-09-06 14:14 ` bug#903: CVS HEAD won't build --with-ns on OSX 10.5 (fails src/nsfont.m) Randal L. Schwartz
2008-10-03 18:10   ` bug#903: marked as done (CVS HEAD won't build --with-ns on OSX 10.5 (fails src/nsfont.m)) Emacs bug Tracking System

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=m24p4s5h9w.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=emacs-app-dev-@lists.sourceforge.net \
    --cc=handa@m17n.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.