all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: 26909@debbugs.gnu.org
Subject: bug#26909: 25.1; A face for margins
Date: Sat, 13 May 2017 17:27:00 +0300	[thread overview]
Message-ID: <83lgq096iz.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8Xi05oZqWa-QNo-x5P5Dn=GJvUWNkPiGET+23rY0tPZtA@mail.gmail.com> (message from Yuri Khan on Sat, 13 May 2017 21:07:03 +0700)

> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Sat, 13 May 2017 21:07:03 +0700
> 
> The last two actions demonstrate that customizing the faces of
> whatever is displayed in the margin is not sufficient. A mechanism is
> needed that will allow customization of the margin where nothing is
> displayed. A new face would serve nicely.

A face can only affect places where something is displayed using that
face.  Display margins only display text if the buffer specifies text
properties or overlays which display in the margins.  But what you
would like to do calls for having a face that would affect screen
space where _nothing_ is displayed, and such screen space in Emacs is
always displayed using the frame's background color, not by using some
face.

You could specify a light gray background color for the frame, and
another color for the default face, but I think this would cause
unpleasant effects elsewhere on display, e.g. in the text area beyond
EOB.

IOW, I don't think introducing a new face would help here.  Some
additional mechanism would be necessary.





  reply	other threads:[~2017-05-13 14:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 14:07 bug#26909: 25.1; A face for margins Yuri Khan
2017-05-13 14:27 ` Eli Zaretskii [this message]
2017-05-13 14:59   ` Yuri Khan
2017-05-13 16:40     ` Eli Zaretskii
2017-05-13 17:19       ` Yuri Khan
2017-05-13 17:42         ` Eli Zaretskii
2020-05-11 21:01   ` Clément Pit-Claudel
2020-05-12 16:52     ` Eli Zaretskii
2020-05-12 17:06       ` Clément Pit-Claudel
2020-05-12 17:21         ` Eli Zaretskii
2020-05-12 17:28           ` Clément Pit-Claudel
2020-05-12 17:40             ` Eli Zaretskii
2020-10-01  2:49     ` Lars Ingebrigtsen

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=83lgq096iz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=26909@debbugs.gnu.org \
    --cc=yuri.v.khan@gmail.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.