From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Highlight tabulated and trailing whitespace
Date: Mon, 28 Dec 2020 13:42:44 +0100 [thread overview]
Message-ID: <87sg7qcda3.fsf@telefonica.net> (raw)
In-Reply-To: trinity-22b1a303-61c6-4cca-871e-fad7bf58f515-1609144805161@3c-app-mailcom-bs16
steve-humphreys@gmx.com writes:
> Have tried the following two lines to no effect
>
> (require 'whitespace)
> (whitespace-mode)
In a buffer, just:
M-x whitespace-mode
For enabling it automatically when you open certain type of files, use a
major mode hook. For instance:
(add-hook 'prog-mode-hook #'whitespace-mode)
Will activate whitespace-mode in all programming language modes.
next prev parent reply other threads:[~2020-12-28 12:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-28 4:11 Highlight tabulated and trailing whitespace steve-humphreys
2020-12-28 4:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-28 4:56 ` steve-humphreys
2020-12-28 5:07 ` 2QdxY4RzWzUUiLuE
2020-12-28 5:12 ` steve-humphreys
2020-12-28 6:08 ` steve-humphreys
2020-12-28 7:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-28 8:40 ` steve-humphreys
2020-12-28 10:59 ` Michael Heerdegen
2020-12-28 12:42 ` Óscar Fuentes [this message]
2020-12-28 13:09 ` steve-humphreys
2020-12-28 16:08 ` steve-humphreys
2020-12-28 16:55 ` Drew Adams
2020-12-28 17:06 ` steve-humphreys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sg7qcda3.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).