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 09:40:05 +0100 Message-ID: References: <87ft3qilf6.fsf@zoho.eu> <87tus6gywp.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="19040"; 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 09:40:36 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 1kto4x-0004q5-HE for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 09:40:35 +0100 Original-Received: from localhost ([::1]:54208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kto4w-0008OM-Fj for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 03:40:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kto4Y-0008Nw-Rj for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 03:40:11 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:51651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kto4V-0007XX-Sv for help-gnu-emacs@gnu.org; Mon, 28 Dec 2020 03:40:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609144805; bh=LgLGWnpPHg86ycwSjMWxOonJqaPViZRU+Qm5BQG+eJg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YHZfJg8bRX2LztJAHuiMSdIWM20tQQQ04x/gkf1xuOXrCnDiinud0kHdqgFLrVxCt FSWmK9hte1d6shqq6l/dlIgtpKPUkvI4LHfeyCTAfnIz4raB+1ccZYJFUF5qYjCHxK alLgxjnhnmuNPBE5retAtwGityo5MH4XUMRSJrSQ= 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 09:40:05 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87tus6gywp.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:zZLOOYPCVOdCqJHKMgnW7Nj/tc24xn5oSNlXVyd1xUpwW72NtJ/6mmt35CmCKwRTiI0Wo D/CXQ5aGVuJ9/dyYXaeEgV+gfKCy0QAbC9BSB7ty2B0W3L9s6XAuP4giwzPbeLmiXgKRSS4N1FpJ Qy+lhSXCSEc7wyuI4qup5IToXGTkL+wV8SIc+72pv0ckChly+RLeuYJ0bKylL2kA2y9JCTdqdeCE EIjwbioDztao0ZzgeVMZ2SLznysVXldYiFv2s6DpR7YpLbBjk1UnSYEf4EEiwAI3tlFcIcgbT+E/ 8I= X-UI-Out-Filterresults: notjunk:1;V03:K0:xj+JuR0Wat0=:MDt3MWbv0nO9ZjBBZLuZ8F XX16bATn19hZmNmq/Cjw7+oVZNXBEkfspD1IKinyRXKEk2bXAhmVwaM55QpSEOHfojnKJPf2A 3kW46TmKJqRXFTUopqTkOq+vE8dROq9faYSiuOra+LYS3aEafE+S70Uols/HaMjubFDVLZALw CLuiKP/9Tho5PgHA2Mf8NtY3GK38XnYumlrsytcoPbX9YjYt0iLfszkSCKERzDtvH+Lb0tgcS j/tFK/hbcBrj95V6whgbC4FG8DemI6dr8pJ2y4YHl6CSE/mRz84fVRyFCKdkSPzKwUiaHJUtu Qxc157q1rDWiwhsMC8ZLtU9QS0VPWwTr35B80ossF69OEV8axMGUzlwEveI+gXzGhUDBqjFaY ltnU5BZlGQlfHeHFSeFjfuiR90k7Q7SGb1nVxCL31br/PJug4G4SUf69iw5wjDviaYSQumlCX N8tDF43FiOjCxXy4Mt6G2nRRxNjj+2u6rdwjP0tHXK7mWbZnCAwLTmU/yaOy3fVgKryYFQG39 OMHtnDuyzX7j1Wyr/ABA99W7YklKqmnXf+ywpyWhSYPIpsVSMEOVoKHx8xZL0dI3UxT4mjj7g 41DJ8gdwbAjjU= Received-SPF: pass client-ip=212.227.17.22; 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:126843 Archived-At: Have tried the following two lines to no effect (require 'whitespace) (whitespace-mode) But then if I use "H-k" to toggle, the command works. What is happening??= ? (global-set-key (kbd "H-k") 'whitespace-mode) > Sent: Monday, December 28, 2020 at 1:11 PM > 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 have tried to show tab marks, but the following commands > > are confusing me. One can use a backgrouund colour and > > introduce a tab mark. But I have no idea how to > > achieve them. > > > > (setq whitespace-style '(face tabs)) > > Then just set the `whitespace-tab' face, to some face other > than what the default face has, > > (insert "\t <-- this is a tab") > > and enable the mode. > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >