From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Wrong frame with recent trunk [MSYS2-MinGW64] Date: Thu, 24 Jul 2014 20:22:30 +0400 Message-ID: <53D132C6.6040506@yandex.ru> References: <53D02A85.1040402@alice.it> <53D09F37.5060109@yandex.ru> <53D0FEA4.2080007@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 1406218999 10232 80.91.229.3 (24 Jul 2014 16:23:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2014 16:23:19 +0000 (UTC) Cc: Emacs developers To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 18:23:13 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 1XALnT-0001gB-GN for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2014 18:23:11 +0200 Original-Received: from localhost ([::1]:50871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XALnT-0001l0-35 for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2014 12:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XALnJ-0001kk-PI for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XALnC-0004ra-5c for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:23:01 -0400 Original-Received: from forward1l.mail.yandex.net ([84.201.143.144]:33839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XALnB-0004qx-Sj for emacs-devel@gnu.org; Thu, 24 Jul 2014 12:22:54 -0400 Original-Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward1l.mail.yandex.net (Yandex) with ESMTP id C283515216CB; Thu, 24 Jul 2014 20:22:40 +0400 (MSK) Original-Received: from smtp8.mail.yandex.net (localhost [127.0.0.1]) by smtp8.mail.yandex.net (Yandex) with ESMTP id 573751B60113; Thu, 24 Jul 2014 20:22:40 +0400 (MSK) Original-Received: from unknown (unknown [213.87.131.187]) by smtp8.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 76H9OVBN36-Md7KZXCp; Thu, 24 Jul 2014 20:22:39 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 97126030-fd8c-4673-883c-d9e7ad950be8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406218960; bh=+7B7YyKynXfa+Hfby7xX4j+wl4k8Q3828DCSxWHxY6o=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ruAOk4v+O5+jxBu9u4MFFaQHCVggtCqKUDge9K76/IG/XWZbrW23G+jEX9w2zQev7 mNNZz3WqkN/XTLIfZS74Z/zfztZFAWhoVpnKaB+oSKMy53cD0mE9bgf52DnsuJ/cvj JDgmq2O3NQv4utl40AEg/3u5dEmjrJXyIpa52H0M= Authentication-Results: smtp8.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53D0FEA4.2080007@alice.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.144 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:173123 Archived-At: 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