From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Wrong frame with recent trunk [MSYS2-MinGW64] Date: Thu, 24 Jul 2014 18:44:45 +0200 Message-ID: <53D137FD.6050204@alice.it> References: <53D02A85.1040402@alice.it> <53D09F37.5060109@yandex.ru> <53D0FEA4.2080007@alice.it> <53D132C6.6040506@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406220336 30098 80.91.229.3 (24 Jul 2014 16:45:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2014 16:45:36 +0000 (UTC) Cc: Emacs developers To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 18:45:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XAM92-0003NQ-N7 for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2014 18:45:28 +0200 Original-Received: from localhost ([::1]:50965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAM92-0002RY-Aw for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2014 12:45:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAM8r-0002Qz-8G for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:45:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAM8i-0004eG-Rx for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:45:17 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:46732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAM8i-0004d2-HQ for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:45:08 -0400 Original-Received: from [192.168.1.103] (79.53.28.37) by smtp203.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 539B7F430A270E4C; Thu, 24 Jul 2014 18:45:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53D132C6.6040506@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173124 Archived-At: 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.