home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0015.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  1.5 KB  |  41 lines

  1.  
  2. >>>>> "Darrell" == Darrell Kindred <Darrell.Kindred@CMU.EDU> writes:
  3.  
  4.     Darrell> This won't work in 19.6 *or* 19.4 (or probably any
  5.     Darrell> version).  The actual resource which specifies the screen
  6.     Darrell> geometry is Emacs.<screenname>.pane.EmacsScreen.geometry,
  7.     Darrell> so you can set this .Xdefaults like this:
  8.  
  9.     Darrell>     Emacs.QUICK*EmacsScreen.geometry: 80x24+372+49
  10.  
  11.     Darrell> (Note the periods and star.)  The NEWS file for
  12.     Darrell> Lucid-emacs states incorrectly that
  13.     Darrell> Emacs.<screenname>.geometry will work.
  14.  
  15. Hmm, I disagree. Unless I've been hallucinating with 19.4 all this
  16. time, it definitely *did* work as the NEWS file states.  In some
  17. private email, Jamie told me to take a look at ScreenWidget.c as the
  18. possible source of breakage.  Look at function set_screen_size and
  19. compare it against the 19.4 version -- it pretty easy to see why it
  20. broke in 19.6.  The appended simple patch, (3 lines ripped from 19.4)
  21. fixes the problem.
  22.  
  23. -Barry
  24.  
  25. -------------------- snip snip --------------------
  26. *** ScreenWidget.c.orig    Sat Mar 13 15:05:05 1993
  27. --- ScreenWidget.c    Mon Apr 12 10:09:55 1993
  28. ***************
  29. *** 264,267 ****
  30. --- 264,272 ----
  31.   
  32.   
  33. +   /* first try to get geometry spec for this widget */
  34. +   if (!ew->emacs_screen.emacs_geometry)
  35. +     XtVaGetValues (wmshell, XtNgeometry,
  36. +            &ew->emacs_screen.emacs_geometry, 0);
  37.     /* If Emacs.this_screen.geometry was not specified, default to the
  38.        parent's geometry, so that the resource "Emacs.geometry" is the
  39.  
  40.