unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Daphne Preston-Kendal <dpk@nonceword.org>
Cc: emacs-devel@gnu.org
Subject: Re: Detecting changes between dark and light mode on Mac OS
Date: Sat, 20 Mar 2021 17:52:53 +0000	[thread overview]
Message-ID: <YFY2dZ4HbqXmFoTe@breton.holly.idiocy.org> (raw)
In-Reply-To: <345983B0-C75E-46FF-870C-5FBD3D7381B9@nonceword.org>

On Sat, Mar 20, 2021 at 05:51:26PM +0100, Daphne Preston-Kendal wrote:
> Hello there,
> 
> Not to pester, more to enquire: I submitted this patch nearly two
> weeks ago and still haven’t heard any feedback. I submitted it here
> because the Emacs manual says ‘If your patch is not complete and you
> think it needs more discussion, you might want to send it to
> emacs-devel@gnu.org instead.’
> <https://www.gnu.org/software/emacs/manual/html_node/emacs/Sending-Patches.html>
> 
> I *think* my patch is complete, but out of inexperience I’m
> unsure. (For instance, I know I shouldn’t break support for GNUstep or
> any previous Mac OS version going back to 10.6, but I don’t have any
> way to test that, nor sufficient experience with the relevant
> platforms to know if the changes I made are even likely to cause
> problems in those departments, though I don’t think they would.) Is
> there a better place than this to send it to get the attention of the
> people who work on Cocoa Emacs and can help more directly with this
> question? Should I just send it directly to bug-gnu-emacs@gnu.org?

Sorry, it fell through the cracks.

I'm not sure about this patch purely on the grounds that the scrollbar
colour Just Works with the Emacs theme in the current set up, but when
you explicitly set light or dark it has to explicitly match the theme
or it looks very strange. Even then the background is the wrong colour
in themes that don't use white or black.

Is that down to our choice of light and dark macOS themes? Perhaps
there's a smarter way of setting the theme for various widgets?

Aside from that it looks OK to me. The only major changes I think I'd
require are some #ifs to limit the new code to macOS 10.14+, but
that's not a big problem.
-- 
Alan Third



  reply	other threads:[~2021-03-20 17:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 13:23 Detecting changes between dark and light mode on Mac OS Daphne Preston-Kendal
2021-03-20 16:51 ` Daphne Preston-Kendal
2021-03-20 17:52   ` Alan Third [this message]
2021-03-21 11:01     ` Daphne Preston-Kendal
2021-03-21  7:01   ` Lars Ingebrigtsen
2021-03-21 10:22     ` Daphne Preston-Kendal
2021-03-22 20:07       ` Lars Ingebrigtsen
2021-03-23 18:32         ` chad
2021-03-23 17:49     ` Matt Armstrong
2021-03-24  8:30       ` Lars Ingebrigtsen
2021-03-25 16:33         ` Stefan Monnier
2021-03-28  1:16           ` chad

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YFY2dZ4HbqXmFoTe@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=dpk@nonceword.org \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).