From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel Subject: Re: set-frame-position problem(?) Date: Sat, 12 Jan 2008 10:12:02 -0300 Message-ID: <4788BCA2.2000501@ig.com.br> References: <47880831.7060202@ig.com.br> <4788857C.5020403@gmx.at> NNTP-Posting-Host: lo.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 1200139831 20778 80.91.229.12 (12 Jan 2008 12:10:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2008 12:10:31 +0000 (UTC) Cc: "GNU Emacs \(devel\)" To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 12 13:10:49 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JDfCD-0003Y8-MS for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2008 13:10:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDfBp-0005C4-NV for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2008 07:10:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDfBk-0005Bm-Fq for emacs-devel@gnu.org; Sat, 12 Jan 2008 07:10:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDfBh-00058i-Bt for emacs-devel@gnu.org; Sat, 12 Jan 2008 07:10:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDfBh-00058f-7b for emacs-devel@gnu.org; Sat, 12 Jan 2008 07:10:09 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.241]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JDfBg-0004kf-QX for emacs-devel@gnu.org; Sat, 12 Jan 2008 07:10:08 -0500 Original-Received: by an-out-0708.google.com with SMTP id c25so287717ana.84 for ; Sat, 12 Jan 2008 04:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=UsbQK92xqzkn3V/B7CN2xHWsG5VNzw6FzzFXL+BAhfA=; b=wBuZ2ZCeQofZx2bNFAeIvXE/F8hWLmqqOmJvC/ifRmdah7hBvCM38dF8rpytWOcsWftcUdqdmlQQJXGznkFon4rH7zKW9myYah8tCw8d4d/gkMQyqbkaJ88M0QKHMs0cS86HKvlJT64VlNy3ctNXk/BJE7Dssz2ZxmQSMrYYz5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=FBNgWQslmFF3f2V2UbYgpjDiw3WCMzqVhEUPzl/qzTRNfQOEaI0RE8SYMGhySp6qBIAznIGGOsWrc+Ly28j6vo2FcxWXBvs5nOdLrfE1FTtxO+QsOwU+GtpNceklNW2fgu545w8+MaTAwmx2CIsggnTBab641QyW6P7Az4nDR8U= Original-Received: by 10.101.70.5 with SMTP id x5mr9149755ank.106.1200139807316; Sat, 12 Jan 2008 04:10:07 -0800 (PST) Original-Received: from ?192.168.0.100? ( [201.82.224.123]) by mx.google.com with ESMTPS id 6sm6341489agd.29.2008.01.12.04.10.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Jan 2008 04:10:05 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 In-Reply-To: <4788857C.5020403@gmx.at> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86783 Archived-At: > > I'm not sure if there is a bug/problem with set-frame-position > > or if I'm missing something. > > Does anything change when you apply the following patch? > > *** frame.c.~1.360.~ Wed Oct 31 20:25:32 2007 > --- frame.c Sat Jan 5 20:06:34 2008 > *************** > *** 4072,4077 **** > --- 4072,4078 ---- > change the frame size. This is done so that users can create > tall Emacs frames without having to guess how tall the tool-bar > will get. */ > + #if 0 > if (toolbar_p && FRAME_TOOL_BAR_LINES (f)) > { > int margin, relief, bar_height; > *************** > *** 4093,4098 **** > --- 4094,4100 ---- > bar_height = DEFAULT_TOOL_BAR_IMAGE_HEIGHT + 2 * margin + 2 * > relief; > FRAME_LINES (f) += (bar_height + FRAME_LINE_HEIGHT (f) - 1) / > FRAME_LINE_HEIGHT (f); > } > + #endif > > compute_fringe_widths (f, 0); No, this patch doesn't fix the situation.