From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Philip K." Newsgroups: gmane.emacs.devel Subject: Re: Changes for emacs 28 Date: Fri, 11 Sep 2020 17:44:45 +0200 Message-ID: <87h7s4b9n6.fsf@posteo.net> References: <20200906133719.cu6yaldvenxubcqq.ref@Ergus> <20200906133719.cu6yaldvenxubcqq@Ergus> <87363olpjy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17343"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 12 11:53:03 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kH2DO-0004O4-QL for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 11:53:02 +0200 Original-Received: from localhost ([::1]:59404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH2DN-0001hZ-Mb for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 05:53:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH2Cg-00017V-CE for emacs-devel@gnu.org; Sat, 12 Sep 2020 05:52:18 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:42284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH2Cd-0002wI-VY for emacs-devel@gnu.org; Sat, 12 Sep 2020 05:52:18 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 73D3616005C for ; Sat, 12 Sep 2020 11:52:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599904332; bh=pqY/0CFBkiY2xIepM5+NJsmB8ciX5Dk1unfWnmeD0V8=; h=From:To:Cc:Subject:Date:From; b=f6b6JOz5ZIv5P5GWFsPZV7EbZnOlcZNiVJHbA7bpjy0/UA/eeGLxMsvtHfMOobwOi 6HpUgAlynOinwpRj6g1fp5ynXfaaRD+THXvmZ2FsWd1W3WiDuAM3JKEkyxwGrSCf0P RkHRJaNmnL+WFdicMNgTaomDOK5twjtFHKd9j+a67kI++jL4MuV7+jKBMU7R9wC62X SS7wgS3L8UJ/fQYuy78VHoeJyBVs0G3LWAmSr7WGlyETpVrollTnxRpLdVgiOcwGXE DdV3ntSdTM/RmhkrUrC1RZF8ZBnm7HzgNz7+SMJnRb6XUdeYlgR8r6SSsODP4uKIsJ OumnWPbPRXVMQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BpSb005P3z6tmy for ; Sat, 12 Sep 2020 11:52:11 +0200 (CEST) Resent-From: philipk@posteo.net Resent-Date: 12 Sep 2020 11:52:10 +0200 Resent-To: emacs-devel@gnu.org X-Draft-From: ("nntp+news.gmane.io:gmane.emacs.devel" 255109) Gcc: nnfolder+archive:sent.2020-09 In-Reply-To: <87363olpjy.fsf@gnu.org> (Tassilo Horn's message of "Fri, 11 Sep 2020 09:50:57 +0200") X-RMAIL-ATTRIBUTES: --E----- Resent-Message-Id: <4BpSb01bXSz6tn0@submission01.posteo.de> Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/12 05:52:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255285 Archived-At: Tassilo Horn writes: > Ergus writes: > >> 1) Improve the default theme: Maybe set a default dark theme to make >> emacs feel more modern. > > If you just set your background to some dark color, the stock Emacs > default faces are actually very nice, see: > > https://functional.cafe/web/statuses/104411970368324669 > > So just a default face light/dark toggle which doesn't use a theme but > the standard faces seems like a good idea. > > Bye, > Tassilo That actually looks fairly similar to my own "dark mode": (defun reverse-face (face &optional frame) "Set FACE (in FRAME) to RGB inverse." (interactive (list (read-face-name "Reverse face" (face-at-point t)))) (require 'color) (ignore-errors (let ((fg (face-attribute face :foreground frame)) (bg (face-attribute face :background frame))) (set-face-attribute face frame :foreground (color-complement-hex fg) :background (color-complement-hex bg))))) (defun toggle-dark-mode () "Toggle dark mode." (interactive) (dolist (face '(mode-line default)) (reverse-face face))) -- Philip K.