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 06:12:19 +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="10663"; 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 06:12:46 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 1ktkpq-0002eF-0B for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 06:12:46 +0100 Original-Received: from localhost ([::1]:33938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktkpp-0006Dx-2r for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 00:12:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkpU-0006Do-UJ for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:12:24 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:60795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktkpR-0005B3-Nz for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 00:12:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609132339; bh=Puuy7tjGzsOiByHtuU4SzT2ohjyBM+yFDikacnUz0L4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=lLB9/GdYjsMYx4Z/s+YIsHsFbFQ08bX9VgyhaE2ZKmQbcrGQev+s3AN7fEd1L5Smj TxEauHQYDQaswBHOmhsltlRMVE5JoeqXlDlbP3z57Z17hIWFq5wOVnkiVCPgMFzEdW C9XnY4qIh+IQmZVsAs0b82bCiGpBaMdaS9Fqi67E= 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 06:12:19 +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:sQhZLJemuhL1tc4UpHSMlD4mZNImvPHQRMRba6FV8iHMs0GrMSCvY+g3s0G0dowdpKsnC AmkQhirfJnT5B7q0d2O8TgCd8rhydESmno2YkA63UqPWXqmcwzZp8SXuh0tTbgRU/vSG4j3YYZPi nmLXDg8PDjtGDvEsQ8iIab8bjcJJH0fKT1EJ+W39b9fzWvM9Ghz7PpKGx8LHKJnWaWktj22ZeZ7/ flW8H/NaKw9p7EYIwDZ6m1VpOb5nXJDZFJrT4/pfmfCm7deEXiMrXDe5B9bdEj1L7riR4rqd43Xl nE= X-UI-Out-Filterresults: notjunk:1;V03:K0:xHvS8EAJk9o=:srHenA8oAMmAp/vXz1LcEA WBb/BwEVFwUwgR6WYlmL+2hy2phhDmpvVAiF6dKPQqcyHbaNTxi4cua1kg9QpIJm7SHYj4IPl QrlnsuUqIBXl3JWs+aFGqFS0bKG/ne3LnFclhr4kFbS9Q1yJ9Zs+cG2wqZbSkjX+sWiv8ehbn eMJ7H54C0R7PGIJ4hMOXa5OwjZA6ONPs7A9u+vDf4cPuvo/bLA5ZzxfkCFVSkbcoYf22N16x+ byExfKEtQ+6wL4LeH63jV83s4E9bWkBpueCadd63NAa0+1ANob9QXxdKLniIRIsTaMFhEOusR 8qH2hajKhS8l5aeaAz2fbVkNSvs1X6Ybnpt597it5IRbhV/LAB6jCQ4/67ka5jdPWUgPSNJIp YJFTLMNRIUFsIVx5i63siHCUL8kQUU0t5lR0kgk9dKMtSU2vUkt/FQcPB7KX8Dt7sGkY52vCt IQngGBabOBXp6uGSc+uGmcyQ/nwdl6FrD9Hrjdd4cBPkCLv+QYWv0Q583JrJ7jqbN2TFB8rpO QXsL2PeZ4WMspKGXK6FR1n4910RcTgWEhXzgolgJedtwQnaVbuypz2yvqOLufIq7KfvlLROPd MagtOpNHePNZI= 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:126830 Archived-At: What can I do to show tabs like I am doing with show-trailing-whitespace? > 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) > > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >