From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: RE: [External] : Cannot see what is written on modeline Date: Tue, 18 May 2021 17:24:39 +0200 Message-ID: References: <87h7j1ylr4.fsf@telefonica.net> <87cztpylgi.fsf@telefonica.net> <878s4czyr2.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: monnier@iro.umontreal.ca Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 17:52:41 2021 Return-path: Envelope-to: geh-help-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 1lj21R-0005YX-AQ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 17:52:41 +0200 Original-Received: from localhost ([::1]:37442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj21Q-0007g7-BO for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 11:52:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj1aR-0002mi-1c for help-gnu-emacs@gnu.org; Tue, 18 May 2021 11:24:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:49235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj1aO-000844-9v for help-gnu-emacs@gnu.org; Tue, 18 May 2021 11:24:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621351479; bh=n18sWqq1MrTSFQFNh4+2IfszU3QedSE0hxPwJ4rDmZw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hY/TuKIKkCb/QVfyeGJREZW8Sw+DqAs7YEjrAmD0gtCoWxc88qtq7S3DBJQ8ykPXc 3tU0FtxxjQXxBA9YpCUmFb8eTa1BEkBCBlOBv3lPzIV6SDeIbAP4+8mG2VWsY3fP+9 OiyG+u/f+xa53R6cQywTvDBKvC1mP7SSaoZDPzI4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Tue, 18 May 2021 17:24:39 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:9sf2HikyPaB0NaGrAWmFMakeVVXMLLBAuIoRJY7aP+W1tQ4L6Vvvp6o1FTRQ5BKsXzciR cXt6uApjVneI8K9ZIwjUZ+1xuyubcBAmW2lnCaLOaZJ6p4pdznAn0t0PYsGrkv56jzjqW+qHj2Es l2F3yQ6QjI8q9aG+YS1QpvaNptl+IXKIegtuxOOurl9yrz3rpMpP5B7ekO40zSWARsqmFvsH228p qAdVauLTRzcVcYiMk5H9w+UMxiY7aSEPY9LKpWQOAWMWSQuqBZ3CcoZ8tRUwwA5aIol0pOcjhfOi 94= X-UI-Out-Filterresults: notjunk:1;V03:K0:msb8UvShKwk=:5gWrWcjOb1DBxepJFlHLGM lDL+CTSiATSanm6s4c3xSIGa7EpjFpN3hiPAIGIVC7vzD1JE5d0JXBnmxvd0sHLVHD1fsocRN WfIEPMAeDQ4+B31fU+xRP7GvQpOFy/E6Nl62RAWWiLPlfC+jwcvoKvbjTOGxkxqbLfXlvTM2Z r2TUNvamWnIwat/Z3Zwe4jwh2kmcTorT1Jvpc8R1Sf3NKZGZ9K+mzthdYvW9NT1Mfn3dbzIdD WUrSWBlmnK0kSQuHmRqhP07++ZGWdnVtCX8P4bUIhK5stHizpBOVwY5pBbdoLaYBFqLmiUoMM gOK7aNywkiuQ7+ONfGJWC/543OCWjBfcU6OJ8rogwAcACtagrzDpdeUclJrxMTXy7OWYXhja2 D5hV6Exa1puHTBNvmbBiIl0RjcPXniv3avr/0x/7w25j2T9JbjERW/7RhdSFMfJ8Ps0sK+y3w BX9doZjoOnIUR1ThnEq/hbJkBHqi+Lktm12V8s77syQqNRAXngVoKlHn6ejWXFr9jAoR3ifIz XGUogGwEJfiYsSCVMc2iWIMXVeArgIG+CgFdEdXrPuWUYcP6Q2LSijbwzqH5zoALc4KNMwaVq Kp/XrrM5QYBZoDlJHNr+twJq/h//3ryf1ddZx4J3fDs2Fq/gNEaxjPW5mpI8wNOozjyzes9Jm V8peqQtig8v3CqP8JYbaS5xf87U6vZ+HPFwvWTAoNfOimnMtN1ZlZbrCFhzLQQHBYZJoS05vv WaHl8uZb8jaiqw9qIgahQ9wnPhrXtKQJjqwhm0U8hpwr5JX7Y1VJrV0/cGte49kI3w0xQ3Yx Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129894 Archived-At: > Sent: Wednesday, May 19, 2021 at 1:09 AM > From: "Stefan Monnier via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: [External] : Cannot see what is written on modeline > > > Could emacs internally figure out the colour settings and determine if > > the contrast between the foreground and background is high enough. > > And if not high enough to change the foreground and background colour. > > It could but that would prevent such settings being made on purpose. > AFAICT your current problems are due to Xresource settings, which are > usually things the user sets explicitly, so it would be odd for Emacs to > ignore/override explicit user settings. If they want them on purpose, could they not do them within their init fil= e, and let emacs use accessibility criteria when not set explicitly in the em= acs init file. > > Particularly when user supplies the -q option whilst debugging. > > `-q` is not for debugging: `-Q` is. Because only -Q avoids processing X resources. Usually used -q to see what happens when no init file is loaded. Was not aware that emacs relies on X Resources, but that emacs handles customisations internally, not picking things for mode line from X Resources. I am of the point of view that emacs should take care of mode-line, because the emacs mode line should not form part of the window environment. The mode-line is there to assist the user with important buffer specific details related to emacs. In that regard, accessibility considerations should trample other things, unless reset from emacs customisation or by modifications to emacs init file. Many people do not fully understand the ramifications emanating from the setting of the X Environment Resources that applies to all window environm= ents. Most likely he installed Emacs later on, without bothering with the X Reso= urce Settings during OS installation. > Stefan > > >