From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.help
Subject: RE: Convenient Speedbar
Date: Thu, 7 Mar 2019 14:20:42 -0800 (PST)
Message-ID: <b04447db-9366-4ff8-b470-3f1929afc736@default>
References: <20190307133522.7890dde0@gauss>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="58150"; mail-complaints-to="usenet@blaine.gmane.org"
To: Joe Riel <jriel@maplesoft.com>, Help GNU Emacs <help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 07 23:21:08 2019
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1h21Nz-000F2j-FM
	for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 23:21:07 +0100
Original-Received: from localhost ([127.0.0.1]:60314 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1h21Ny-0001u1-G1
	for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Mar 2019 17:21:06 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:50613)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1h21Nh-0001tt-SR
	for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 17:20:50 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1h21Ng-0003Lg-Tp
	for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 17:20:49 -0500
Original-Received: from aserp2130.oracle.com ([141.146.126.79]:52534)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <drew.adams@oracle.com>)
	id 1h21Ng-0003HS-Bo
	for help-gnu-emacs@gnu.org; Thu, 07 Mar 2019 17:20:48 -0500
Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
	by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id
	x27MJKgf082193; Thu, 7 Mar 2019 22:20:45 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
	h=mime-version :
	message-id : date : from : sender : to : subject : references :
	in-reply-to : content-type : content-transfer-encoding;
	s=corp-2018-07-02; 
	bh=8To15OIkfrWQYj8mfcIHj6RICEyPX1I+fKAj4yCtEm8=;
	b=R51PTFNh0THuZ5ygoroL+dlFK3NDROfaQKNiUCZxxBEKKwDhuE/yA1hxyVh4y+2zV6/w
	mskywf1Sg6vcOjkhuVwW1zbDlZB37g2t1ejF8zf048hQqG0k9P9snzl13TjANvLYkbRy
	s8QopYOHls/ZmB9tZL6AOHakTh2Zr2UEeZBaClQIdpEPDISNudCk1slpbg+MdMfTfMu4
	1WWKkjPHjsk5u/LkZTKawYP+/u1pAPO8kmFFcmVMrYucJV2VgD0clO6SUp8oAEKVFHbk
	c7EQM32Q/bW4QCwfdbtqqxIiYx3Z1qNZ0IqsPyrgponOLHhs5+aO8ZlPFmUfOLkhiN+k
	YA== 
Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
	by aserp2130.oracle.com with ESMTP id 2qyfbendbx-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
	Thu, 07 Mar 2019 22:20:45 +0000
Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
	by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x27MKik8004103
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=OK); Thu, 7 Mar 2019 22:20:44 GMT
Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
	by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x27MKhaK026281;
	Thu, 7 Mar 2019 22:20:43 GMT
In-Reply-To: <20190307133522.7890dde0@gauss>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
	16.0.4810.0 (x86)]
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9188
	signatures=668685
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
	priorityscore=1501 malwarescore=0
	suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011
	lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999
	adultscore=0
	classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000
	definitions=main-1903070147
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
X-Received-From: 141.146.126.79
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs/>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "help-gnu-emacs"
	<help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.help:119578
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/119578>

> I use speedbar, occasionally.  Because my emacs is normally full screen,
> I manually readjust it and the speedbar frame to appropriate sizes.
> What is a convenient way to automate this, so that when speedbar is
> launched, the frames sizes and locations are automatically adjusted?

You can use `tile-frames-side-by-side' from library
`frame-cmds.el'.

It tiles frames equally, which might not be what you
want for speedbar plus others.  But you can use other
functions in the library to adjust widths etc.

You can also use worker function `frcmds-tile-frames'
to tile all (or some given list of) frames other than
speedbar into the screen rectangle that is your display
rectangle minus your speedbar frame.  That is, leave
the speedbar frame where it is and tile other frames
into the screen space outside the speedbar frame.