Il 24/07/2014 18:22, Dmitry Antipov ha scritto:
No, just copy & paste them into *scratch*, then go to end
of each line and type C-x C-e.
Oh, I did this but didn't notice the effect without something to
compare.. Now I resize the window of a running application to the same
size of Emacs frame and noticed the result...
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
Yes, unless I have been drinking a lot of wine.. sob..., all that works
as expected also on Windows... ;-)
Ciao,
Angelo.