all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Joseph Brenner'" <doom@kzsu.stanford.edu>, <help-gnu-emacs@gnu.org>
Subject: RE: zoom features
Date: Tue, 5 Jan 2010 12:25:50 -0800	[thread overview]
Message-ID: <BE367CE19B1D4093829AAFBE30EEF9A3@us.oracle.com> (raw)
In-Reply-To: <87hbr28l3y.fsf@kzsu.stanford.edu>

> 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.






  parent reply	other threads:[~2010-01-05 20:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04  6:01 zoom features Joseph Brenner
2010-01-04  9:29 ` Miles Bader
2010-01-05 20:25 ` Drew Adams [this message]
2010-01-06  1:00 ` Joseph Brenner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BE367CE19B1D4093829AAFBE30EEF9A3@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=doom@kzsu.stanford.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.