all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disabling show-wspace for a specific mode or buffer
@ 2012-06-27 18:27 Valera Rozuvan
  2012-06-27 20:01 ` Alp Aker
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Valera Rozuvan @ 2012-06-27 18:27 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

I am using the package show-wspace (
http://www.emacswiki.org/emacs/show-wspace.el ) to visually show
trailing whitespace and tab characters in all my files. I achieve this
by adding the following line to the ~/.emacs file:

(add-to-list 'load-path "~/.emacs.d/") ;; show-wspace.el can be found here
(require 'show-wspace)

(add-hook 'font-lock-mode-hook 'show-ws-highlight-tabs)
(add-hook 'font-lock-mode-hook 'show-ws-highlight-trailing-whitespace)

My problem is that in 99% of buffers I want this behavior, but
sometimes I don't. For example, when I run the command M-x w3m to
browse the web, I don't want to see trailing whitespace highlighted.
Can anyone suggest a solution for this problem?

Regards,
Valera Rozuvan



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-06-28  2:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.