In GNU Emacs 27.2 is there a way to change the text font size of a single buffer without changing all frames that are displayingopen instances of that buffer (in different frames)?
In my version of emacs, when I use Ctrl+MouseWheel up/down it enlarges the font or reduces the font size for the current buffer. But it also changes all frames that are displayinginstances of the current buffer.
(Q) Is there a way to change the font size of a buffer just in a the current frame? If I have other frames displaying I'm interested in just instance of the buffer, I don't want them (in one frame) to resize as wellbe resized.
What I've tried
Searching I found SO question/answer
Is it possible to change the font size in specific buffers? Which is good but it changes all of the buffer instances on all frames. Basically, I already havelooked for a solution to my question and found this working with Ctrl+MouseWheel up/down
Searching - I searched for the zoom-in/out feature:
Atarticle which indicates that the feature I'm looking for is not supported. See https://www.emacswiki.org/emacs/SetFonts it says:
You can resize (text-scale) the text in a buffer (in all windows showing it), or you can resize the default font of a frame.
But I haven't been able to get it to workalso found this question/answer:
Is it possible to change the font size in specific buffers? This explains how a buffer's text can be resized in all frames (yetthat have the buffer open). Basically, I already have this working with Ctrl+MouseWheel up/down.
Why?
Why do I want to do this? you might ask. I have a daily notes file in which I use emacs outline mode. I'll put (in some cases) a large (100+ lines) of a log file for my records and easy grep'ing for problems in the future. The outline mode makes it trivial to collapse a large log so I can focus on my notes.
However, when I'm studying a log file I want smaller font; so I want one frame for notes and a separate frame for studying a log file.