help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] emacs-22.3 set-frame-width question


From: Drew Adams
Subject: RE: [h-e-w] emacs-22.3 set-frame-width question
Date: Fri, 24 Oct 2008 15:45:49 -0700

> I have been using emacs-22.1 on my PC for some time.  Today I
> installed emacs-22.3.  It seems OK except for these two entries in my
> .emacs file:
> (set-frame-height (selected-frame) 54)
> and
> (set-frame-width (selected-frame) 136)
> 
> They just will not work no matter what I try.  I do not get any errors
> when emacs process the .emacs file. Help.

Do those two sexps work when you use `M-:' instead of putting them in .emacs?
`M-: (set-frame-height (selected-frame) 54) RET'

If so, then perhaps (selected-frame) is not what you think it is at the moment
those sexps are evaluated in .emacs. Try putting this in .emacs, to see which
frame Emacs thinks is selected at that time:

(message "FRAME: `%S'" (selected-frame))
(sleep-for 5)
(set-frame-height (selected-frame) 54)
(set-frame-width (selected-frame) 136)

If things don't work as expected, please file a bug: `M-x report-emacs-bug'. But
first see the Emacs manual, node Bugs.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]