1 line
1.1 KiB
Plaintext
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't see the trailing spaces highlighted in this manner.</p> <p>What is going on and how to fix it?</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/ra4l9g/why_isnt_setsdefault_showtrailingwhitespace_t/">[comments]</a></span> |