From: Heime <heimeborgia@protonmail.com>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Region selection that keeps syntax highlighting colour
Date: Wed, 26 Oct 2022 16:17:35 +0000 [thread overview]
Message-ID: <uSqINOLkuQ2DEji2N_HC-ivJIUvzR30Geb_CADwRG8hazVPRH4a_QuX4vtCIk8eTe0GhE_wHuajbSysajW085O1dF1QdDbhdNLfic1DKxZQ=@protonmail.com> (raw)
In-Reply-To: <87lep3ngok.fsf@dataswamp.org>
------- Original Message -------
On Wednesday, October 26th, 2022 at 8:16 AM, Emanuel Berg <incal@dataswamp.org> wrote:
> Daniel Martín wrote:
>
> > > When I select a region, the colour of the text terns white.
> > > Can one keep the original syntax highlighting colour of
> > > code intact, whilst changing the background colour only?
> >
> > M-x customize-face region RET
> >
> > Make sure that the "region" face doesn't have
> > a foreground color.
>
>
> The OP isn't suspectible to custom, here
>
> (set-face-attribute face nil :foreground fg
> :background bg
> :weight bold) )
I have this
(set-face-attribute 'region nil :background "#2E2EFF")
prev parent reply other threads:[~2022-10-26 16:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 23:53 Region selection that keeps syntax highlighting colour Heime
2022-10-26 1:23 ` Emanuel Berg
2022-10-26 8:00 ` Daniel Martín
2022-10-26 8:16 ` Emanuel Berg
2022-10-26 16:17 ` Heime [this message]
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='uSqINOLkuQ2DEji2N_HC-ivJIUvzR30Geb_CADwRG8hazVPRH4a_QuX4vtCIk8eTe0GhE_wHuajbSysajW085O1dF1QdDbhdNLfic1DKxZQ=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=incal@dataswamp.org \
/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.