From: "Gauthier Östervall" <gauthier@ostervall.se>
To: help-gnu-emacs@gnu.org
Subject: frame-cmds enlarge-font
Date: Fri, 16 Dec 2016 11:04:53 +0100 [thread overview]
Message-ID: <CAM8gEghgbciHcOj4=D4Ho3odNBGEExNVeao+e=zXrYF8GJB5eg@mail.gmail.com> (raw)
I want the functionality of zoom-frm or default-text-scale (zooming in
on all windows of a frame).
I installed both via elpa, but none worked. The first zoom worked,
then nothing more. A little investigation hints that the problem is
with frame-cmds.el, and its function enlarge-font.
This seems to relate to an ancient but (#119 and #1562), Emacs 23. I
am currently on Emacs 24.4.1 because Debian.
There is a comment in frame-cmds.el, with a work-around for this bug.
I tested it to no av, but I'm not sure I did it right:
- replaced frame-cmds.el function enlarge-font with the work-around.
Recompile with (byte-recompile-directory package-user-dir nil 'force),
start a new emacs instance. This seems to work better when I call
enlarge-font directly, although 1 and -1 as parameters don't always
work. zoom-frm's command zoom-in still works only once.
For now I will just define my-enlarge-font in my init.el as what is in
the comment in frame-cmds.el, and call that directly. It would have
been nice to have the extra functionality of zoom-frm, but I'm not
sure what the correct way to do that: modify frame-cmds, recompile,
make zoom-frm use that.
next reply other threads:[~2016-12-16 10:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-16 10:04 Gauthier Östervall [this message]
2016-12-16 14:56 ` frame-cmds enlarge-font Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM8gEghgbciHcOj4=D4Ho3odNBGEExNVeao+e=zXrYF8GJB5eg@mail.gmail.com' \
--to=gauthier@ostervall.se \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).