all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
@ 2008-07-23  8:18 ` Tim Van Holder
  2008-10-06 16:35   ` bug#598: marked as done (23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face) Emacs bug Tracking System
  0 siblings, 1 reply; 21+ messages in thread
From: Tim Van Holder @ 2008-07-23  8:18 UTC (permalink / raw)
  To: emacs-pretest-bug


For a few weeks now (starting around the time of the fix for #47, which
may or may not be relevant), emacs no longer comes up with the correct
frame size.
I have it set (to 132x60) in default-frame-alist, but emacs end up with
varying frame sizes instead - while there seem to be a few that it
favors, I can't see any real pattern in it.
The same happens if I remove the width/height settings from
default-frame-alist and use --geometry instead.
"emacs -Q --geometry 132x60" does seem to work 100% of the time.

I tried erasing the font/foundry customization, but that made no
difference; changing the font height, however, did. Emacs seems to
default to a height of 116 while I have mine set to 135 (since with the
font I prefer to use (Terminus), 116 is too small to read comfortably).

So it looks like the frame size is being computed based on the wrong
font sizing.

A few things I noticed while testing this:
- customizing the size of the default font causes emacs to repain its
  frame, and quite often this messes up the scrollbars (which I have
  set to appear on the right). Sometimes there is a black border to
  their right, sometimes they disappear. In either case, manually
  sizing the frame makes them redraw in their correct place.
- after saving the default face with the font and foundry items
  unchecked (i.e. uncustomized), and restarting emacs, it shows the
  font and foundry as customized (using Bitstream Vera Sans Mono)
- the 'foundry' setting was also added fairly recently; how do I find
  out a font's foundry so that I can set it correctly when customizing
  a face? Is there perhaps a font picker available in emacs that would
  allow me to customize a face more effectively?






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
@ 2008-09-28 20:46 Chong Yidong
  2008-09-29  7:34 ` Tim Van Holder
  0 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2008-09-28 20:46 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 598

> For a few weeks now (starting around the time of the fix for #47,
> which may or may not be relevant), emacs no longer comes up with the
> correct frame size.
>
> I have it set (to 132x60) in default-frame-alist, but emacs end up
> with varying frame sizes instead - while there seem to be a few that
> it favors, I can't see any real pattern in it.

Do you still see this problem?  I can't seem to reproduce it with latest
CVS.  I have no geometry set in my .Xresources file, and with the
following lines in .emacs:

 (add-to-list 'default-frame-alist '(width . 132))
 (add-to-list 'default-frame-alist '(height . 60))

Emacs seems to start with the appropriate width and height each time.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-09-28 20:46 Chong Yidong
@ 2008-09-29  7:34 ` Tim Van Holder
  2008-09-29  8:52   ` martin rudalics
  2008-09-29 17:30   ` Chong Yidong
  0 siblings, 2 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-09-29  7:34 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

On Sun, Sep 28, 2008 at 10:46 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
>> For a few weeks now (starting around the time of the fix for #47,
>> which may or may not be relevant), emacs no longer comes up with the
>> correct frame size.
>>
>> I have it set (to 132x60) in default-frame-alist, but emacs end up
>> with varying frame sizes instead - while there seem to be a few that
>> it favors, I can't see any real pattern in it.
>
> Do you still see this problem?  I can't seem to reproduce it with latest
> CVS.  I have no geometry set in my .Xresources file, and with the
> following lines in .emacs:
>
>  (add-to-list 'default-frame-alist '(width . 132))
>  (add-to-list 'default-frame-alist '(height . 60))
>
> Emacs seems to start with the appropriate width and height each time.

Do you also have a custom font set for the default face, using a font height
that differs from the default?

I still get it with a CVS build of 15 minutes ago.
4 consecutive runs of emacs (with 132x60 set via customize) resulted in
windows that were 132x57, 112x55, 132x69 and 175x61 in size.
As before (new-frame) always results in a correctly sized frame - it's only
the initial frame that shows the problem.
I'll do a clean bootstrap build; if that makes a difference, I'll send another
mail.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-09-29  7:34 ` Tim Van Holder
@ 2008-09-29  8:52   ` martin rudalics
  2008-09-29  9:13     ` Tim Van Holder
  2008-09-29 17:30   ` Chong Yidong
  1 sibling, 1 reply; 21+ messages in thread
From: martin rudalics @ 2008-09-29  8:52 UTC (permalink / raw)
  To: Tim Van Holder, 598; +Cc: Chong Yidong

 > I still get it with a CVS build of 15 minutes ago.
 > 4 consecutive runs of emacs (with 132x60 set via customize) resulted in
 > windows that were 132x57, 112x55, 132x69 and 175x61 in size.
 > As before (new-frame) always results in a correctly sized frame - it's only
 > the initial frame that shows the problem.

Does the erratic behavior change when you disable toolbars,
for example, by doing

(add-to-list 'default-frame-alist '(tool-bar-lines . 0))

in your .emacs?

martin






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-09-29  8:52   ` martin rudalics
@ 2008-09-29  9:13     ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-09-29  9:13 UTC (permalink / raw)
  To: martin rudalics; +Cc: Chong Yidong, 598

On Mon, Sep 29, 2008 at 10:52 AM, martin rudalics <rudalics@gmx.at> wrote:
>> I still get it with a CVS build of 15 minutes ago.
>> 4 consecutive runs of emacs (with 132x60 set via customize) resulted in
>> windows that were 132x57, 112x55, 132x69 and 175x61 in size.
>> As before (new-frame) always results in a correctly sized frame - it's
>> only
>> the initial frame that shows the problem.
>
> Does the erratic behavior change when you disable toolbars,
> for example, by doing
>
> (add-to-list 'default-frame-alist '(tool-bar-lines . 0))
>
> in your .emacs?

No (I used customize-variable to set tool-bar-lines to 0 instead of the 1 that
was already there). The behaviour was still incorrect (although the window
sizes I got were not "typical" ones (I got 112x47 and 112x58, whereas before
112x55 was much more common).
I noticed that emacs still ended up with a toolbar, so I set tool-bar-lines to 0
in initial-frame-alist too, which made the toolbar go away, but had no effect
on the erratic sizing either.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-09-29  7:34 ` Tim Van Holder
  2008-09-29  8:52   ` martin rudalics
@ 2008-09-29 17:30   ` Chong Yidong
  2008-09-30  7:39     ` Tim Van Holder
  1 sibling, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2008-09-29 17:30 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 598

"Tim Van Holder" <tim.vanholder@gmail.com> writes:

> 4 consecutive runs of emacs (with 132x60 set via customize) resulted
> in windows that were 132x57, 112x55, 132x69 and 175x61 in size.  As
> before (new-frame) always results in a correctly sized frame - it's
> only the initial frame that shows the problem.  I'll do a clean
> bootstrap build; if that makes a difference, I'll send another mail.

Could you start Emacs in gdb, set a gdb breakpoint at Fset_frame_size,
run the program, then do `backtrace' and `continue' past each of the
breaks?  Then mail me the result.

Thanks.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-09-29 17:30   ` Chong Yidong
@ 2008-09-30  7:39     ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-09-30  7:39 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

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

On Mon, Sep 29, 2008 at 7:30 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
> "Tim Van Holder" <tim.vanholder@gmail.com> writes:
>
>> 4 consecutive runs of emacs (with 132x60 set via customize) resulted
>> in windows that were 132x57, 112x55, 132x69 and 175x61 in size.  As
>> before (new-frame) always results in a correctly sized frame - it's
>> only the initial frame that shows the problem.  I'll do a clean
>> bootstrap build; if that makes a difference, I'll send another mail.
>
> Could you start Emacs in gdb, set a gdb breakpoint at Fset_frame_size,
> run the program, then do `backtrace' and `continue' past each of the
> breaks?  Then mail me the result.

Done - log attached.
As mentioned in the file, gdb does not seem able to catch all uses of that
function; there's a couple visible frame size changes that don't trigger the
breakpoint.

As an aside, how easy would it be to defer the actual visible frame size
changes until emacs is ready to accept input? That would avoid the "resizing
dance" emacs now does at startup (almost enough to warrant an epilepsy
warning :D).

[-- Attachment #2: emacs598-gdb.txt --]
[-- Type: text/plain, Size: 48471 bytes --]

Build of Sep 30 9:14 CEST from CVS HEAD.

tim@leeloo:~/gnu/build/linux/emacs/src$ gdb emacs
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

DISPLAY = leeloo.anubex.internal:5.0
TERM = xterm
Breakpoint 1 at 0x8114ef6: file /home/tim/gnu/src/emacs/src/emacs.c, line 420.
Breakpoint 2 at 0x812fd29: file /home/tim/gnu/src/emacs/src/sysdep.c, line 1135.
(gdb) br Fset_frame_size
Breakpoint 3 at 0x8060fc2: file /home/tim/gnu/src/emacs/src/frame.c, line 2742.
(gdb) r
Starting program: /home/tim/gnu/build/linux/emacs/src/emacs
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31131)]
[Switching to Thread 16384 (LWP 31131)]

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
(gdb) bt
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=139975637) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=139975637) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x0817fbb9 in Ffuncall (nargs=3, args=0xbfffdd90) at /home/tim/gnu/src/emacs/src/eval.c:3047
#4  0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#5  0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffded4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#6  0x0817fa4b in Ffuncall (nargs=1, args=0xbfffded0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#7  0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#8  0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#9  0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#10 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#11 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#12 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe0f0) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#14 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#15 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#16 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#17 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#18 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#19 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#20 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#21 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#22 0x08115cfc in main (argc=1073742869, argv=0xbfffe7e4) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"modify-frame-parameters" (0xbfffdd94)
"frame-notice-user-settings" (0xbfffded4)
"byte-code" (0xbfffdf80)
"normal-top-level" (0xbfffe0f0)
(gdb) cont
Continuing.

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
(gdb) bt
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=149134413) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=149134413) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080cf204 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=928, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3503
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffd6d0) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffd804) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffd800) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffd934) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffd930) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffda64) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffda60) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffdd94) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffdd90) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffded4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffded0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe0f0) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffe7e4) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffd6d4)
"set-face-attribute" (0xbfffd804)
"face-spec-set-2" (0xbfffd934)
"face-spec-recalc" (0xbfffda64)
"byte-code" (0xbfffdb00)
"face-set-after-frame-default" (0xbfffdd94)
"frame-notice-user-settings" (0xbfffded4)
"byte-code" (0xbfffdf80)
"normal-top-level" (0xbfffe0f0)
(gdb) cont
Continuing.

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
(gdb) bt
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=149133197) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=149133197) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080cf204 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=143599379, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3503
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffd6d0) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffd804) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffd800) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffd934) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffd930) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffda64) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffda60) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffdd94) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffdd90) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffded4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffded0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe0f0) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffe7e4) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffd6d4)
"set-face-attribute" (0xbfffd804)
"face-spec-set-2" (0xbfffd934)
"face-spec-recalc" (0xbfffda64)
"byte-code" (0xbfffdb00)
"face-set-after-frame-default" (0xbfffdd94)
"frame-notice-user-settings" (0xbfffded4)
"byte-code" (0xbfffdf80)
"normal-top-level" (0xbfffe0f0)
(gdb) cont
Continuing.

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
(gdb) bt
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=149131053) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=149131053) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x0817fbb9 in Ffuncall (nargs=3, args=0xbfffd390) at /home/tim/gnu/src/emacs/src/eval.c:3047
#4  0x081b2233 in Fbyte_code (bytestr=136498195, vector=136498212, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#5  0x0817f615 in funcall_lambda (fun=136498156, nargs=1, arg_vector=0xbfffd4c4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#6  0x0817fa4b in Ffuncall (nargs=2, args=0xbfffd4c0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#7  0x08180ea9 in call1 (fn=137847737, arg1=147078268) at /home/tim/gnu/src/emacs/src/eval.c:2829
#8  0x080d20ab in update_face_from_frame_parameter (f=0x8c43c78, param=147078268, new_value=140916203)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3541
#9  0x080e882a in x_set_background_color (f=0x8c43c78, arg=140916203, oldval=143594963) at /home/tim/gnu/src/emacs/src/xfns.c:937
#10 0x08064727 in x_set_frame_parameters (f=0x8c43c78, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2995
#11 0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2538
#12 0x080ced96 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=140916203, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3468
#13 0x0817fc00 in Ffuncall (nargs=5, args=0xbfffd6d0) at /home/tim/gnu/src/emacs/src/eval.c:3054
#14 0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffd804) at /home/tim/gnu/src/emacs/src/eval.c:3231
#16 0x0817fa4b in Ffuncall (nargs=5, args=0xbfffd800) at /home/tim/gnu/src/emacs/src/eval.c:3101
#17 0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#18 0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffd934) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffd930) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffda64) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffda60) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#26 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#27 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffdd94) at /home/tim/gnu/src/emacs/src/eval.c:3231
#28 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffdd90) at /home/tim/gnu/src/emacs/src/eval.c:3101
#29 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#30 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffded4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#31 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffded0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#32 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#33 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#34 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#35 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#36 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#37 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe0f0) at /home/tim/gnu/src/emacs/src/eval.c:3231
#38 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#39 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#40 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#41 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#42 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#43 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#44 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#45 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#46 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#47 0x08115cfc in main (argc=1073742869, argv=0xbfffe7e4) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"modify-frame-parameters" (0xbfffd394)
"frame-set-background-mode" (0xbfffd4c4)
"internal-set-lisp-face-attribute" (0xbfffd6d4)
"set-face-attribute" (0xbfffd804)
"face-spec-set-2" (0xbfffd934)
"face-spec-recalc" (0xbfffda64)
"byte-code" (0xbfffdb00)
"face-set-after-frame-default" (0xbfffdd94)
"frame-notice-user-settings" (0xbfffded4)
"byte-code" (0xbfffdf80)
"normal-top-level" (0xbfffe0f0)
(gdb) cont
Continuing.

Breakpoint 3, Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
(gdb) bt
#0  Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080ced96 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=140916203, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3468
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffd6d0) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffd804) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffd800) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffd934) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffd930) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffda64) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffda60) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffdd94) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffdd90) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffded4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffded0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe0f0) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffe7e4) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffd6d4)
"set-face-attribute" (0xbfffd804)
"face-spec-set-2" (0xbfffd934)
"face-spec-recalc" (0xbfffda64)
"byte-code" (0xbfffdb00)
"face-set-after-frame-default" (0xbfffdd94)
"frame-notice-user-settings" (0xbfffded4)
"byte-code" (0xbfffdf80)
"normal-top-level" (0xbfffe0f0)
(gdb) cont
Continuing.

At this point emacs accepts input (and is 112x48).
There were also a couple frame size changes without a corresponding breakpoint hit.
I then reran emacs under gdb with break points on Fset_frame_width and Fset_frame_height too;
those breakpoints were never hit. I did notice that the Fset_frame_size breakpoint was
not hit the same number of times. Looks like the gdb I use is unable to handle the debugging
of emacs very well, as subsequent runs showed between 1 and 5 breakpoint hits (threading issue
perhaps?).
I've included the results of a second pass below.

(gdb) commands 3
Type commands for when breakpoint 3 is hit, one per line.
End with a line saying just "end".
>bt
>cont
>end
(gdb) r
Starting program: /home/tim/gnu/build/linux/emacs/src/emacs
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31950)]
[Switching to Thread 16384 (LWP 31950)]

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=139974661) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=139974661) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x0817fbb9 in Ffuncall (nargs=3, args=0xbfffe410) at /home/tim/gnu/src/emacs/src/eval.c:3047
#4  0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#5  0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffe554) at /home/tim/gnu/src/emacs/src/eval.c:3231
#6  0x0817fa4b in Ffuncall (nargs=1, args=0xbfffe550) at /home/tim/gnu/src/emacs/src/eval.c:3101
#7  0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#8  0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#9  0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#10 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#11 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#12 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe770) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#14 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#15 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#16 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#17 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#18 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#19 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#20 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#21 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#22 0x08115cfc in main (argc=1073742869, argv=0xbfffee64) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"modify-frame-parameters" (0xbfffe414)
"frame-notice-user-settings" (0xbfffe554)
"byte-code" (0xbfffe600)
"normal-top-level" (0xbfffe770)

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=148980837) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=148980837) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080cf204 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=928, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3503
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffdd50) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffde84) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffde80) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffdfb4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffdfb0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffe0e4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffe0e0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffe414) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffe410) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffe554) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffe550) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe770) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffee64) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffdd54)
"set-face-attribute" (0xbfffde84)
"face-spec-set-2" (0xbfffdfb4)
"face-spec-recalc" (0xbfffe0e4)
"byte-code" (0xbfffe180)
"face-set-after-frame-default" (0xbfffe414)
"frame-notice-user-settings" (0xbfffe554)
"byte-code" (0xbfffe600)
"normal-top-level" (0xbfffe770)

Breakpoint 3, Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
#0  Fset_frame_size (frame=147078268, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=148977485) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=148977485) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x0817fbb9 in Ffuncall (nargs=3, args=0xbfffda10) at /home/tim/gnu/src/emacs/src/eval.c:3047
#4  0x081b2233 in Fbyte_code (bytestr=136498195, vector=136498212, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#5  0x0817f615 in funcall_lambda (fun=136498156, nargs=1, arg_vector=0xbfffdb44) at /home/tim/gnu/src/emacs/src/eval.c:3231
#6  0x0817fa4b in Ffuncall (nargs=2, args=0xbfffdb40) at /home/tim/gnu/src/emacs/src/eval.c:3101
#7  0x08180ea9 in call1 (fn=137847737, arg1=147078268) at /home/tim/gnu/src/emacs/src/eval.c:2829
#8  0x080d20ab in update_face_from_frame_parameter (f=0x8c43c78, param=147078268, new_value=140916171)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3541
#9  0x080e882a in x_set_background_color (f=0x8c43c78, arg=140916171, oldval=143594963) at /home/tim/gnu/src/emacs/src/xfns.c:937
#10 0x08064727 in x_set_frame_parameters (f=0x8c43c78, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2995
#11 0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2538
#12 0x080ced96 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=140916171, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3468
#13 0x0817fc00 in Ffuncall (nargs=5, args=0xbfffdd50) at /home/tim/gnu/src/emacs/src/eval.c:3054
#14 0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffde84) at /home/tim/gnu/src/emacs/src/eval.c:3231
#16 0x0817fa4b in Ffuncall (nargs=5, args=0xbfffde80) at /home/tim/gnu/src/emacs/src/eval.c:3101
#17 0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#18 0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffdfb4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffdfb0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffe0e4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffe0e0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#26 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#27 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffe414) at /home/tim/gnu/src/emacs/src/eval.c:3231
#28 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffe410) at /home/tim/gnu/src/emacs/src/eval.c:3101
#29 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#30 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffe554) at /home/tim/gnu/src/emacs/src/eval.c:3231
#31 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffe550) at /home/tim/gnu/src/emacs/src/eval.c:3101
#32 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#33 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#34 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#35 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#36 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#37 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe770) at /home/tim/gnu/src/emacs/src/eval.c:3231
#38 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#39 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#40 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#41 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#42 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#43 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#44 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#45 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#46 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#47 0x08115cfc in main (argc=1073742869, argv=0xbfffee64) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"modify-frame-parameters" (0xbfffda14)
"frame-set-background-mode" (0xbfffdb44)
"internal-set-lisp-face-attribute" (0xbfffdd54)
"set-face-attribute" (0xbfffde84)
"face-spec-set-2" (0xbfffdfb4)
"face-spec-recalc" (0xbfffe0e4)
"byte-code" (0xbfffe180)
"face-set-after-frame-default" (0xbfffe414)
"frame-notice-user-settings" (0xbfffe554)
"byte-code" (0xbfffe600)
"normal-top-level" (0xbfffe770)

Breakpoint 3, Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
#0  Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=137839917) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080ced96 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=140916171, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3468
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffdd50) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffde84) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffde80) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffdfb4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffdfb0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffe0e4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffe0e0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffe414) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffe410) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffe554) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffe550) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe770) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffee64) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffdd54)
"set-face-attribute" (0xbfffde84)
"face-spec-set-2" (0xbfffdfb4)
"face-spec-recalc" (0xbfffe0e4)
"byte-code" (0xbfffe180)
"face-set-after-frame-default" (0xbfffe414)
"frame-notice-user-settings" (0xbfffe554)
"byte-code" (0xbfffe600)
"normal-top-level" (0xbfffe770)

Breakpoint 3, Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {
#0  Fset_frame_size (frame=147078268, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
#1  0x0806493f in x_set_frame_parameters (f=0x8c43c78, alist=147976605) at /home/tim/gnu/src/emacs/src/frame.c:3111
#2  0x08065026 in Fmodify_frame_parameters (frame=147078268, alist=147976605) at /home/tim/gnu/src/emacs/src/frame.c:2538
#3  0x080cf204 in Finternal_set_lisp_face_attribute (face=137874369, attr=<value optimized out>, value=140690091, frame=147078268)
    at /home/tim/gnu/src/emacs/src/xfaces.c:3503
#4  0x0817fc00 in Ffuncall (nargs=5, args=0xbfffdd50) at /home/tim/gnu/src/emacs/src/eval.c:3054
#5  0x081b2233 in Fbyte_code (bytestr=136484659, vector=136484676, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#6  0x0817f615 in funcall_lambda (fun=136484596, nargs=4, arg_vector=0xbfffde84) at /home/tim/gnu/src/emacs/src/eval.c:3231
#7  0x0817fa4b in Ffuncall (nargs=5, args=0xbfffde80) at /home/tim/gnu/src/emacs/src/eval.c:3101
#8  0x081b2233 in Fbyte_code (bytestr=136495131, vector=136495148, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#9  0x0817f615 in funcall_lambda (fun=136495076, nargs=3, arg_vector=0xbfffdfb4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#10 0x0817fa4b in Ffuncall (nargs=4, args=0xbfffdfb0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#11 0x081b2233 in Fbyte_code (bytestr=136494979, vector=136494996, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#12 0x0817f615 in funcall_lambda (fun=136494932, nargs=2, arg_vector=0xbfffe0e4) at /home/tim/gnu/src/emacs/src/eval.c:3231
#13 0x0817fa4b in Ffuncall (nargs=3, args=0xbfffe0e0) at /home/tim/gnu/src/emacs/src/eval.c:3101
#14 0x081b2233 in Fbyte_code (bytestr=136499691, vector=136499716, maxdepth=24) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#15 0x0817f0b3 in Feval (form=136499677) at /home/tim/gnu/src/emacs/src/eval.c:2381
#16 0x081816f1 in internal_lisp_condition_case (var=137847329, bodyform=136499677, handlers=136499789)
    at /home/tim/gnu/src/emacs/src/eval.c:1456
#17 0x081b1531 in Fbyte_code (bytestr=136499579, vector=136499596, maxdepth=56) at /home/tim/gnu/src/emacs/src/bytecode.c:868
#18 0x0817f615 in funcall_lambda (fun=136499524, nargs=1, arg_vector=0xbfffe414) at /home/tim/gnu/src/emacs/src/eval.c:3231
#19 0x0817fa4b in Ffuncall (nargs=2, args=0xbfffe410) at /home/tim/gnu/src/emacs/src/eval.c:3101
#20 0x081b2233 in Fbyte_code (bytestr=136782331, vector=136782348, maxdepth=72) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#21 0x0817f615 in funcall_lambda (fun=136782300, nargs=0, arg_vector=0xbfffe554) at /home/tim/gnu/src/emacs/src/eval.c:3231
#22 0x0817fa4b in Ffuncall (nargs=1, args=0xbfffe550) at /home/tim/gnu/src/emacs/src/eval.c:3101
#23 0x081b2233 in Fbyte_code (bytestr=136532403, vector=136532428, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:678
#24 0x0817f0b3 in Feval (form=136532389) at /home/tim/gnu/src/emacs/src/eval.c:2381
#25 0x0817f46f in Fprogn (args=147078268) at /home/tim/gnu/src/emacs/src/eval.c:449
#26 0x0817da1f in unbind_to (count=32, value=137847329) at /home/tim/gnu/src/emacs/src/eval.c:3399
#27 0x081b20cd in Fbyte_code (bytestr=136532051, vector=136532068, maxdepth=48) at /home/tim/gnu/src/emacs/src/bytecode.c:700
#28 0x0817f615 in funcall_lambda (fun=136532028, nargs=0, arg_vector=0xbfffe770) at /home/tim/gnu/src/emacs/src/eval.c:3231
#29 0x0817f837 in apply_lambda (fun=136532028, args=137847329, eval_flag=1) at /home/tim/gnu/src/emacs/src/eval.c:3155
#30 0x0817eec8 in Feval (form=138413797) at /home/tim/gnu/src/emacs/src/eval.c:2417
#31 0x0811c8f3 in top_level_2 () at /home/tim/gnu/src/emacs/src/keyboard.c:1347
#32 0x0817e58b in internal_condition_case (bfun=0x811c8e0 <top_level_2>, handlers=137890545, hfun=0x8121100 <cmd_error>)
    at /home/tim/gnu/src/emacs/src/eval.c:1511
#33 0x08120ead in top_level_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:1355
#34 0x0817e64c in internal_catch (tag=137886521, func=0x8120e60 <top_level_1>, arg=137847329)
    at /home/tim/gnu/src/emacs/src/eval.c:1247
#35 0x08120f41 in command_loop () at /home/tim/gnu/src/emacs/src/keyboard.c:1310
#36 0x081212db in recursive_edit_1 () at /home/tim/gnu/src/emacs/src/keyboard.c:942
#37 0x08121424 in Frecursive_edit () at /home/tim/gnu/src/emacs/src/keyboard.c:1004
#38 0x08115cfc in main (argc=1073742869, argv=0xbfffee64) at /home/tim/gnu/src/emacs/src/emacs.c:1724

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xbfffdd54)
"set-face-attribute" (0xbfffde84)
"face-spec-set-2" (0xbfffdfb4)
"face-spec-recalc" (0xbfffe0e4)
"byte-code" (0xbfffe180)
"face-set-after-frame-default" (0xbfffe414)
"frame-notice-user-settings" (0xbfffe554)
"byte-code" (0xbfffe600)
"normal-top-level" (0xbfffe770)


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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
@ 2008-10-01  0:01 Chong Yidong
  2008-10-01  8:12 ` Tim Van Holder
  0 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2008-10-01  0:01 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 598

Thanks for the backtrace.

Could you go to the third breakpoint, i.e.

  Fset_frame_size (frame=147078268, cols=896, rows=384)

and check the following variables?

n
n
n
n (until f is assigned)
p f->new_text_lines
p f->new_text_cols

Also, could you send me the minimal .emacs and .Xresources required to
reproduce this bug for you?

Thanks.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-01  0:01 Chong Yidong
@ 2008-10-01  8:12 ` Tim Van Holder
  2008-10-01  8:47   ` martin rudalics
  2008-10-03  8:25   ` Tim Van Holder
  0 siblings, 2 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-01  8:12 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

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

On Wed, Oct 1, 2008 at 2:01 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
> Thanks for the backtrace.
>
> Could you go to the third breakpoint, i.e.
>
>  Fset_frame_size (frame=147078268, cols=896, rows=384)
>
> and check the following variables?
>
> n
> n
> n
> n (until f is assigned)
> p f->new_text_lines
> p f->new_text_cols
>
> Also, could you send me the minimal .emacs and .Xresources required to
> reproduce this bug for you?
>
> Thanks.

gdb log attached.
Note: 'f' was not available inside Fset_frame_size (due to
optimization perhaps),
so I got the info inside x_set_window_size() instead.

My recipe:
- set aside .emacs (I have no .Xresources)
- run emacs (-> gets me an 80x37 frame)
- run emacs --geometry 132x60 ( gets me an 132x57 frame)
  => these are explained by menu/toolbars, if I disable those, X reports the
       window as 132x60; while this bothers me a little, if it just means I have
       to ask for 132x63, that would be fine I guess
- customize-face default, set font to terminus (foundry xos4), and height to 135
- run emacs --geometry 132x60
  -> erratic results

Checking now, it looks like it's the terminus font causing the current troubles,
a few other fonts I've checked (e.g. adobe courier) seem to end up at 132x57
reliably.
This puzzles me, as I am sure I originally reproduced it by changing only the
font height and keeping the font itself unchanged.
I'm also getting max-specpdl-size exceeded on C-x 5 2, so I cannot check the
previously observed behaviour that even when the initial frame is erratically
sized, subsequent frames are fine.

[-- Attachment #2: emacs598-gdb2.txt --]
[-- Type: text/plain, Size: 3852 bytes --]

tim@leeloo:~/gnu/build/linux/emacs/src$ gdb emacs
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

DISPLAY = leeloo.anubex.internal:5.0
TERM = xterm
Breakpoint 1 at 0x811cc16: file /home/tim/gnu/src/emacs/src/emacs.c, line 420.
Breakpoint 2 at 0x8137f49: file /home/tim/gnu/src/emacs/src/sysdep.c, line 1133.
(gdb) break Fset_frame_size
Breakpoint 3 at 0x8061896: file /home/tim/gnu/src/emacs/src/frame.c, line 2742.
(gdb) break x_set_window_size
Breakpoint 4 at 0x80df4f6: file /home/tim/gnu/src/emacs/src/xterm.c, line 8847.
(gdb) disable 4
(gdb) commands 3
Type commands for when breakpoint 3 is hit, one per line.
End with a line saying just "end".
>enable 4
>cont
>end
(gdb) commands 4
Type commands for when breakpoint 4 is hit, one per line.
End with a line saying just "end".
>disable 4
>p f->new_text_lines
>p f->new_text_cols
>cont
>end
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/tim/gnu/build/linux/emacs/src/emacs
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31757)]
[Switching to Thread 16384 (LWP 31757)]

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$3 = 0
$4 = 0

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$5 = 60
$6 = 132

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$7 = 0
$8 = 0

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$9 = 0
$10 = 0

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$11 = 0
$12 = 0

Breakpoint 3, Fset_frame_size (frame=147028492, cols=1056, rows=480) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=132, rows=60) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$13 = 60
$14 = 132

Breakpoint 3, Fset_frame_size (frame=147028492, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=112, rows=48) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$15 = 0
$16 = 0

Breakpoint 3, Fset_frame_size (frame=147028492, cols=896, rows=384) at /home/tim/gnu/src/emacs/src/frame.c:2742
2742    {

Breakpoint 4, x_set_window_size (f=0x8c37a08, change_gravity=1, cols=112, rows=48) at /home/tim/gnu/src/emacs/src/xterm.c:8847
8847      BLOCK_INPUT;
$17 = 0
$18 = 0

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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-01  8:12 ` Tim Van Holder
@ 2008-10-01  8:47   ` martin rudalics
  2008-10-01  9:52     ` bug#911: " Tim Van Holder
  2008-10-03  8:25   ` Tim Van Holder
  1 sibling, 1 reply; 21+ messages in thread
From: martin rudalics @ 2008-10-01  8:47 UTC (permalink / raw)
  To: Tim Van Holder, 598; +Cc: Chong Yidong

 > I'm also getting max-specpdl-size exceeded on C-x 5 2, so I cannot check the
 > previously observed behaviour that even when the initial frame is erratically
 > sized, subsequent frames are fine.

That's most likely bug#911 (aka nine-eleven) see

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=911

Could you try the recipe Chong gave there?

martin






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-01  9:52     ` bug#911: " Tim Van Holder
@ 2008-10-01 13:05       ` martin rudalics
  2008-10-01 13:57         ` Tim Van Holder
  0 siblings, 1 reply; 21+ messages in thread
From: martin rudalics @ 2008-10-01 13:05 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: Chong Yidong, 911, 598

> I tried a slightly different recipe (below) and that made the error go away.

I suppose the original problem (that of erratic size changes) persists?

martin








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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-01 13:05       ` martin rudalics
@ 2008-10-01 13:57         ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-01 13:57 UTC (permalink / raw)
  To: martin rudalics; +Cc: Chong Yidong, 598

(removed bug #911 from cc: list, as it's no longer about that issue)

On Wed, Oct 1, 2008 at 3:05 PM, martin rudalics <rudalics@gmx.at> wrote:
>> I tried a slightly different recipe (below) and that made the error go
>> away.
>
> I suppose the original problem (that of erratic size changes) persists?

Yes, it does. It seems to be font-specific though - one font in particular shows
the problem for me, others don't.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-01  8:12 ` Tim Van Holder
  2008-10-01  8:47   ` martin rudalics
@ 2008-10-03  8:25   ` Tim Van Holder
  1 sibling, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-03  8:25 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

On Wed, Oct 1, 2008 at 10:12 AM, Tim Van Holder <tim.vanholder@gmail.com> wrote:
> Checking now, it looks like it's the terminus font causing the current troubles,
> a few other fonts I've checked (e.g. adobe courier) seem to end up at 132x57
> reliably.

Turns out this is not the case - emacs started up in a 168x61 frame
this morning, with
adobe-courier set as font. So it just seems to show up much less often.
Given that I'm on a system that I can't update (all new packages
require kernel 2.6,
which doesn't support the system's RAID controller), could it be that
an outdated
gtk and/or X is causing the problem?






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

* bug#598: marked as done (23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face)
  2008-07-23  8:18 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
@ 2008-10-06 16:35   ` Emacs bug Tracking System
  0 siblings, 0 replies; 21+ messages in thread
From: Emacs bug Tracking System @ 2008-10-06 16:35 UTC (permalink / raw)
  To: Chong Yidong

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


Your message dated Mon, 06 Oct 2008 12:27:07 -0400
with message-id <87k5clg04k.fsf@cyd.mit.edu>
and subject line Re: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
has caused the Emacs bug report #598,
regarding 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
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.)


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

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

From: Tim Van Holder <tim.vanholder@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
Date: Wed, 23 Jul 2008 10:18:02 +0200
Message-ID: <87k5fdvwsl.fsf@leeloo.anubex.internal>


For a few weeks now (starting around the time of the fix for #47, which
may or may not be relevant), emacs no longer comes up with the correct
frame size.
I have it set (to 132x60) in default-frame-alist, but emacs end up with
varying frame sizes instead - while there seem to be a few that it
favors, I can't see any real pattern in it.
The same happens if I remove the width/height settings from
default-frame-alist and use --geometry instead.
"emacs -Q --geometry 132x60" does seem to work 100% of the time.

I tried erasing the font/foundry customization, but that made no
difference; changing the font height, however, did. Emacs seems to
default to a height of 116 while I have mine set to 135 (since with the
font I prefer to use (Terminus), 116 is too small to read comfortably).

So it looks like the frame size is being computed based on the wrong
font sizing.

A few things I noticed while testing this:
- customizing the size of the default font causes emacs to repain its
  frame, and quite often this messes up the scrollbars (which I have
  set to appear on the right). Sometimes there is a black border to
  their right, sometimes they disappear. In either case, manually
  sizing the frame makes them redraw in their correct place.
- after saving the default face with the font and foundry items
  unchecked (i.e. uncustomized), and restarting emacs, it shows the
  font and foundry as customized (using Bitstream Vera Sans Mono)
- the 'foundry' setting was also added fairly recently; how do I find
  out a font's foundry so that I can set it correctly when customizing
  a face? Is there perhaps a font picker available in emacs that would
  allow me to customize a face more effectively?



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

From: Chong Yidong <cyd@stupidchicken.com>
To: Tim Van Holder <tim.vanholder@gmail.com>
Cc: 598-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
Date: Mon, 06 Oct 2008 12:27:07 -0400
Message-ID: <87k5clg04k.fsf@cyd.mit.edu>

I've checked in a fix that should solve this problem.


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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
       [not found] <87k5clg04k.fsf@cyd.mit.edu>
  2008-07-23  8:18 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
@ 2008-10-07 11:25 ` Tim Van Holder
  2008-10-07 12:09   ` martin rudalics
  2008-10-08 22:47   ` Chong Yidong
  1 sibling, 2 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-07 11:25 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

On Mon, Oct 6, 2008 at 6:27 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
> I've checked in a fix that should solve this problem.

Unfortunately, even after a maintainer-clean + make bootstrap, the issue is not
resolved for me.  In fact, the very first run of the new emacs
resulted in a frame that
was 168x61 instead of 132x57 (is that 132x60->132x57 as a result of
menu/toolbars
considered a bug or a feature?).






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-07 11:25 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
@ 2008-10-07 12:09   ` martin rudalics
  2008-10-08  8:15     ` Tim Van Holder
  2008-10-08 22:47   ` Chong Yidong
  1 sibling, 1 reply; 21+ messages in thread
From: martin rudalics @ 2008-10-07 12:09 UTC (permalink / raw)
  To: Tim Van Holder, 598; +Cc: Chong Yidong

 > Unfortunately, even after a maintainer-clean + make bootstrap, the issue is not
 > resolved for me.  In fact, the very first run of the new emacs
 > resulted in a frame that
 > was 168x61 instead of 132x57 (is that 132x60->132x57 as a result of
 > menu/toolbars
 > considered a bug or a feature?).

Could you try commenting out the code below from x_figure_window_size in
frame.c and tell whether and how the behavior changes?

   if (toolbar_p && FRAME_TOOL_BAR_LINES (f))
     {
       int margin, relief, bar_height;

       relief = (tool_bar_button_relief >= 0
		? tool_bar_button_relief
		: DEFAULT_TOOL_BAR_BUTTON_RELIEF);

       if (INTEGERP (Vtool_bar_button_margin)
	  && XINT (Vtool_bar_button_margin) > 0)
	margin = XFASTINT (Vtool_bar_button_margin);
       else if (CONSP (Vtool_bar_button_margin)
	       && INTEGERP (XCDR (Vtool_bar_button_margin))
	       && XINT (XCDR (Vtool_bar_button_margin)) > 0)
	margin = XFASTINT (XCDR (Vtool_bar_button_margin));
       else
	margin = 0;

       bar_height = DEFAULT_TOOL_BAR_IMAGE_HEIGHT + 2 * margin + 2 * relief;
       FRAME_LINES (f) += (bar_height + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f);
     }

martin







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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-07 12:09   ` martin rudalics
@ 2008-10-08  8:15     ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-08  8:15 UTC (permalink / raw)
  To: martin rudalics; +Cc: Chong Yidong, 598

On Tue, Oct 7, 2008 at 2:09 PM, martin rudalics <rudalics@gmx.at> wrote:
>> Unfortunately, even after a maintainer-clean + make bootstrap, the issue
>> is not
>> resolved for me.  In fact, the very first run of the new emacs
>> resulted in a frame that
>> was 168x61 instead of 132x57 (is that 132x60->132x57 as a result of
>> menu/toolbars
>> considered a bug or a feature?).
>
> Could you try commenting out the code below from x_figure_window_size
> in frame.c and tell whether and how the behavior changes?
>
>  [code snipped]

No behavior change - I get frames of 132x57 and 168x61.
Some printf()s added in that function show that the block is indeed
never entered - perhaps it is called before the info is set from one
of the frame alists?
In fact, even if I force FRAME_TOOLBAR_LINES(f) to 1 before that if,
I get:

[x_figure_window_size] before toolbar check [yes/1]
[x_figure_window_size] block entered
[x_figure_window_size] relief = 1
[x_figure_window_size] margin = 4
[x_figure_window_size] bar_height = 34
[x_figure_window_size] FRAME_LINES (before) = 40
[x_figure_window_size] FRAME_LINES (afte4r) = 43

and the frame still ends up at 132x57.






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-07 11:25 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
  2008-10-07 12:09   ` martin rudalics
@ 2008-10-08 22:47   ` Chong Yidong
  2008-10-09  8:09     ` Tim Van Holder
  1 sibling, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2008-10-08 22:47 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 598

"Tim Van Holder" <tim.vanholder@gmail.com> writes:

> Unfortunately, even after a maintainer-clean + make bootstrap, the
> issue is not resolved for me.  In fact, the very first run of the new
> emacs resulted in a frame that was 168x61 instead of 132x57 (is that
> 132x60->132x57 as a result of menu/toolbars considered a bug or a
> feature?).

What window manager are you using?

Also, does the following change (which disables window manager size
hints) have any effect?

*** trunk/src/gtkutil.c.~1.140.~	2008-10-07 13:44:01.000000000 -0400
--- trunk/src/gtkutil.c	2008-10-08 18:46:33.000000000 -0400
***************
*** 925,930 ****
--- 925,932 ----
       long flags;
       int user_position;
  {
+   return;
+ 
    /* Don't set size hints during initialization; that apparently leads
       to a race condition.  See the thread at
       http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00033.html  */






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-10-08 22:47   ` Chong Yidong
@ 2008-10-09  8:09     ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-10-09  8:09 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

2008/10/9 Chong Yidong <cyd@stupidchicken.com>:
> "Tim Van Holder" <tim.vanholder@gmail.com> writes:
>
>> Unfortunately, even after a maintainer-clean + make bootstrap, the
>> issue is not resolved for me.  In fact, the very first run of the new
>> emacs resulted in a frame that was 168x61 instead of 132x57 (is that
>> 132x60->132x57 as a result of menu/toolbars considered a bug or a
>> feature?).
>
> What window manager are you using?

metacity (2.14.5)

> Also, does the following change (which disables window manager size
> hints) have any effect?

Yes.
Effects seen:
- there seems to be a little less resizing during startup
- no popup with the frame size when grabbing the border to resize
- resizing doesn't "snap" to character size (so when resizing it's possibly
  to get small black borders below the minibuffer and next to the scrollbar
- starts up with a 132x60 frame (checked by comparing with a frame from
  yesterday's build); after 20 runs it still hasn't shown a different size






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
@ 2008-11-03 16:00 Chong Yidong
  2008-11-05 10:06 ` Tim Van Holder
  0 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2008-11-03 16:00 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 598

 "Tim Van Holder" <tim.vanholder@gmail.com> writes:

> Unfortunately, even after a maintainer-clean + make bootstrap, the
> issue is not resolved for me.  In fact, the very first run of the new
> emacs resulted in a frame that was 168x61 instead of 132x57 (is that
> 132x60->132x57 as a result of menu/toolbars considered a bug or a
> feature?).

Does the following patch improve matters?

*** trunk/src/xfns.c.~1.727.~	2008-10-28 11:24:26.000000000 -0400
--- trunk/src/xfns.c	2008-11-03 10:33:55.000000000 -0500
***************
*** 3099,3104 ****
--- 3099,3118 ----
    x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING);
  }
  
+ DEFUN ("x-wm-set-size-hint", Fx_wm_set_size_hint, Sx_wm_set_size_hint,
+        0, 1, 0,
+        doc: /* Send the size hints for frame FRAME to the window manager.  */)
+      (frame)
+      Lisp_Object frame;
+ {
+   struct frame *f;
+   if (NILP (frame))
+     frame = selected_frame;
+   f = XFRAME (frame);
+   BLOCK_INPUT;
+   x_wm_set_size_hint (f, 0, 0);
+   UNBLOCK_INPUT;
+ }
  
  DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
         1, 1, 0,
***************
*** 5944,5949 ****
--- 5958,5964 ----
    defsubr (&Sx_display_visual_class);
    defsubr (&Sx_display_backing_store);
    defsubr (&Sx_display_save_under);
+   defsubr (&Sx_wm_set_size_hint);
    defsubr (&Sx_create_frame);
    defsubr (&Sx_open_connection);
    defsubr (&Sx_close_connection);
*** trunk/lisp/term/x-win.el.~1.235.~	2008-08-30 19:54:06.000000000 -0400
--- trunk/lisp/term/x-win.el	2008-11-03 10:33:09.000000000 -0500
***************
*** 1540,1545 ****
--- 1540,1548 ----
    ;; Don't let Emacs suspend under X.
    (add-hook 'suspend-hook 'x-win-suspend-error)
  
+   ;; Set wm hints after initialization
+   (add-hook 'after-init-hook 'x-wm-set-size-hint)
+ 
    ;; Turn off window-splitting optimization; X is usually fast enough
    ;; that this is only annoying.
    (setq split-window-keep-point t)






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

* bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face
  2008-11-03 16:00 Chong Yidong
@ 2008-11-05 10:06 ` Tim Van Holder
  0 siblings, 0 replies; 21+ messages in thread
From: Tim Van Holder @ 2008-11-05 10:06 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 598

2008/11/3 Chong Yidong <cyd@stupidchicken.com>:
>  "Tim Van Holder" <tim.vanholder@gmail.com> writes:
>
>> Unfortunately, even after a maintainer-clean + make bootstrap, the
>> issue is not resolved for me.  In fact, the very first run of the new
>> emacs resulted in a frame that was 168x61 instead of 132x57 (is that
>> 132x60->132x57 as a result of menu/toolbars considered a bug or a
>> feature?).
>
> Does the following patch improve matters?

Sorry for not replying sooner.
With that patch (or rather, the version that was already included in this
morning's CVS build), I seem to get an emacs that is 132x57 most of
the time.
Occasionally I still get a different one (168x66), but it seems to be the
exception now rather than the norm.






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

end of thread, other threads:[~2008-11-05 10:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87k5clg04k.fsf@cyd.mit.edu>
2008-07-23  8:18 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
2008-10-06 16:35   ` bug#598: marked as done (23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face) Emacs bug Tracking System
2008-10-07 11:25 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
2008-10-07 12:09   ` martin rudalics
2008-10-08  8:15     ` Tim Van Holder
2008-10-08 22:47   ` Chong Yidong
2008-10-09  8:09     ` Tim Van Holder
2008-11-03 16:00 Chong Yidong
2008-11-05 10:06 ` Tim Van Holder
  -- strict thread matches above, loose matches on Subject: below --
2008-10-01  0:01 Chong Yidong
2008-10-01  8:12 ` Tim Van Holder
2008-10-01  8:47   ` martin rudalics
2008-10-01  9:52     ` bug#911: " Tim Van Holder
2008-10-01 13:05       ` martin rudalics
2008-10-01 13:57         ` Tim Van Holder
2008-10-03  8:25   ` Tim Van Holder
2008-09-28 20:46 Chong Yidong
2008-09-29  7:34 ` Tim Van Holder
2008-09-29  8:52   ` martin rudalics
2008-09-29  9:13     ` Tim Van Holder
2008-09-29 17:30   ` Chong Yidong
2008-09-30  7:39     ` Tim Van Holder

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.