unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#823: 23.0.60; uninitialised variable gidx in nsfont.m
@ 2008-08-29 18:50 ` 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
  0 siblings, 1 reply; 29+ messages in thread
From: Peter Dyballa @ 2008-08-29 18:50 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

This error is reported when I try to compile Emacs.app:

	nsfont.m: In function ‘nsfont_draw’:
	nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
	make[1]: *** [nsfont.o] Error 1

Obviously a line like this from ftfont.c:1517 is missing:

	int i, j, gidx;

--
Greetings

   Pete

There's no place like ~
		– (UNIX Guru)









^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#827: 23.0.60; bootstrap error: nsfont.m
@ 2008-08-29 20:23 ` Clifford Wulfman
  2008-10-03 18:10   ` bug#827: marked as done (23.0.60; bootstrap error: nsfont.m) Emacs bug Tracking System
  0 siblings, 1 reply; 29+ messages in thread
From: Clifford Wulfman @ 2008-08-29 20:23 UTC (permalink / raw)
  To: emacs-pretest-bug


sudo make distclean; cvs -z3 up -d
./configure --with-ns --disable-ns-self-contained; make bootstrap
[...]
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  fringe.c
nsfont.m: In function =2018nsfont_char_width=2019:
nsfont.m:481: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_open=2019:
nsfont.m:726: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_draw=2019:
nsfont.m:907: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:908: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:914: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:1097: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
nsfont.m:1103: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
make[2]: *** [nsfont.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
  of 2008-08-28 on hagen.Princeton.EDU
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--with-ns' '--disable-ns-self-contained''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: nXML

Minor modes in effect:
   diff-auto-refine-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
C-x C-f <backspace> <backspace> / o p t / l o <tab>
p r o <tab> j <backspace> d i g l <tab> - e <tab> /
w e <tab> <backspace> <backspace> s r <tab> w e <tab>
s t y l e s h <tab> c o m m <tab> <return> <escape>
x r e v <backspace> c o v e r SPC t SPC f SPC <return>
y e s <return> C-n C-a C-SPC <escape> x n x m l SPC
m o d e <return> <escape> > <return> <return> <return>
< / C-x C-s <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
Loading `slime': old-style backquotes detected!
Loading /Users/cliff/elisp/org-setup.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
common.xsl has auto save data; consider M-x recover-this-file
Loading vc-svn...done
Mark set
Using schema /usr/local/share/xml/schema/xslt20.rnc
Mark set
Missing end-tag [4 times]
Wrote /opt/local/projects/diglib-exist/src/webapp/stylesheets/common.xsl






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#831: 23.0.60; error in nsfonts.m
@ 2008-08-30 17:32 ` Austin Frank
  2008-08-30 19:59   ` Glenn Morris
  2008-10-03 18:10   ` bug#831: marked as done (23.0.60; error in nsfonts.m) Emacs bug Tracking System
  0 siblings, 2 replies; 29+ messages in thread
From: Austin Frank @ 2008-08-30 17:32 UTC (permalink / raw)
  To: emacs-pretest-bug


[-- Attachment #1.1: Type: text/plain, Size: 340 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: gidx.patch --]
[-- Type: text/x-patch, Size: 1552 bytes --]

diff --git a/src/nsfont.m b/src/nsfont.m
index f49cd0f..10b1c90 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -904,14 +904,14 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
     int hi, lo;
     char isComposite = 0; /* s->first_glyph->type == COMPOSITE_GLYPH; */
     /* FIXME: composition: no vertical displacement is considered. */
-    t+= s->gidx; /* advance into composition */
-    for (i =0; i<s->nchars - s->gidx; i++, t++)
+    t+= s->x; /* advance into composition */
+    for (i =0; i<s->nchars - s->x; i++, t++)
       {
         hi = (*t & 0xFF00) >> 8;
         lo = *t & 0x00FF;
         if (isComposite)
           {
-            cwidth = s->cmp->offsets[s->gidx++ * 2] - twidth;
+            cwidth = s->cmp->offsets[s->x++ * 2] - twidth;
           }
         else
           {
@@ -1094,13 +1094,13 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
       [col set];
 
     CGContextSetTextPosition (gcontext, r.origin.x, r.origin.y);
-    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->x,
                                     advances, len);
 
     if (face->overstrike)
       {
         CGContextSetTextPosition (gcontext, r.origin.x+0.5, r.origin.y);
-        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->x,
                                         advances, len);
       }
 

[-- Attachment #1.3: Type: text/plain, Size: 568 bytes --]



In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit)
 of 2008-08-29 on malibu.local
Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t



-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]

^ permalink raw reply related	[flat|nested] 29+ messages in thread

* bug#832: Compiling Emacs.app fails this afternoon.
@ 2008-08-30 18:00 ` Gilbert Harman
  2008-09-01 11:30   ` bug#852: [Emacs.app dev]: " Robert Casties
                     ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Gilbert Harman @ 2008-08-30 18:00 UTC (permalink / raw)
  To: emacs.app dev list, emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

After ./configure --with-ns
....
make -j2

....
nsfont.m: In function 'nsfont_char_width':
nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_open':
nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_draw':
nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
make[1]: *** [nsfont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [src] Error 2

  Gil


(Intel Mac OS X 10.5.4)

[-- Attachment #2: Type: text/html, Size: 1016 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#831: 23.0.60; error in nsfonts.m
  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-10-03 18:10   ` bug#831: marked as done (23.0.60; error in nsfonts.m) Emacs bug Tracking System
  1 sibling, 2 replies; 29+ messages in thread
From: Glenn Morris @ 2008-08-30 19:59 UTC (permalink / raw)
  To: Austin Frank; +Cc: Kenichi Handa, 831

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.)






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#833: 23.0.60; make bootstrap broken in CVS head
@ 2008-08-30 22:14 ` 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
  0 siblings, 1 reply; 29+ messages in thread
From: Clifford Wulfman @ 2008-08-30 22:14 UTC (permalink / raw)
  To: emacs-pretest-bug

With a fresh check-out of the CVS repository:

./configure --with-ns --disable-ns-self-contained
make bootstrap

[...]

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsterm.m
nsterm.m: In function =2018ns_font_to_xlfd=2019:
nsterm.m:6261: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsfns.m
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsmenu.m
nsmenu.m: In function =2018-[EmacsTooltip setText:]=2019:
nsmenu.m:1423: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsselect.m
nsselect.m: In function =2018ns_string_from_pasteboard=2019:
nsselect.m:344: warning: =2018cString=2019 is deprecated (declared at / 
System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
nsselect.m:349: warning: =2018lossyCString=2019 is deprecated  
(declared at /System/Library/Frameworks/Foundation.framework/Headers/ 
NSString.h:346)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsimage.m
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsfont.m
nsfont.m: In function =2018nsfont_char_width=2019:
nsfont.m:481: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_open=2019:
nsfont.m:726: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_draw=2019:
nsfont.m:907: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:908: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:914: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:1097: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
nsfont.m:1103: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
make[2]: *** [nsfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
  of 2008-08-28 on hagen.Princeton.EDU
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--with-ns' '--disable-ns-self-contained''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Xquery

Minor modes in effect:
   diff-auto-refine-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
C-x C-d <backspace> <backspace> / o p t / l <tab> p
r o j <tab> d i g l i b - e <tab> / w e <tab> <backspace>
<backspace> s r <tab> w e <tab> <return> C-x o C-x
1 C-n C-n C-n C-n C-n C-n C-n C-n C-e C-b C-b <return>
C-x k <return> C-x d <backspace> <backspace> / o p
t / l <tab> p r o j <tab> d i g <tab> - <tab> e <tab>
/ s r <tab> w e <tab> <return> <escape> > C-p <return>
C-n C-n C-n C-n C-n <return> <help-echo> <down-mouse-1>
<mouse-1> C-a C-o C-k C-k C-k C-y C-y C-p C-p C-p C-p
C-k a 9 <backspace> <backspace> ( : C-e SPC : ) C-n
C-n C-a C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-k <menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading `slime': old-style backquotes detected!
Loading /Users/cliff/elisp/org-setup.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
help-follow: No cross-reference here
Making completion list...
Mark set
Loading vc-svn...done
Mark set [2 times]
Auto-saving...done
Auto-saving...done






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#831: 23.0.60; error in nsfonts.m
  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>
  1 sibling, 0 replies; 29+ messages in thread
From: Austin Frank @ 2008-08-31 17:49 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Kenichi Handa, 831

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Thanks,
/au

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: http://getfiregpg.org

iEYEARECAAYFAki62bIACgkQlHMl2/XbR4HBWgCgsfk0mlSrjW62yhDGnJahQVZH
XH8AoM+gZlh6I90lkZh/Xen3vb21mWJP
=tyto
-----END PGP SIGNATURE-----

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.)
>






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#852: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
  2008-08-30 18:00 ` bug#832: Compiling Emacs.app fails this afternoon Gilbert Harman
@ 2008-09-01 11:30   ` Robert Casties
  2008-09-02 14:55     ` bug#862: " Dan Villiom Podlaski Christiansen
  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
  2 siblings, 2 replies; 29+ messages in thread
From: Robert Casties @ 2008-09-01 11:30 UTC (permalink / raw)
  To: Gilbert Harman; +Cc: emacs.app dev list, emacs-pretest-bug

Gilbert Harman wrote:
> After ./configure --with-ns
> ....
> make -j2
> 
> ....
> nsfont.m: In function 'nsfont_char_width':
> nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
> nsfont.m: In function 'nsfont_open':
> nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
> nsfont.m: In function 'nsfont_draw':
> nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
> make[1]: *** [nsfont.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [src] Error 2

Same problem for me (also on OSX 10.5.4 intel).

	Robert







^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#855: Build errors
@ 2008-09-01 20:39 ` Eddie Hillenbrand
  2008-10-03 18:10   ` bug#855: marked as done (Build errors ) Emacs bug Tracking System
  0 siblings, 1 reply; 29+ messages in thread
From: Eddie Hillenbrand @ 2008-09-01 20:39 UTC (permalink / raw)
  To: bug-gnu-emacs

nsfont.m: In function ‘nsfont_draw’:
nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
make[1]: *** [nsfont.o] Error 1
make: *** [src] Error 2








^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#862: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
  2008-09-01 11:30   ` bug#852: [Emacs.app dev]: " Robert Casties
@ 2008-09-02 14:55     ` Dan Villiom Podlaski Christiansen
  2008-09-02 17:02       ` bug#866: " Cezar Halmagean
  2008-10-03 18:10       ` bug#862: " Emacs bug Tracking System
  2008-10-03 18:10     ` bug#852: " Emacs bug Tracking System
  1 sibling, 2 replies; 29+ messages in thread
From: Dan Villiom Podlaski Christiansen @ 2008-09-02 14:55 UTC (permalink / raw)
  To: emacs.app dev list, emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On 1 Sep 2008, at 13:30, Robert Casties wrote:
> Gilbert Harman wrote:
>> After ./configure --with-ns
>> ....
>> make -j2
>
> Same problem for me (also on OSX 10.5.4 intel).
>
> 	Robert


It was caused by a change on 29 August by Kenichi Handa to dispextern.h:
<http://lists.gnu.org/archive/html/emacs-commit/2008-08/msg00731.html>

AFAICT it hasn't been fixed in HEAD yet. (The Mercurial mirror I use  
isn't updated terribly frequently, so it may have been.)

--

Dan Villiom Podlaski Christiansen, stud. scient.
danchr@daimi.au.dk, danchr@googlemail.com


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1945 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#866: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
  2008-09-02 14:55     ` bug#862: " Dan Villiom Podlaski Christiansen
@ 2008-09-02 17:02       ` 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
  1 sibling, 1 reply; 29+ messages in thread
From: Cezar Halmagean @ 2008-09-02 17:02 UTC (permalink / raw)
  Cc: emacs.app dev list, emacs-pretest-bug

I can confirm this :

nsfont.m: In function ‘nsfont_char_width’:
nsfont.m:481: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_open’:
nsfont.m:726: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_draw’:
nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
make[1]: *** [nsfont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [src] Error 2


Regards,
Cezar

On Sep 2, 2008, at 7:55 AM, Dan Villiom Podlaski Christiansen wrote:

> On 1 Sep 2008, at 13:30, Robert Casties wrote:
>> Gilbert Harman wrote:
>>> After ./configure --with-ns
>>> ....
>>> make -j2
>>
>> Same problem for me (also on OSX 10.5.4 intel).
>>
>> 	Robert
>
>
> It was caused by a change on 29 August by Kenichi Handa to  
> dispextern.h:
> <http://lists.gnu.org/archive/html/emacs-commit/2008-08/msg00731.html>
>
> AFAICT it hasn't been fixed in HEAD yet. (The Mercurial mirror I use  
> isn't updated terribly frequently, so it may have been.)
>
> --
>
> Dan Villiom Podlaski Christiansen, stud. scient.
> danchr@daimi.au.dk, danchr@googlemail.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Emacs-app-dev- mailing list
> Emacs-app-dev-@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-







^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#832: Compiling Emacs.app fails this afternoon. [PATCH]
  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-04  6:23   ` Daniel Koning
  2008-10-03 18:10   ` bug#832: marked as done (Compiling Emacs.app fails this afternoon.) Emacs bug Tracking System
  2 siblings, 0 replies; 29+ messages in thread
From: Daniel Koning @ 2008-09-04  6:23 UTC (permalink / raw)
  To: bug-gnu-emacs

Gilbert Harman <harman <at> princeton.edu> writes:

> 
> After ./configure --with-ns....make -j2....nsfont.m: In function
'nsfont_char_width':nsfont.m:481: warning: 'widthOfString:' is deprecated
(declared at /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
> nsfont.m: In function 'nsfont_open':nsfont.m:726: warning: 'widthOfString:' is
deprecated (declared at
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)nsfont.m: In
function 'nsfont_draw':nsfont.m:907: error: 'struct glyph_string' has no member
named 'gidx'
> nsfont.m:908: error: 'struct glyph_string' has no member named
'gidx'nsfont.m:914: error: 'struct glyph_string' has no member named
'gidx'nsfont.m:1097: error: 'struct glyph_string' has no member named
'gidx'nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
> make[1]: *** [nsfont.o] Error 1make[1]: *** Waiting for unfinished
jobs....make: *** [src] Error 2  Gil(Intel Mac OS X 10.5.4)
> 

This appears to have been caused by nsfont_draw() not having been updated to use
cmp_from instead of gidx.

Here's a patch, which also updates a couple of out-of-date comments:

Index: src/nsfont.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsfont.m,v
retrieving revision 1.11
diff -u -r1.11 nsfont.m
--- src/nsfont.m	21 Aug 2008 02:49:00 -0000	1.11
+++ src/nsfont.m	4 Sep 2008 06:23:03 -0000
@@ -904,14 +904,14 @@
     int hi, lo;
     char isComposite = 0; /* s->first_glyph->type == COMPOSITE_GLYPH; */
     /* FIXME: composition: no vertical displacement is considered. */
-    t+= s->gidx; /* advance into composition */
-    for (i =0; i<s->nchars - s->gidx; i++, t++)
+    t+= s->cmp_from; /* advance into composition */
+    for (i =0; i<s->nchars - s->cmp_from; i++, t++)
       {
         hi = (*t & 0xFF00) >> 8;
         lo = *t & 0x00FF;
         if (isComposite)
           {
-            cwidth = s->cmp->offsets[s->gidx++ * 2] - twidth;
+            cwidth = s->cmp->offsets[s->cmp_from++ * 2] - twidth;
           }
         else
           {
@@ -1094,13 +1094,13 @@
       [col set];
 
     CGContextSetTextPosition (gcontext, r.origin.x, r.origin.y);
-    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->cmp_from,
                                     advances, len);
 
     if (face->overstrike)
       {
         CGContextSetTextPosition (gcontext, r.origin.x+0.5, r.origin.y);
-        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->cmp_from,
                                         advances, len);
       }
 
Index: src/xdisp.c
===================================================================
RCS file: /sources/emacs/emacs/src/xdisp.c,v
retrieving revision 1.1254
diff -u -r1.1254 xdisp.c
--- src/xdisp.c	31 Aug 2008 08:27:25 -0000	1.1254
+++ src/xdisp.c	4 Sep 2008 06:23:21 -0000
@@ -19532,7 +19532,7 @@
 /* Fill glyph string S with composition components specified by S->cmp.
 
    BASE_FACE is the base face of the composition.
-   S->gidx is the index of the first component for S.
+   S->cmp_from is the index of the first component for S.
 
    OVERLAPS non-zero means S should draw the foreground only, and use
    its physical height for clipping.  See also draw_glyphs.
@@ -19547,7 +19547,7 @@
 {
   int i;
   /* For all glyphs of this composition, starting at the offset
-     S->gidx, until we reach the end of the definition or encounter a
+     S->cmp_from, until we reach the end of the definition or encounter a
      glyph that requires the different face, add it to S.  */
   struct face *face;








^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#887: 23.0.60; glyph_string->gidx removal causes HEAD compilation failure under OS X
@ 2008-09-04 15:04 ` 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
  0 siblings, 1 reply; 29+ messages in thread
From: Sudish Joseph @ 2008-09-04 15:04 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 5115 bytes --]

I last successfully compiled Emacs 23.0.60.1 from cvs a little over a week
ago.  Trying this again today results in the following error.

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/sj/src/emacs/src -Dtemacs
-O2 -pipe -Wall /Users/sj/src/emacs/src/nsfont.m
[...]
/Users/sj/src/emacs/src/nsfont.m:907: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:908: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:914: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1064: warning: implicit declaration of
function 'CGContextSetFontRenderingMode'
/Users/sj/src/emacs/src/nsfont.m:1097: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1103: error: 'struct glyph_string' has no
member named 'gidx'

The following change from src/ChangeLog seems to be the root cause -- it
seems nsfont.m wasn't updated to reflect the change:

2008-08-29  Kenichi Handa  <handa@m17n.org>

        These changes are to re-implement the automatic composition so
        that it doesn't use text properties.

[...]
        * dispextern.h (struct glyph): New union u.cmp.  Delete the member
        cmp_id.
        (struct glyph_string): Delete the member gidx.  New members
        cmp_id, cmp_from, and cmp_to.

Emacs is being configured and built in a tmp dir as follows:

% cd <head of emacs cvs tree>
% mkdir tmp
% cd tmp
% CC=gcc CXX=g++ CFLAGS="-O2 -pipe -Wall" CXXFLAGS=$CFLAGS ../configure
--verbose --enable-cocoa-experimental-ctrl-g --without-pop --without-x
--with-x-toolkit=no --with-ns
% make

Thanks for all your hard work in integrating all the OS X/NextStep changes
into the mainline.

-Sudish

In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
 of 2008-08-27 on fluxus.int.absonant.org
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--verbose'
'--enable-cocoa-experimental-ctrl-g' '--without-pop' '--without-x'
'--with-x-toolkit=no' '--with-ns' 'CC=gcc-4.2' 'CFLAGS=-O2 -pipe -Wall''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  partial-completion-mode: t
  hi-lock-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up>
<up> d d d d d d d d d d s-s <up> <up> <up> <up> <up>
d d d d d d d d d d s-s C-x C-f d r <tab> <return>
<down> <down> <down> <down> d d s-s C-x C-f d e b <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> R a <tab> <return> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> x x x x x x
x x x x x x x x x x x <left> <left> x x s-s <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> C-h i <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <right> <right>
<return> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> SPC / b u g <return> / <return>
<right> <return> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> SPC SPC SPC SPC SPC <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> M-x r e p o r t
- e m a c s - b u g <return>

Recent messages:
incremental parser error: "Wrong type argument: consp, nil" [2 times]
(New file) [2 times]
New file. Inserted dmacro: h_masthead
Wrote /Users/sj/work/drake_work/httpproxymon/submit.h
Wrote /Users/sj/work/drake_work/httpproxymon/httpproxymon.c
Wrote /Users/sj/work/drake_work/httpproxymon/Makefile [3 times]
Wrote /Users/sj/work/drake_work/httpproxymon/drake.yml
Auto-saving...done
Wrote /Users/sj/work/drake_work/httpproxymon/Rakefile
Composing main Info directory...done

[-- Attachment #2: Type: text/html, Size: 7498 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#903: CVS HEAD won't build --with-ns on OSX 10.5 (fails src/nsfont.m)
@ 2008-09-06 14:14 ` 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
  0 siblings, 1 reply; 29+ messages in thread
From: Randal L. Schwartz @ 2008-09-06 14:14 UTC (permalink / raw)
  To: emacs-pretest-bug


During "make bootstrap":

gcc -I/sw/include -L/sw/lib -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Volumes/UFS/MIRROR/emacs-CVS-new/src -I/usr/X11/include -Dtemacs   -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -g -O2 -Wno-pointer-sign  nsfont.m
nsfont.m: In function 'nsfont_char_width':
nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_open':
nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_draw':
nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
make[2]: *** [nsfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

Is this known?  Being worked on?  Do you need more info?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion






^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: bug#831: 23.0.60; error in nsfonts.m
       [not found]     ` <mailman.18065.1220206065.18990.bug-gnu-emacs@gnu.org>
@ 2008-09-07 11:26       ` Ted Zlatanov
  2008-09-07 20:37         ` bug#381: " Glenn Morris
  0 siblings, 1 reply; 29+ messages in thread
From: Ted Zlatanov @ 2008-09-07 11:26 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: emacs-app-dev-, Kenichi Handa

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


^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#381: bug#831: 23.0.60; error in nsfonts.m
  2008-09-07 11:26       ` Ted Zlatanov
@ 2008-09-07 20:37         ` Glenn Morris
  2008-09-08 10:29           ` Ted Zlatanov
  0 siblings, 1 reply; 29+ messages in thread
From: Glenn Morris @ 2008-09-07 20:37 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: 381


Would you mind not using the newsgroup interface? It seems to break
the bug tracker, in that your posts don't appear there (I have
forwarded some there). This is some bug, not your fault.

Ted Zlatanov wrote:

> 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.

Can you give it the correct attribution in the ChangeLog? Maybe you
came up with it independently, in which case it's correct as is.
I thought it was Daniel Koning's.

> I apologize in advance if that's the case. All the gidx references
> are changed to cmp_from, that's all it does.

I left it alone partly because obviously wrong is better than subtly wrong.
(Not that I can say if it is right or wrong).
And also partly to see how many duplicate reports were received. :)
About 13 I think, none apart from the first and the one with the patch
conveying any useful information. And most saying "is this known?" :)

(I'm not saying you should take it out.)






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#381: bug#831: 23.0.60; error in nsfonts.m
  2008-09-07 20:37         ` bug#381: " Glenn Morris
@ 2008-09-08 10:29           ` Ted Zlatanov
  2008-09-08 21:17             ` Glenn Morris
  0 siblings, 1 reply; 29+ messages in thread
From: Ted Zlatanov @ 2008-09-08 10:29 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 381

On Sun, 07 Sep 2008 16:37:14 -0400 Glenn Morris <rgm@gnu.org> wrote: 

GM> Would you mind not using the newsgroup interface? It seems to break
GM> the bug tracker, in that your posts don't appear there (I have
GM> forwarded some there). This is some bug, not your fault.

I'll try to CC correctly.  I have to use that interface, unfortunately.

GM> Ted Zlatanov wrote:

>> 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.

GM> Can you give it the correct attribution in the ChangeLog? Maybe you
GM> came up with it independently, in which case it's correct as is.
GM> I thought it was Daniel Koning's.

There were 2 suggestions plus I looked at it myself (with a `grep
gidx').  I'll gladly attribute it to Daniel but Austin has a claim to
it as well, and I don't know how to do mulitple authors.

>> I apologize in advance if that's the case. All the gidx references
>> are changed to cmp_from, that's all it does.

GM> I left it alone partly because obviously wrong is better than subtly wrong.
GM> (Not that I can say if it is right or wrong).

I figured wrong is OK, broken is not OK for most Emacs users.  Testing
it for 2 days gave me confidence it would not be annoying.

GM> And also partly to see how many duplicate reports were received. :)
GM> About 13 I think, none apart from the first and the one with the patch
GM> conveying any useful information. And most saying "is this known?" :)

GM> (I'm not saying you should take it out.)

OK.  Kenichi Handa thinks it's a lot of work to make it work correctly
with composition, so I think this should be documented as a TODO item.
I don't know the right place to document this; it's not FOR-RELEASE
since it probably won't block a release.

Thanks for all your help with this and other issues.

Ted






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#831: 23.0.60; error in nsfonts.m
  2008-09-08 10:29           ` Ted Zlatanov
@ 2008-09-08 21:17             ` Glenn Morris
  0 siblings, 0 replies; 29+ messages in thread
From: Glenn Morris @ 2008-09-08 21:17 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: 831

Ted Zlatanov wrote:

> I'll try to CC correctly.  I have to use that interface, unfortunately.

Of course, I went and cc'd the wrong bug number, sigh. :(
It should have been 831, not 381.

Perhaps you should just continue to do what is convenient for you.
It's not your fault we have a broken system.

> There were 2 suggestions plus I looked at it myself (with a `grep
> gidx'). I'll gladly attribute it to Daniel but Austin has a claim to
> it as well, and I don't know how to do mulitple authors.

The first suggestion (from #831 "replace gidx with x") was just wrong.
The #832 patch was the one applied. It should be marked (tiny change).

(See eg 2008-06-20, textmodes/rst.el in lisp/ChangeLog for how to do
multiple authors.)






^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#823: marked as done (23.0.60; uninitialised variable gidx in  nsfont.m)
  2008-08-29 18:50 ` bug#823: 23.0.60; uninitialised variable gidx in nsfont.m Peter Dyballa
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding 23.0.60; uninitialised variable gidx in nsfont.m
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2957 bytes --]

From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; uninitialised variable gidx in nsfont.m
Date: Fri, 29 Aug 2008 20:50:27 +0200
Message-ID: <1E07482B-CB0C-4EEA-ACA1-6092AFCED8BA@Freenet.DE>

Hello!

This error is reported when I try to compile Emacs.app:

	nsfont.m: In function ‘nsfont_draw’:
	nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
	nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
	make[1]: *** [nsfont.o] Error 1

Obviously a line like this from ftfont.c:1517 is missing:

	int i, j, gidx;

--
Greetings

   Pete

There's no place like ~
		– (UNIX Guru)






[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#831: marked as done (23.0.60; error in nsfonts.m)
  2008-08-30 17:32 ` bug#831: 23.0.60; error in nsfonts.m Austin Frank
  2008-08-30 19:59   ` Glenn Morris
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  1 sibling, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding 23.0.60; error in nsfonts.m
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5981 bytes --]

[-- Attachment #2.1.1.1: Type: text/plain, Size: 340 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2.1.1.2: gidx.patch --]
[-- Type: text/x-patch, Size: 1552 bytes --]

diff --git a/src/nsfont.m b/src/nsfont.m
index f49cd0f..10b1c90 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -904,14 +904,14 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
     int hi, lo;
     char isComposite = 0; /* s->first_glyph->type == COMPOSITE_GLYPH; */
     /* FIXME: composition: no vertical displacement is considered. */
-    t+= s->gidx; /* advance into composition */
-    for (i =0; i<s->nchars - s->gidx; i++, t++)
+    t+= s->x; /* advance into composition */
+    for (i =0; i<s->nchars - s->x; i++, t++)
       {
         hi = (*t & 0xFF00) >> 8;
         lo = *t & 0x00FF;
         if (isComposite)
           {
-            cwidth = s->cmp->offsets[s->gidx++ * 2] - twidth;
+            cwidth = s->cmp->offsets[s->x++ * 2] - twidth;
           }
         else
           {
@@ -1094,13 +1094,13 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
       [col set];
 
     CGContextSetTextPosition (gcontext, r.origin.x, r.origin.y);
-    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+    CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->x,
                                     advances, len);
 
     if (face->overstrike)
       {
         CGContextSetTextPosition (gcontext, r.origin.x+0.5, r.origin.y);
-        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->gidx,
+        CGContextShowGlyphsWithAdvances (gcontext, s->char2b + s->x,
                                         advances, len);
       }
 

[-- Attachment #2.1.1.3: Type: text/plain, Size: 568 bytes --]



In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit)
 of 2008-08-29 on malibu.local
Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t



-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #2.1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply related	[flat|nested] 29+ messages in thread

* bug#827: marked as done (23.0.60; bootstrap error: nsfont.m)
  2008-08-29 20:23 ` bug#827: 23.0.60; bootstrap error: nsfont.m Clifford Wulfman
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding 23.0.60; bootstrap error: nsfont.m
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6184 bytes --]

From: Clifford Wulfman <cwulfman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; bootstrap error: nsfont.m
Date: Fri, 29 Aug 2008 16:23:24 -0400
Message-ID: <20DB1CAB-2534-468A-8C35-9725767B113F@gmail.com>


sudo make distclean; cvs -z3 up -d
./configure --with-ns --disable-ns-self-contained; make bootstrap
[...]
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  fringe.c
nsfont.m: In function =2018nsfont_char_width=2019:
nsfont.m:481: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_open=2019:
nsfont.m:726: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_draw=2019:
nsfont.m:907: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:908: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:914: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:1097: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
nsfont.m:1103: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
make[2]: *** [nsfont.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
  of 2008-08-28 on hagen.Princeton.EDU
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--with-ns' '--disable-ns-self-contained''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: nXML

Minor modes in effect:
   diff-auto-refine-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
C-x C-f <backspace> <backspace> / o p t / l o <tab>
p r o <tab> j <backspace> d i g l <tab> - e <tab> /
w e <tab> <backspace> <backspace> s r <tab> w e <tab>
s t y l e s h <tab> c o m m <tab> <return> <escape>
x r e v <backspace> c o v e r SPC t SPC f SPC <return>
y e s <return> C-n C-a C-SPC <escape> x n x m l SPC
m o d e <return> <escape> > <return> <return> <return>
< / C-x C-s <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
Loading `slime': old-style backquotes detected!
Loading /Users/cliff/elisp/org-setup.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
common.xsl has auto save data; consider M-x recover-this-file
Loading vc-svn...done
Mark set
Using schema /usr/local/share/xml/schema/xslt20.rnc
Mark set
Missing end-tag [4 times]
Wrote /opt/local/projects/diglib-exist/src/webapp/stylesheets/common.xsl



[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#832: marked as done (Compiling Emacs.app fails this afternoon.)
  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-04  6:23   ` bug#832: Compiling Emacs.app fails this afternoon. [PATCH] Daniel Koning
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  2 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding Compiling Emacs.app fails this afternoon.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5274 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 917 bytes --]

After ./configure --with-ns
....
make -j2

....
nsfont.m: In function 'nsfont_char_width':
nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_open':
nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_draw':
nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
make[1]: *** [nsfont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [src] Error 2

  Gil


(Intel Mac OS X 10.5.4)

[-- Attachment #2.1.2: Type: text/html, Size: 1016 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#833: marked as done (23.0.60; make bootstrap broken in CVS head)
  2008-08-30 22:14 ` bug#833: 23.0.60; make bootstrap broken in CVS head Clifford Wulfman
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding 23.0.60; make bootstrap broken in CVS head
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 7981 bytes --]

From: Clifford Wulfman <cwulfman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; make bootstrap broken in CVS head
Date: Sat, 30 Aug 2008 18:14:52 -0400
Message-ID: <00BA7D6A-D732-44CE-BBCB-C52EE0B69B13@gmail.com>

With a fresh check-out of the CVS repository:

./configure --with-ns --disable-ns-self-contained
make bootstrap

[...]

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsterm.m
nsterm.m: In function =2018ns_font_to_xlfd=2019:
nsterm.m:6261: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsfns.m
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsmenu.m
nsmenu.m: In function =2018-[EmacsTooltip setText:]=2019:
nsmenu.m:1423: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsselect.m
nsselect.m: In function =2018ns_string_from_pasteboard=2019:
nsselect.m:344: warning: =2018cString=2019 is deprecated (declared at / 
System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
nsselect.m:349: warning: =2018lossyCString=2019 is deprecated  
(declared at /System/Library/Frameworks/Foundation.framework/Headers/ 
NSString.h:346)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsimage.m
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/cliff/src/emacs/src - 
Dtemacs   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ 
include -g -O2 -Wno-pointer-sign  nsfont.m
nsfont.m: In function =2018nsfont_char_width=2019:
nsfont.m:481: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_open=2019:
nsfont.m:726: warning: =2018widthOfString:=2019 is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSFont.h:216)
nsfont.m: In function =2018nsfont_draw=2019:
nsfont.m:907: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:908: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:914: error: =2018struct glyph_string=2019 has no member named  
=2018gidx=2019
nsfont.m:1097: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
nsfont.m:1103: error: =2018struct glyph_string=2019 has no member  
named =2018gidx=2019
make[2]: *** [nsfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
  of 2008-08-28 on hagen.Princeton.EDU
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--with-ns' '--disable-ns-self-contained''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Xquery

Minor modes in effect:
   diff-auto-refine-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
C-x C-d <backspace> <backspace> / o p t / l <tab> p
r o j <tab> d i g l i b - e <tab> / w e <tab> <backspace>
<backspace> s r <tab> w e <tab> <return> C-x o C-x
1 C-n C-n C-n C-n C-n C-n C-n C-n C-e C-b C-b <return>
C-x k <return> C-x d <backspace> <backspace> / o p
t / l <tab> p r o j <tab> d i g <tab> - <tab> e <tab>
/ s r <tab> w e <tab> <return> <escape> > C-p <return>
C-n C-n C-n C-n C-n <return> <help-echo> <down-mouse-1>
<mouse-1> C-a C-o C-k C-k C-k C-y C-y C-p C-p C-p C-p
C-k a 9 <backspace> <backspace> ( : C-e SPC : ) C-n
C-n C-a C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-k <menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading `slime': old-style backquotes detected!
Loading /Users/cliff/elisp/org-setup.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
help-follow: No cross-reference here
Making completion list...
Mark set
Loading vc-svn...done
Mark set [2 times]
Auto-saving...done
Auto-saving...done



[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#852: marked as done ([Emacs.app dev]: Compiling Emacs.app  fails this afternoon.)
  2008-09-01 11:30   ` bug#852: [Emacs.app dev]: " Robert Casties
  2008-09-02 14:55     ` bug#862: " Dan Villiom Podlaski Christiansen
@ 2008-10-03 18:10     ` Emacs bug Tracking System
  1 sibling, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3259 bytes --]

From: Robert Casties <casties@mpiwg-berlin.mpg.de>
To: Gilbert Harman <harman@princeton.edu>
Cc: "emacs.app dev list" <emacs-app-dev-@lists.sourceforge.net>, emacs-pretest-bug@gnu.org
Subject: Re: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
Date: Mon, 01 Sep 2008 13:30:27 +0200
Message-ID: <48BBD253.20805@mpiwg-berlin.mpg.de>

Gilbert Harman wrote:
> After ./configure --with-ns
> ....
> make -j2
> 
> ....
> nsfont.m: In function 'nsfont_char_width':
> nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
> nsfont.m: In function 'nsfont_open':
> nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
> nsfont.m: In function 'nsfont_draw':
> nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
> nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
> make[1]: *** [nsfont.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [src] Error 2

Same problem for me (also on OSX 10.5.4 intel).

	Robert




[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#855: marked as done (Build errors )
  2008-09-01 20:39 ` bug#855: Build errors Eddie Hillenbrand
@ 2008-10-03 18:10   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding Build errors 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2444 bytes --]

From: Eddie Hillenbrand <eh88@nau.edu>
To: bug-gnu-emacs@gnu.org
Subject: Build errors
Date: Mon, 1 Sep 2008 13:39:16 -0700
Message-ID: <D34910EE-65AA-436E-B98F-D66D7CABB431@nau.edu>

nsfont.m: In function ‘nsfont_draw’:
nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
make[1]: *** [nsfont.o] Error 1
make: *** [src] Error 2





[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#862: marked as done ([Emacs.app dev]: Compiling Emacs.app  fails this afternoon.)
  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       ` Emacs bug Tracking System
  1 sibling, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5699 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 558 bytes --]

On 1 Sep 2008, at 13:30, Robert Casties wrote:
> Gilbert Harman wrote:
>> After ./configure --with-ns
>> ....
>> make -j2
>
> Same problem for me (also on OSX 10.5.4 intel).
>
> 	Robert


It was caused by a change on 29 August by Kenichi Handa to dispextern.h:
<http://lists.gnu.org/archive/html/emacs-commit/2008-08/msg00731.html>

AFAICT it hasn't been fixed in HEAD yet. (The Mercurial mirror I use  
isn't updated terribly frequently, so it may have been.)

--

Dan Villiom Podlaski Christiansen, stud. scient.
danchr@daimi.au.dk, danchr@googlemail.com


[-- Attachment #2.1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1945 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#866: marked as done ([Emacs.app dev]: Compiling Emacs.app  fails this afternoon.)
  2008-09-02 17:02       ` bug#866: " Cezar Halmagean
@ 2008-10-03 18:10         ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4818 bytes --]

From: Cezar Halmagean <cezar@mixandgo.com>
Cc: "emacs.app dev list" <emacs-app-dev-@lists.sourceforge.net>, emacs-pretest-bug@gnu.org
Subject: Re: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
Date: Tue, 2 Sep 2008 10:02:05 -0700
Message-ID: <5FEFA255-3FE6-4C92-A22C-77E4A165564C@mixandgo.com>

I can confirm this :

nsfont.m: In function ‘nsfont_char_width’:
nsfont.m:481: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_open’:
nsfont.m:726: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_draw’:
nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
make[1]: *** [nsfont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [src] Error 2


Regards,
Cezar

On Sep 2, 2008, at 7:55 AM, Dan Villiom Podlaski Christiansen wrote:

> On 1 Sep 2008, at 13:30, Robert Casties wrote:
>> Gilbert Harman wrote:
>>> After ./configure --with-ns
>>> ....
>>> make -j2
>>
>> Same problem for me (also on OSX 10.5.4 intel).
>>
>> 	Robert
>
>
> It was caused by a change on 29 August by Kenichi Handa to  
> dispextern.h:
> <http://lists.gnu.org/archive/html/emacs-commit/2008-08/msg00731.html>
>
> AFAICT it hasn't been fixed in HEAD yet. (The Mercurial mirror I use  
> isn't updated terribly frequently, so it may have been.)
>
> --
>
> Dan Villiom Podlaski Christiansen, stud. scient.
> danchr@daimi.au.dk, danchr@googlemail.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Emacs-app-dev- mailing list
> Emacs-app-dev-@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-




[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#887: marked as done (23.0.60; glyph_string->gidx removal  causes HEAD compilation failure under OS X)
  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   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding 23.0.60; glyph_string->gidx removal causes HEAD compilation failure under OS X
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 15843 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 5115 bytes --]

I last successfully compiled Emacs 23.0.60.1 from cvs a little over a week
ago.  Trying this again today results in the following error.

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/sj/src/emacs/src -Dtemacs
-O2 -pipe -Wall /Users/sj/src/emacs/src/nsfont.m
[...]
/Users/sj/src/emacs/src/nsfont.m:907: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:908: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:914: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1064: warning: implicit declaration of
function 'CGContextSetFontRenderingMode'
/Users/sj/src/emacs/src/nsfont.m:1097: error: 'struct glyph_string' has no
member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1103: error: 'struct glyph_string' has no
member named 'gidx'

The following change from src/ChangeLog seems to be the root cause -- it
seems nsfont.m wasn't updated to reflect the change:

2008-08-29  Kenichi Handa  <handa@m17n.org>

        These changes are to re-implement the automatic composition so
        that it doesn't use text properties.

[...]
        * dispextern.h (struct glyph): New union u.cmp.  Delete the member
        cmp_id.
        (struct glyph_string): Delete the member gidx.  New members
        cmp_id, cmp_from, and cmp_to.

Emacs is being configured and built in a tmp dir as follows:

% cd <head of emacs cvs tree>
% mkdir tmp
% cd tmp
% CC=gcc CXX=g++ CFLAGS="-O2 -pipe -Wall" CXXFLAGS=$CFLAGS ../configure
--verbose --enable-cocoa-experimental-ctrl-g --without-pop --without-x
--with-x-toolkit=no --with-ns
% make

Thanks for all your hard work in integrating all the OS X/NextStep changes
into the mainline.

-Sudish

In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
 of 2008-08-27 on fluxus.int.absonant.org
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--verbose'
'--enable-cocoa-experimental-ctrl-g' '--without-pop' '--without-x'
'--with-x-toolkit=no' '--with-ns' 'CC=gcc-4.2' 'CFLAGS=-O2 -pipe -Wall''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  partial-completion-mode: t
  hi-lock-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up>
<up> d d d d d d d d d d s-s <up> <up> <up> <up> <up>
d d d d d d d d d d s-s C-x C-f d r <tab> <return>
<down> <down> <down> <down> d d s-s C-x C-f d e b <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> R a <tab> <return> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> x x x x x x
x x x x x x x x x x x <left> <left> x x s-s <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> C-h i <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <right> <right>
<return> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> SPC / b u g <return> / <return>
<right> <return> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> SPC SPC SPC SPC SPC <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> M-x r e p o r t
- e m a c s - b u g <return>

Recent messages:
incremental parser error: "Wrong type argument: consp, nil" [2 times]
(New file) [2 times]
New file. Inserted dmacro: h_masthead
Wrote /Users/sj/work/drake_work/httpproxymon/submit.h
Wrote /Users/sj/work/drake_work/httpproxymon/httpproxymon.c
Wrote /Users/sj/work/drake_work/httpproxymon/Makefile [3 times]
Wrote /Users/sj/work/drake_work/httpproxymon/drake.yml
Auto-saving...done
Wrote /Users/sj/work/drake_work/httpproxymon/Rakefile
Composing main Info directory...done

[-- Attachment #2.1.2: Type: text/html, Size: 7498 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#903: marked as done (CVS HEAD won't build --with-ns on OSX  10.5 (fails src/nsfont.m))
  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   ` Emacs bug Tracking System
  0 siblings, 0 replies; 29+ messages in thread
From: Emacs bug Tracking System @ 2008-10-03 18:10 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]


Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding CVS HEAD won't build --with-ns on OSX 10.5 (fails src/nsfont.m)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
823: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3268 bytes --]

From: merlyn@stonehenge.com (Randal L. Schwartz)
To: emacs-pretest-bug@gnu.org
Subject: CVS HEAD won't build --with-ns on OSX 10.5 (fails src/nsfont.m)
Date: Sat, 06 Sep 2008 07:14:13 -0700
Message-ID: <86ej3x745m.fsf@blue.stonehenge.com>


During "make bootstrap":

gcc -I/sw/include -L/sw/lib -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Volumes/UFS/MIRROR/emacs-CVS-new/src -I/usr/X11/include -Dtemacs   -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -g -O2 -Wno-pointer-sign  nsfont.m
nsfont.m: In function 'nsfont_char_width':
nsfont.m:481: warning: 'widthOfString:' is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_open':
nsfont.m:726: warning: 'widthOfString:' is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function 'nsfont_draw':
nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'
make[2]: *** [nsfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

Is this known?  Being worked on?  Do you need more info?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



[-- Attachment #3: Type: message/rfc822, Size: 2871 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 823-done@emacsbugs.donarmstrong.com
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400
Message-ID: <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6@gmail.com>

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:


On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2008-10-03 18:10 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).