<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
 Hello!<div><br class="webkit-block-placeholder"></div><div>When trying to build Emacs.app from the recent GNU Emacs 23.0.60 code a few glitches happen, so for example a few patches were rejected:<div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Makefile.in:   ns-emacs(.texi) could not be inserted because nxml-mode entered the scene</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>configure.in:  AC_PREREQ(2.61)dnl not commented because of changed next line</div><div><span class="Apple-tab-span" style="white-space:pre">         </span>       EMACS_ARG_Y([ns]... not inserted because of dbus</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>src/Makefile:  .SUFFIXES: .m and .m.o rule problems because of DBUS_CFLAGS</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>       #ifdef GNUSTEP not inserted because of DBUS_LIBS</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>src/font.c:    ASET (scratch_font_spec, FONT_REGISTRY_INDEX, Qiso10646_1); not necessary?</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>       syms_of_nsfont (); already there</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>src/fontset.c: ASET (font_spec, j, AREF (font_spec, j)); not necessary?</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>       family = Fdowncase (family); already deleted ?</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>       registry = Fdowncase (registry); already deleted</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>src/xfaces.c:  return lookup_face (f, attrs); already there</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>However I cannot check whether the code can be compiled, because compilation ends with:</div><div><br class="webkit-block-placeholder"></div><div><div><div><span class="Apple-tab-span" style="white-space:pre">  </span>xdisp.c: In function ‘handle_auto_composed_prop’:</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>xdisp.c:4591: error: ‘enable_font_backend’ undeclared (first use in this function)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>xdisp.c:4591: error: (Each undeclared identifier is reported only once</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>xdisp.c:4591: error: for each function it appears in.)</div><div><br class="webkit-block-placeholder"></div><div>The reason is from</div><div><br class="webkit-block-placeholder"></div><div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>#ifdef HAVE_WINDOW_SYSTEM</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>#ifdef USE_FONT_BACKEND</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>#include "font.h"</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>#endif<span class="Apple-tab-span" style="white-space:pre">      </span>/* USE_FONT_BACKEND */</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#endif<span class="Apple-tab-span" style="white-space:pre">      </span>/* HAVE_WINDOW_SYSTEM */</div><div><br class="webkit-block-placeholder"></div><div>and src/config.h, somehow. Of course src/xdisp.c has</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>#include <config.h></div><div><br class="webkit-block-placeholder"></div><div>and src/config.h has</div><div><br class="webkit-block-placeholder"></div><div><div><div><span class="Apple-tab-span" style="white-space:pre">   </span>/* If we're using NeXTstep, define some consequences. */</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>#ifdef HAVE_NS</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#define HAVE_WINDOW_SYSTEM</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>#define MULTI_KBOARD</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>#define HAVE_MOUSE</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>#ifdef GNUSTEP</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#define CANNOT_DUMP</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>#endif</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>/* PENDING: These are used for the Carbon port only. */</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>/* #undef MAC_OS */</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>/* #undef MAC_OSX */</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>#endif</div><div><br class="webkit-block-placeholder"></div><div>so obviously HAVE_NS does not gets set. Because configure.in is newer than configure ... So a 'autoreconf -fvi' is needed – removes additions to src/config.in! And for this purpose it's good to have 'AC_PREREQ(2.61)dnl' commented out in configure.in in case one is not proud user of autoconf 2.61! Now HAVE_NS is defined as 1 and src/config.h has:</div><div><br class="webkit-block-placeholder"></div><div><div><div><span class="Apple-tab-span" style="white-space:pre">       </span>/* Likewise if we're using the Carbon or NeXTStep APIs on Mac OS X. */ 955</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>#ifdef HAVE_CARBON || defined(HAVE_NS)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#define HAVE_WINDOW_SYSTEM</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>#define HAVE_MOUSE</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>#endif</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#ifdef HAVE_NS</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>#define MULTI_KBOARD</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>#endif</div><div><br class="webkit-block-placeholder"></div><div>and also USE_FONT_BACKEND is defined as 1. But still the same error! Changing the line</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>#ifdef HAVE_CARBON || defined(HAVE_NS)</div><div><br class="webkit-block-placeholder"></div><div>to</div></div></div></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>#if defined(HAVE_CARBON) || defined(HAVE_NS)</div><div><br class="webkit-block-placeholder"></div><div>in scr/config.h lets xdisp.c compile ...</div><div><br class="webkit-block-placeholder"></div><div>So it's obvious that line #274 of emacs-23.0.0_NS-9.0rc3.patch needs a patch!</div><div><br></div><div><div><div><br class="webkit-block-placeholder"></div><div>In the end no success:</div><div><br class="webkit-block-placeholder"></div><div><div><span class="Apple-tab-span" style="white-space:pre">       </span>cc-vars.el:158:1:Warning: !! The file uses old-style backquotes !!</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>This functionality has been obsolete for more than 10 years already</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>and will be removed soon.  See (elisp)Backquote in the manual.</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Wrote .../emacs-23.0.0_NS-9.0rc3/lisp/progmodes/cc-vars.elc</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>Compiling .../emacs-23.0.0_NS-9.0rc3/lisp/./abbrev.el</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>In toplevel form:</div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>abbrev.el:735:4:Error: Lisp nesting exceeds `max-lisp-eval-depth'</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>make[2]: *** [compile] Error 1</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>make[1]: *** [bootstrap-build] Error 2</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>make: *** [bootstrap] Error 2</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>+ status=2</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>+ '[' -f src/epaths.h-orig ']'</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>+ mv src/epaths.h-orig src/epaths.h</div><div><br class="webkit-block-placeholder"></div><div>Producing the X client went fine. So I change '$MAKE bootstrap' a simple '$MAKE' – and now it succeeds! Emacs.app even runs in Terminal and xterm! But when launching it as 'Aqua client' it fails:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Font `LucidaSans-Typewriter' is not defined</div><div><br class="webkit-block-placeholder"></div><div>even when launched with -Q. The X client, when compiled with enabled font backend, crashes within a minute or two before the first frame is created.</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div></div></div></div></div></div></div></div></div></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Sans Typewriter'; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Hoefler Text'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans Typewriter'; font-size: 10px; ">--</span></span></font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'" size="2"><span class="Apple-style-span" style="font-size: 10px;">Greetings</span></font></div><div><font class="Apple-style-span" face="'Lucida Sans Typewriter'" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br class="webkit-block-placeholder"></span></font></div><div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans Typewriter'; font-size: 10px; ">  Pete</span></span></font></div><div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "><br style="font-family: 'Lucida Sans Typewriter'; font-size: 10px; "></span></font></div><div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans Typewriter'; font-size: 10px; ">Let's face it; we don't want a free market economy either.</span></span></font></div><div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans Typewriter'; font-size: 10px; "><span class="Apple-tab-span" style="white-space: pre; ">               </span>– James Farley, president, Coca-Cola Export Corp., 1959</span></span></font></div><font class="Apple-style-span" face="Lucida Sans Typewriter" size="2"><span class="Apple-style-span" style="font-size: 10px; font-family: 'Lucida Sans Typewriter'; "></span></font><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'Hoefler Text'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span> </div><br></div></div></body></html>