all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Emre Yolcu <mail@emreyolcu.com>
Cc: 71085@debbugs.gnu.org
Subject: bug#71085: text-scale-adjust does not adjust margin width
Date: Wed, 22 May 2024 15:03:57 +0300	[thread overview]
Message-ID: <86seya6ok2.fsf@gnu.org> (raw)
In-Reply-To: <8E15D0B1-7CC7-4202-9D13-BC4AF8319BF1@emreyolcu.com> (message from Emre Yolcu on Tue, 21 May 2024 16:10:14 -0400)

> From: Emre Yolcu <mail@emreyolcu.com>
> Date: Tue, 21 May 2024 16:10:14 -0400
> Cc: 71085@debbugs.gnu.org
> 
> > Actually, you want a face that will _not_ be remapped, since you want
> > to make sure the text in the margins will not get clipped.  The
> > current behavior is that by default the text in the margin is already
> > remapped, which is why it can get clipped if it becomes too wide.
> By remap here I mean that it will remap the margin face *back* to the  
> original height. The current behavior does not explicitly touch (remap)  
> the text in the margin, so the height gets determined by the buffer-local  
> height of the default face.

Which means the text in the margins is "remapped" together with the
rest of buffer text.  While you want it to retain its original size,
so as not to be clipped.

> If enabled, the option would make text-scale-mode remap the margin
> face back to the original height to prevent the text from getting
> clipped.

We don't have "remapping back" in Emacs.  Face remapping affects the
same all the faces that don't have an absolute size specification, so
they all grow or shrink in the same manner.  The only faces that don't
grow/shrink are those which are NOT remapped or have an absolute size
spec.





  reply	other threads:[~2024-05-22 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-20 22:50 bug#71085: text-scale-adjust does not adjust margin width Emre Yolcu
2024-05-21 11:38 ` Eli Zaretskii
2024-05-21 16:14   ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-21 16:14   ` Emre Yolcu
2024-05-21 18:17     ` Eli Zaretskii
2024-05-21 20:10       ` Emre Yolcu
2024-05-22 12:03         ` Eli Zaretskii [this message]
2024-05-22 17:05           ` Emre Yolcu

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=86seya6ok2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=71085@debbugs.gnu.org \
    --cc=mail@emreyolcu.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.