From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: zoom features Date: Tue, 5 Jan 2010 12:25:50 -0800 Message-ID: References: <87hbr28l3y.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262735797 14070 80.91.229.12 (5 Jan 2010 23:56:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 23:56:37 +0000 (UTC) To: "'Joseph Brenner'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 06 00:56:30 2010 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 1NSJGD-00077x-78 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jan 2010 00:56:28 +0100 Original-Received: from localhost ([127.0.0.1]:49378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSIvO-00029s-O5 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jan 2010 18:34:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSFzS-0007NH-Q4 for help-gnu-emacs@gnu.org; Tue, 05 Jan 2010 15:26:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSFzM-0007Ks-Nt for help-gnu-emacs@gnu.org; Tue, 05 Jan 2010 15:26:54 -0500 Original-Received: from [199.232.76.173] (port=55748 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSFzM-0007Kl-GX for help-gnu-emacs@gnu.org; Tue, 05 Jan 2010 15:26:48 -0500 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:29017) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSFzL-0000Tz-BZ for help-gnu-emacs@gnu.org; Tue, 05 Jan 2010 15:26:48 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o05KQSSc014267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Jan 2010 20:26:37 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o05KMEMl022890; Tue, 5 Jan 2010 20:26:27 GMT Original-Received: from abhmt010.oracle.com by acsmt356.oracle.com with ESMTP id 1286458751262723160; Tue, 05 Jan 2010 12:26:00 -0800 Original-Received: from dradamslap1 (/141.144.224.23) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 Jan 2010 12:26:00 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcqOK+y8AKz3VB00T7ypgzonW3HCagAF4eMg In-Reply-To: <87hbr28l3y.fsf@kzsu.stanford.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4B43A074.00A6:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71075 Archived-At: > I put aside my own custom zoom.el package (never quite finished, and > thus never released) to try to use the feature built into Gnu emacs > these days: "text-scale-adjust", which is bound by default to: "C-x > C--". and "C-x C-+" (and also the unshifted "C-x C-="). > > In some ways I find it works pretty well, but in a few respects is > disappointing: > > (1) As you zoom in it does not automatically increase the size of the > window, so you have fewer columns displayed. > > (2) when I try to re-size the window (for example, to try to > maintain a fixed display of 80 columns), my window manager > (icewm) tells me the wrong effective window width. > > (3) text-scale-adjust only effects the current window, but if you need > to increase the size of text in one window, it's likely > you're going to want it in all of them (at least in the current frame). > > Are there any standard fixes for these problems kicking around? Library `zoom-frm.el' does what you're asking - see commands `zoom-in' and `zoom-out'. You can either zoom a frame (and its font) or zoom a buffer's text (in all windows showing that buffer). You can zoom in/out using a key or the mouse wheel. See http://www.emacswiki.org/emacs/SetFonts#ZoomFrame and http://www.emacswiki.org/emacs/SetFonts#ZoomBuffer (same Web page, different section; same commands `zoom-in', `zoom-out'). If you also use library `face-remap+.el' (with Emacs 23), then an option lets you automatically scale the window size (horizontally, vertically, or both) when you scale text (i.e. zoom a buffer). This lets you recuperate wasted space when you zoom out, freeing it up for other windows.