all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mitchel Humpherys <mitch.special@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Kristoffer Gronlund <krig@koru.se>, emacs-devel@gnu.org
Subject: Re: [PATCH] * etc/themes/wombat-theme.el: Don't set foreground on region
Date: Mon, 14 Mar 2016 10:22:29 -0700	[thread overview]
Message-ID: <87poux9dpm.fsf@gmail.com> (raw)
In-Reply-To: <c37db131-57cf-4c32-885f-975e0b21a2be@default> (Drew Adams's message of "Sun, 28 Feb 2016 07:53:45 -0800 (PST)")

On Sun, Feb 28 2016 at 06:53:45 AM, Drew Adams <drew.adams@oracle.com> wrote:
>> > Setting a foreground color on the `region' face is slightly
>> > annoying.
>> > This is subjective, of course, but the consensus among other
>> > themes and around the web is to *not* set a foreground color
>> > on the region face.
>>
>> Any objections to this?  I should have mentioned that the reason
>> it's slightly annoying is because setting a foreground color hides
>> existing syntax highlighting within the region text.
>
> A particular theme can do anything its authors and users want,
> of course.  But wrt the general question of whether region (aka
> selection) highlighting should override other highlighting, see
> Emacs bug #15899.
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15899
>
> IMO, selection highlighting should, at least by default, visibly
> cover the entire selection.  Otherwise, it is not always clear
> what the region limits are.

Just to be clear, when I said "syntax highlighting" I meant it in the
general sense of colors applied to the *foreground* of code in order to
highlight the syntax of the language.  I believe you're referring to
background highlighting, which shouldn't be affected by this patch.

-- 
Mitch



  reply	other threads:[~2016-03-14 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  1:04 [PATCH] * etc/themes/wombat-theme.el: Don't set foreground on region Mitchel Humpherys
2016-02-28  6:05 ` Mitchel Humpherys
2016-02-28  6:21   ` Lars Ingebrigtsen
2016-02-28  8:13     ` Kristoffer Grönlund
2016-02-28 15:53   ` Drew Adams
2016-03-14 17:22     ` Mitchel Humpherys [this message]
2016-03-14 17:31       ` Drew Adams

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=87poux9dpm.fsf@gmail.com \
    --to=mitch.special@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=krig@koru.se \
    /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.