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: Mon, 28 Jul 2014 00:16:55 +0200 Message-ID: <53D57A57.20200@alice.it> References: <53D02A85.1040402@alice.it> <53D09F37.5060109@yandex.ru> <53D0FEA4.2080007@alice.it> <53D132C6.6040506@yandex.ru> <53D137FD.6050204@alice.it> 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 1406499462 5342 80.91.229.3 (27 Jul 2014 22:17:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2014 22:17:42 +0000 (UTC) Cc: rudalics@gmx.at, Emacs developers To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 00:17:35 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 1XBWl2-0005tj-CZ for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2014 00:17:32 +0200 Original-Received: from localhost ([::1]:36539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWl1-0004J0-HE for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2014 18:17:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWkr-0004If-IR for emacs-devel@gnu.org; Sun, 27 Jul 2014 18:17:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBWkj-0002Mu-V2 for emacs-devel@gnu.org; Sun, 27 Jul 2014 18:17:21 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:63912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWkj-0002MV-K7 for emacs-devel@gnu.org; Sun, 27 Jul 2014 18:17:13 -0400 Original-Received: from [192.168.1.103] (82.61.91.62) by smtp203.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 539B7F430ABB721D; Mon, 28 Jul 2014 00:17:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53D137FD.6050204@alice.it> 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:173189 Archived-At: It seems the the issue has been reintroduced in some manner.. Revision 117568 looks ok: when I restart Emacs the frame has the same position, width and height of previous session. With the rev. 117589, restarting Emacs produces a frame with the same position and width but the height increases od about 2 line, so after one restarts 2, 3... times, Emacs frame is too long, out the screen.. Maybe recent Martin's changes about horizontal scroll bar causes this? Thanks, angelo. Il 24/07/2014 18:44, Angelo Graziosi ha scritto: > > > 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. >