From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden Newsgroups: gmane.emacs.help Subject: Re: whitespace-mode deactivated at end of line Date: Sat, 11 Jun 2022 03:03:20 +0000 Message-ID: References: <2PI5UnjKu3Vi8Opqcglew9V3u1aV1d3boNyjJNYGDQZsDl6My_5-Sk9_0tbqEHkEHqipuVvpUSVmV3fxW0lKYJkVHGGvUc1Ll1tMoEhk0Es=@protonmail.com> <83ilp91vn8.fsf@gnu.org> Reply-To: goncholden 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="1962"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 05:04:13 2022 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 1nzrQ4-0000Eb-Tz for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 05:04:12 +0200 Original-Received: from localhost ([::1]:33672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzrQ3-00005H-Pl for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 23:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzrPN-000059-24 for help-gnu-emacs@gnu.org; Fri, 10 Jun 2022 23:03:29 -0400 Original-Received: from mail-4318.protonmail.ch ([185.70.43.18]:41069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzrPK-0003dF-Ri for help-gnu-emacs@gnu.org; Fri, 10 Jun 2022 23:03:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654916604; x=1655175804; bh=FBkLTyNk7P1BJAaPYpw0LIWy8lxbxclJQNQmS5dtKQM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=BO3WXi5nXrjX898yDwKZegonk81GhZ1FjmkDNJl8VW5hRZaUMfwdwQ/Odq2VAw+xY MPV1lL758VEWHz+b/IN4YUVsXKGiZ432j+EZMJ95ujBURjD5l/DpS3cKPVo28pAudR QyatzmGNuxRwy3RM1dmjgbVITTgyEOwYpuUjpaGHHiM8UtjpKaunCrDH3df9PWqqMc syevRZufwyv8IaLuQ0Emp/Baw/zPBvEsISEtNnAsvje8PnXe8YJdKIF8R0Xo8T2sa5 evW0yjNSR8PObmT5EkV4JouMr7ow3X0748p5WuoOv14B5a7WJTuhkIoEb5F+nHpT6/ fRSBhIP/nuWLg== In-Reply-To: <83ilp91vn8.fsf@gnu.org> Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.43.18; envelope-from=goncholden@protonmail.com; helo=mail-4318.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:137655 Archived-At: ------- Original Message ------- On Friday, June 10th, 2022 at 7:31 AM, Eli Zaretskii wrote: > > Date: Thu, 09 Jun 2022 18:22:36 +0000 > > From: goncholden via Users list for the GNU Emacs text editor help-gnu-= emacs@gnu.org > > > > I am visualising withspace with (global-whitespace-mode) > > > > Trailing spaces are coloured in red, but when I put the cursor at the e= nd of the line, the red whitespace > > background is being modified to black for a black theme. > > > The red background that highlights trailing whitespace disappears when > the cursor is at the end of such a line, and that's feature: if Emacs > didn't behave like that, each time you type a space at the end of a > line you'd get it highlighted in red, which is an annoyance when you > type. I grasp that now. Not really a problem. Would like to ask for a function = of two that can set the background colour used for the whitespace styles de= fined by the mode. Additionally, how about improving the default backgroun= d colour contrast with the background colour of the theme (whether light on= dark). For tabs, the contrast is quite low. Can only see the tab-mark ac= tually!