On Thu, Nov 07 2024, Eli Zaretskii wrote:
The need for adjusting the margins in this case is specific to how the
visual-fill-column package uses the margins, it is not a general need.
Yes, true.
What are the problems of using text-scale-mode-hook? Or even using
add-variable-watcher to cause Emacs call your function when
face-remapping-alist changes?
I haven't actually tried those methods, since I rarely use
text-scale-adjust and James's is the first user request I received about it
in a long time.
IOW, why do you think this is a core Emacs issue, not an issue with
how visual-fill-column is implemented?
Reading your message, I'm not sure that it is. But I guess this is also a
question for James.