[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Disabling show-wspace for a specific mode or buffer
From: |
Drew Adams |
Subject: |
RE: Disabling show-wspace for a specific mode or buffer |
Date: |
Wed, 27 Jun 2012 15:12:49 -0700 |
> Thanks for the suggestion. But the command
> show-ws-toggle-show-trailing-whitespace initially assumes that the
> highlighting is OFF.
No, it doesn't assume on or off. It just toggles whatever the state is.
> I, on the other hand, from the start turn ON the
> highlighting everywhere with the command:
> (add-hook 'font-lock-mode-hook 'show-ws-highlight-trailing-whitespace)
> So, with your suggestion, I have to press F11 twice to actually tun
> OFF highlighting.
So add this: (setq show-ws-highlight-trailing-whitespace-p t)
> And also I am not sure if
> show-ws-toggle-show-trailing-whitespace works just with the buffer, or
> if it is a global toggle.
It is global. For that your commands are better for what you want.
- Disabling show-wspace for a specific mode or buffer, Valera Rozuvan, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Alp Aker, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Valera Rozuvan, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Alp Aker, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Alp Aker, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Valera Rozuvan, 2012/06/27
- RE: Disabling show-wspace for a specific mode or buffer, Drew Adams, 2012/06/27
- Re: Disabling show-wspace for a specific mode or buffer, Valera Rozuvan, 2012/06/27
- RE: Disabling show-wspace for a specific mode or buffer,
Drew Adams <=
RE: Disabling show-wspace for a specific mode or buffer, Drew Adams, 2012/06/27
Message not available
Re: Disabling show-wspace for a specific mode or buffer, John Wiegley, 2012/06/27