From: Lars Ingebrigtsen <larsi@gnus.org>
To: carlmarcos@tutanota.com
Cc: 56357@debbugs.gnu.org
Subject: bug#56357: Request for font size adaptation that fits window
Date: Mon, 04 Jul 2022 13:01:20 +0200 [thread overview]
Message-ID: <871qv187lr.fsf@gnus.org> (raw)
In-Reply-To: <N5yq7Tu--3-2@tutanota.com> (carlmarcos@tutanota.com's message of "Sat, 2 Jul 2022 14:17:51 +0200 (CEST)")
carlmarcos@tutanota.com writes:
> Suppose a user uses a 13 pt font size. Let there be some space
> between the longest line in the buffer and the edge of the window. It
> would be super if the font size could be automatically increased, such
> that the difference between the longest line and the window size in
> minimised.
I think that sounds like a useful feature, and I'm kinda surprised that
it doesn't exist yet. Or does it? Anybody know?
To implement this, I guess the obvious thing would be to have a global
minor mode that'd listen to frame size changes, and then adjust the font
size up/down to reach the desired number of characters in a frame? So
we'd have a user option font-size-adjust-target (defaulting to 80)
and a font-size-adjust-mode?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-07-04 11:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-02 12:17 bug#56357: Request for font size adaptation that fits window carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-03 3:39 ` Richard Stallman
2022-07-04 11:01 ` Lars Ingebrigtsen [this message]
2022-07-04 11:42 ` Eli Zaretskii
2022-07-04 13:54 ` Lars Ingebrigtsen
2022-07-04 14:05 ` Eli Zaretskii
2022-07-04 19:25 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-05 11:11 ` Lars Ingebrigtsen
2022-07-05 15:33 ` Christopher Dimech
2022-07-04 15:54 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qv187lr.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56357@debbugs.gnu.org \
--cc=carlmarcos@tutanota.com \
/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.