[Top][All Lists]

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

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

From: address@hidden
Subject: RE: [h-e-w] emacs-22.3 set-frame-width question
Date: Fri, 24 Oct 2008 22:57:48 GMT

I use M-: they both work.

Michael Rutherford

-- "Drew Adams" <address@hidden> wrote:
> 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.

Click to find information on your credit score and your credit report.

reply via email to

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