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: Highlight tabulated and trailing whitespace Date: Mon, 28 Dec 2020 05:11:06 +0100 Message-ID: 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="1323"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 05:11:41 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 1ktjsi-0000Gu-HM for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 05:11:40 +0100 Original-Received: from localhost ([::1]:53604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktjsh-0006Uq-IH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 23:11:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktjsF-0006Ug-Ha for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 23:11:11 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:47891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktjsD-00024o-Fh for help-gnu-emacs@gnu.org; Sun, 27 Dec 2020 23:11:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609128666; bh=LvYTQgADRg8926pSV7d9EcAbmX9DJhQl6C5mmChdpNM=; h=X-UI-Sender-Class:From:To:Subject:Date; b=D/W2V0No6AbcnUMxh9a/S46IuOSmfPHASGSO/JA+0Z6M2GjSVkHI2STOZ6N7MuIdf WpGy/q5hV9JqTu1GEpbLFTZQkk1N2LPt2ioiniC2zQECOe6AbBoQuDpfEHYz6j4EtQ SEc5dp+0hBqVAOoFBgGMSE8s33w3f94HgMjVylNA= 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:11:06 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:K2K9XiM3xW9BuPrg1bIYChTgYvg+24y0ZqvNlVIpbksJ41NIKuMARbEoyaxrmC5AkKenU l4aO58Fr++d7fPGetMEvZbOuZjbnJ26l30oiPz6ru5o/PkjNmqNOAmVLhvI2a9cP7Jz7V26aoFkF 5NErY+/4t8/8cX1hqZdapS0dD3ANVf3lcnOOERTh4uTxOMshHS97iec0UiNK/2OEMMpQrggLDrcV EyHTt78gskxnrtLHcp4EbdFAOGNHjRI/+I5d9HUwLSesX6sn29efGwoSv/LAN2yrc5TbGfOM/RTC aI= X-UI-Out-Filterresults: notjunk:1;V03:K0:vPKidobBlnw=:yZXQpWsYhDbRAgyEVmQiwG u1+vX/MHMKI9fLzC2oMa6YWB6Q7UaSkpFxmUqrF5UP+OfLpI95lY8i9cohb2PFEPSZidnlLFT PsY/h3OzmwqYW9CWg8L2l1Jz/auCI1NHyFjjp7WHN9AL9M97h9Ig5ezPfSYA+ghzCEEulA9R3 s3+eX1vTe6RntIv0ukw6n0ULUIAplFRDsDJNkqnIvB5LiVymFCTpZIdvoiSSduJYT+SpqhlxS rJwq4S9aGpt6QJ/aoaIJn05kbsML9Kwyl4cbtdaXnKp6hTPls0EChFCOMC1/eClovlEedBu3k hb3+Qys5NoaNSAcvaaGekRh0io9+2/dttm9seA6mK6xWY+CzvI03/EambhI+xO957a6u1CVpB bFUc2agiFDdU0+FIJ8Qicim36kN/Goi1GKyjenhBp9eMwRL0a3lLCQsgCp6p0K8apERM4vhli vUziFm6DsJSyT3DiVni/c8L8++jeAGH3/bMWqKB+GaS2O0HRALJ1GQwLRUS2OB0DBNwmj0TEF eEqqTz4lc6CHTj7vyBloDwz2ugSCbNgY4MqNrdCCE0HH/Z7/eFnfcrs8km91aaw7AW3eBPzK+ kWiWpTh6X9hlA= Received-SPF: pass client-ip=212.227.15.19; 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:126825 Archived-At: I would like to highlight tabulated and trailing whitespace, using the fol= lowing 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) )