emacs-devel
[Top][All Lists]
Advanced

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

Re: Wrong frame with recent trunk [MSYS2-MinGW64]


From: Dmitry Antipov
Subject: Re: Wrong frame with recent trunk [MSYS2-MinGW64]
Date: Thu, 24 Jul 2014 20:22:30 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 07/24/2014 04:40 PM, Angelo Graziosi wrote:

Can you also try that the following:

(set-frame-height nil (1+ (frame-height)))
(set-frame-height nil (1- (frame-height)))
(set-frame-size nil (1+ (frame-width)) (1+ (frame-height)))
(set-frame-size nil (1- (frame-width)) (1- (frame-height)))

Sorry, may you clarify?

Should I put that code in an init.el (.emacs etc.) file?

No, just copy & paste them into *scratch*, then go to end
of each line and type C-x C-e.

works as expected on MS-Windows?

What should I expect?

(set-frame-height nil (1+ (frame-height)))
==> frame height should be increased by one character row

(set-frame-height nil (1- (frame-height)))
==> likewise but decreased

(set-frame-size nil (1+ (frame-width)) (1+ (frame-height)))
==> width should be increased by one character column and
    height should be increased by one character row

>> (set-frame-size nil (1- (frame-width)) (1- (frame-height)))
==> likewise but decreased

Dmitry





reply via email to

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