From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Setting geometry for second frame ?? Date: Sat, 12 Sep 2009 14:24:45 +0200 Message-ID: <4AAB930D.8090609@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 1252758434 7850 80.91.229.12 (12 Sep 2009 12:27:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 12:27:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: billlinux@rogers.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 14:27:07 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MmRh5-0001xd-3p for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 14:27:07 +0200 Original-Received: from localhost ([127.0.0.1]:50034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmRh3-0000M9-Pj for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 08:27:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmRgO-0000LM-Px for help-gnu-emacs@gnu.org; Sat, 12 Sep 2009 08:26:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmRgK-0000Ge-2H for help-gnu-emacs@gnu.org; Sat, 12 Sep 2009 08:26:24 -0400 Original-Received: from [199.232.76.173] (port=57170 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmRgJ-0000GK-SS for help-gnu-emacs@gnu.org; Sat, 12 Sep 2009 08:26:19 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53018) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MmRgJ-0006Ml-6Q for help-gnu-emacs@gnu.org; Sat, 12 Sep 2009 08:26:19 -0400 Original-Received: (qmail invoked by alias); 12 Sep 2009 12:24:46 -0000 Original-Received: from 62-47-47-181.adsl.highway.telekom.at (EHLO [62.47.47.181]) [62.47.47.181] by mail.gmx.net (mp071) with SMTP; 12 Sep 2009 14:24:46 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18nNAZLxWgnQA7fJoyKPq4led2XRU44X6qN1034nP dLT7brh1uxv5ss User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-References: 1252757015.2294.32.camel@CASE X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68076 Archived-At: > I want this second frame to open with a geometry of 75x55 so that I can > fit two frames, side-by-side, on my desktop. I don't want to change my > Xresources file unless there is a safe way to write a conditional > command in Xresources, nor compromise on my default setting. > > Is there a way to do this using a key binding to an existing function or > do I have to write my own function? If I have to write my own function, > could you outline which functions and/or variables I might need to use? You might want to look at the functions `dframe-frame-mode' and `dframe-reposition-frame' and how the speedbar uses them. martin