From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: Highlight tabulated and trailing whitespace Date: Mon, 28 Dec 2020 05:56:43 +0100 Message-ID: References: <87ft3qilf6.fsf@zoho.eu> 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="28044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 05:57:08 2020 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 1ktkah-0007Bj-J2 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 05:57:07 +0100 Original-Received: from localhost ([::1]:60424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktkag-000437-LZ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 23:57:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkaN-00042m-JD for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 23:56:47 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:36589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkaL-0006RF-Gr for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 23:56:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609131403; bh=goU9Ebgs82NDq/E/I1w40Ew/j8gBg2K6dYu/f3jS2L0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=b70zYDFPaXsUX2s4y4MlU1wgeLtKXEou/ynlIHASTKzKuJf0NMefJQjVQ3ZpdztQk FAIMQTQ+MZU1ImuxEpKph5YWz9beoGXeBHhyQi2ynNgfjLJBNIz+gLZnUwr5BwWzsg kEoC2gvLBJ3X/YAODJOz4w9AEqJvFQzFT3zabP4I= 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-bs16.server.lan [172.19.170.184]) (via HTTP); Mon, 28 Dec 2020 05:56:43 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87ft3qilf6.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:V/kceMyOge0lbBuCWfK/fUJEMjWgGMTb/uav+8/cjhsksmbO03021Hsg0JWzR93jCsNcp q/UZjIo9w5RSOk/athlIQ6BauM7l+VXPU5+ICZW9Mzpj3g9aBtK319agL85rjPC/vPCS6mpWaSqj mbTaHcdsE0YMCG+h9ANVITW6Xq8OOeiQDuh42NgS4P7aXaVZ40oJ21sNTbjHghSvxfwuu11W+gCb UWQEZQWx4/7IDAEBoBKuk7Jyf183rJ+ZYVd9YZumVuPCltHFw8BMcVcUvxhleJ0jxhHf+xJjapsL dU= X-UI-Out-Filterresults: notjunk:1;V03:K0:eEz4G+2Yc0U=:XAzhZhCeIaKB7f3bcuD+vh X/TR3QJL/pZCH6HNyNC5lcdDrYxhj3uMxv/GdG6ZL+gDXLfRR5lUI8E8YZUJjVUVqA5TvPKS7 u6qzD+0mv0A1rucgCqQAzzb5snq9DjdFx2c2hxInq+hvIaTNRflK/OLfnuzxhTDzC0WPKmMuS rqdlWXtv5hQVQYImpUqG1LL+suLlB17FXgSuxdn8VvsqesujBPUm/kHVYyqTBAz5+XD2L9IQG 6wEymeMmElkgh+4iQhXAkdIdm1nhV6jD/hxe04dLJmDnFXLR8LBPbqV3hWZ54fguVM50JJAOs UdWFF/utOTyWPy/ODimtbyftin+Gcpy/s0TBmoQZhod6aN9gqs0CkUjjjcSIdG03CjOS6a/2x AtKIQ0IYUpdixcNqqsgYpEAr/GejUhL2eY6jcBz6qWz6obDcvho1BDQ98YpnYZOdNbS1KAzTt eSVKF8Utc6rJhXWg8MU1+fwyjPsmzm+rD/fGZ1pqpk01WQWM4fkf26EkhOc23xZ6o4qr1Mo+V Tw8ACpssNTlVueNZ/dOIpb1STCwzXdhtWHtULvSrNgqVFOY1CpdJ4MIluBrJqM2VR7YQGRwwG fu1QV8/LLzTyo= Received-SPF: pass client-ip=212.227.15.15; envelope-from=steve-humphreys@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:126828 Archived-At: > Sent: Monday, December 28, 2020 at 10:20 AM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Highlight tabulated and trailing whitespace > > steve-humphreys wrote: > > > I would like to highlight tabulated and trailing whitespace, using the= following > > code on a dark background. The highlighting is not working. I might = also be > > changing tabs with spaced but do not what command I had used. > > > > (defun whitesp-highlight () > > "Highlights whitespace." > > > > (require 'whitespace) > > (setq-local show-trailing-whitespace t) > > > > (whitespace-mode) > > (setq whitespace-style '(face tabs)) > > (modify-face whitespace-tab nil "#000000") > > > > ;; Highlights tabulator regions > > (setq whitespace-style '(tabs tab-mark)) > > (global-whitespace-mode 1) ) > > (setq show-trailing-whitespace t) > Is "show-trailing-whitespace" buffer local? > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >