From: "Drew Adams" <drew.adams@oracle.com>
To: "'Valera Rozuvan'" <valera.rozuvan@gmail.com>
Cc: 'Alp Aker' <alptekin.aker@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: Disabling show-wspace for a specific mode or buffer
Date: Wed, 27 Jun 2012 15:12:49 -0700 [thread overview]
Message-ID: <9C2D812624834943A328AEF1C5B7BA7A@us.oracle.com> (raw)
In-Reply-To: <CAM8kQFy5DzDqCv0gc30gDBOG9iS2V9nUrSFvJm-Yc6bKPd+K1w@mail.gmail.com>
> 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.
next prev parent reply other threads:[~2012-06-27 22:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 18:27 Disabling show-wspace for a specific mode or buffer Valera Rozuvan
2012-06-27 20:01 ` Alp Aker
2012-06-27 20:10 ` Valera Rozuvan
2012-06-27 20:31 ` Alp Aker
2012-06-27 20:41 ` Alp Aker
2012-06-27 20:56 ` Valera Rozuvan
2012-06-27 21:16 ` Drew Adams
2012-06-27 21:45 ` Valera Rozuvan
2012-06-27 22:12 ` Drew Adams [this message]
2012-06-27 20:27 ` Drew Adams
[not found] ` <mailman.3588.1340828845.855.help-gnu-emacs@gnu.org>
2012-06-27 22:23 ` Michael Heerdegen
2012-06-28 2:11 ` John Wiegley
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9C2D812624834943A328AEF1C5B7BA7A@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=alptekin.aker@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=valera.rozuvan@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.