From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: bug-gnu-emacs_at_gnu.org@tangential.info Newsgroups: gmane.emacs.bugs Subject: bug#46396: 27.1.90; Ediff's non-focused diff section, background too light in --reverse Date: Tue, 09 Feb 2021 01:19:43 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-93-gef6c4048e6-fm-20210128.002-gef6c4048 To: 46396@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 10:26:54 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l9PIK-0003mb-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 10:26:53 +0100 Original-Received: from localhost ([::1]:54138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9PIJ-00069Z-Tg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 04:26:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9PCg-0000g9-JN for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 04:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9PCg-0008DS-8s for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 04:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9PCg-0002kC-2U for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 04:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: bug-gnu-emacs_at_gnu.org@tangential.info Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46396 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161286244210511 (code B ref -1); Tue, 09 Feb 2021 09:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 09:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:52645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9PCL-0002jT-T3 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 04:20:42 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9PCI-0002jK-7i for submit@debbugs.gnu.org; Tue, 09 Feb 2021 04:20:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9PCH-0000LC-Eg for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 04:20:38 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9PC6-00080B-8I for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 04:20:37 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B97215C0212 for ; Tue, 9 Feb 2021 04:20:23 -0500 (EST) Original-Received: from imap21 ([10.202.2.71]) by compute3.internal (MEProxy); Tue, 09 Feb 2021 04:20:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tangential.info; h=mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=nH2Wn9fIMVQ2i+YFxD+cZkFGnrDEQAD9BwWmZn15kBQ=; b=5y4E7Tg/ u2a8AWbNmDQ3sAQM398roR5Bb81uBxXuOvqGsByeilBkugIrWSBGtSlwRlAUkQEn tvalFtIdM4qGDC7cN3s6e1Pm1k+qXN6IWbNzohJhbNcTsqbp+m3CrJ4MuXM9fULL Ef0hLP7W+zzD4mcBGhoMXxxv2hC2yU8Wzj4P4nS1DS9PhMjJmJSAvnPbrcKj5ksT citX0YGV59Yr6PNYlLOlhntgfhIOOnLifs7Mr/zAEzFU2nqJXWsKT1kdqRdwI6y1 vVIkdlu16a2oqbCMEJhF0b977Nrw8pNNR5YgH8L8wEH6Hi5U+Hb8DxsSbSsggtvF oYDGEGcVtOSuMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=nH2Wn9fIMVQ2i+YFxD+cZkFGnrDEQ AD9BwWmZn15kBQ=; b=AO004rYKeZwlJtIG6d+IIeREiPrCDSptTFMYcYYUO99/h +t1m9m3S0G591k8EP1BwVTUhvC/J4Ms/LFnzAXH/+vue048hz4QqTI9tdpK/zLfP AVi5IS8foA3uErt86kv/ZqwPq2cskD468UnhTd2k3X3vzaVbtZzdV85L60pElANB EpoPHH7/E+Ii87tXNrKOouxhCLGVf/hDIJ3gWy34hvz6KYa3qiYxO9S3cYPsXIkN T1N9OveHaJofwRgRCXyFqH7yG9rQcITVRQKFbqYThP6RNvglHh9qbY5G9JZ2izsE +HzPLLmJLgysl2mSSImNj1shTF4xpU5UfMvolFNQA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheehgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre erjeenucfhrhhomhepsghughdqghhnuhdqvghmrggtshgprghtpghgnhhurdhorhhgseht rghnghgvnhhtihgrlhdrihhnfhhonecuggftrfgrthhtvghrnhepffekvdevleeuteehfe eiteefgedvgeegfeekhfdvhfelffdtleehfeelueehjefhnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghughdqghhnuhdqvghmrggtshgprg htpghgnhhurdhorhhgsehtrghnghgvnhhtihgrlhdrihhnfhho X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 719D251C005D; Tue, 9 Feb 2021 04:20:23 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=66.111.4.25; envelope-from=bug-gnu-emacs_at_gnu.org@tangential.info; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199672 Archived-At: I created a file a.txt with foo\n\nbar\n\nbaz\n and a file b.txt with foo0\n\nbar\n\nbaz1\n. I open these files with "emacs -Q --reverse a.txt b.txt", and run M-x ediff-buffers RET for the two corresponding buffers. If I press n or p to traverse the diff sections, the diff section in focus is readable, but the unfocused sections have a white background, in other words, the contrast seems too low. The unfocused sections are fine without the --reverse option. Aside: Similar to --reverse, I have been using (invert-face 'default) for a simple dark theme in emacs. I can get a similar result in terminal emacs with "(setq frame-background-mode 'dark) (mapc 'frame-set-background-mode (frame-list))". These approaches to a simple dark theme came up in discussions on #emacs. I encountered the issue above, as I was using magit, with (invert-face 'default), and pressed `e` on a commit, wanting to view the diff in the side-by-side view. Thank you, -Brady Data from M-x report-emacs-bug RET below: In GNU Emacs 27.1.90 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H2)) of 2021-01-15 built on clay.local Repository revision: 488204cdc64b6a130042ecc64d59c4538287b81d Repository branch: emacs-27 Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Recent messages: Computing differences between a.txt and b.txt ... Buffer A: Processing difference region 0 of 2 Buffer B: Processing difference region 0 of 2 Processing difference regions ... done Refining difference region 1 ... Refining difference region 2 ... Quit this Ediff session? (y or n) y Making completion list... [5 times] completing-read-default: Command attempted to use minibuffer while in minibuffer Making completion list... Configured using: 'configure --with-rsvg' Configured features: RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init cl-loaddefs cl-lib ediff-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 51551 8621) (symbols 48 6696 1) (strings 32 17852 1647) (string-bytes 1 613638) (vectors 16 10753) (vector-slots 8 134394 11440) (floats 8 34 173) (intervals 56 229 0) (buffers 1000 17))