Today, we’re taking a look at Emacs’s whitespace-mode and discussing how we can simplify its configuration to make it more applicable for most use cases.

  • @NanoooK@sh.itjust.worksOP
    link
    fedilink
    English
    39 months ago

    For trailing whitespace, isn’t simply the variable show-trailing-whitespace enough?

    I’m discovering about whitespace-mode and found this article which helped me to understand the package. Do you know if it allows to display TAB with a specific background colour?

    • @cons
      link
      English
      59 months ago

      Emfy setup recommends three settings for trailing whitespace:

      (setq-default show-trailing-whitespace t)
      (setq-default indicate-empty-lines t)
      (setq-default indicate-buffer-boundaries 'left)
      

      Screenshots showing the results: https://github.com/susam/emfy#show-stray-whitespace