From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: How to revert the mode line on master, Re: How to revert the mode line on master Date: Thu, 25 Nov 2021 17:53:01 +0000 Message-ID: <612d659daa3e5a04051b@heytings.org> References: <2091430762.473879.1637843344844@mail1.libero.it> <83k0gw5qc6.fsf@gnu.org> <1747745450.91272.1637857903815@mail1.libero.it> <612d659daad6722706a5@heytings.org> <2091430762.473879.1637843344844@mail1.libero.it> <695822429.92331.1637859034034@mail1.libero.it> <877dcw5f4o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , john , Angelo Graziosi , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 18:53:47 2021 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 1mqIwM-00012x-2j for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 18:53:46 +0100 Original-Received: from localhost ([::1]:49704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqIwK-0000pN-Dz for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 12:53:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqIvn-000057-FM for emacs-devel@gnu.org; Thu, 25 Nov 2021 12:53:11 -0500 Original-Received: from heytings.org ([95.142.160.155]:52958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqIvg-0002PJ-DR; Thu, 25 Nov 2021 12:53:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1637862782; bh=W03bJOR9BsXgxsWqE0+nd7Cd9CcrLrCqnlNCuNtVeeE=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=JaABV0kPKZTIBgwFkgxY8TeB+bu2L1Dhs5SXQROMuCx+z69wMg4BcBk+OfpfHf2Qu Z1Vedi/DJBQF/XGnibef5jrFdz5RpDVG+GI/MJALoXT7A6GLDZ4ddqSfMfKGBDWY5p 87Rljr+uksjmvVAnT9rODvxYYBhgARPJ1jx65XBt60SBQCLJb0QinpMPH1nF6QLCMr Kfo0O7qha4cVyv0lw+cqTnsSvdqzwdWi1m++R83v0hh0ROooiE6itIjZiqBopEEmgS LPePu99M/OaXnvQXRz3rCvgUux5EjYYLqQfYmDr2P5/WvZc/6deBhGy2v6Z3gjnZ2a 0veTY7mByZL5g== In-Reply-To: <877dcw5f4o.fsf@gmail.com> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:280161 Archived-At: > > The mode-line face definition was subtly wrong, it should work better > now if you update your git checkouts and rebuild. > Alas, it doesn't. Angelo is right, the recipe doesn't work, neither before nor after your fix. An init file with just (set-face-attribute 'mode-line nil :inherit nil) has no effect on the mode-line of the first frame. (require 'faces) or (with-eval-after-load "faces" ...) do not help. The shortest actually working recipe I found is: (set-face-attribute 'default nil :foreground (face-attribute 'default :foreground)) (set-face-attribute 'mode-line nil :inherit nil)