emacs/var/elfeed/db/data/d2/d2edea409a66af5c155c9e62c18a1a38f5cb5802
2022-01-03 12:49:32 -06:00

1 line
1.1 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I am unable to get <code>show-trailing-whitespace</code> to work. Here is a test I did,</p> <pre><code>emacs -q foo.txt </code></pre> <p>In Emacs I typed these commands,</p> <pre><code>M-: (setq show-trailing-whitespace t) RET M-: (setq-default show-trailing-whitespace t) RET </code></pre> <p>Then typed 3 lines in the .txt buffer where every line contains a trailing whitespace. The trailing whitespaces do not get highlighted.</p> <p>I also checked <code>C-h o trailing-whitespace RET</code> and it shows that this face is set to black foreground on red background. Still I don&#39;t see the trailing spaces highlighted in this manner.</p> <p>What is going on and how to fix it?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/wfsch"> /u/wfsch </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/ra4l9g/why_isnt_setsdefault_showtrailingwhitespace_t/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/ra4l9g/why_isnt_setsdefault_showtrailingwhitespace_t/">[comments]</a></span>