all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alp Aker <alptekin.aker@gmail.com>
To: Valera Rozuvan <valera.rozuvan@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Disabling show-wspace for a specific mode or buffer
Date: Wed, 27 Jun 2012 16:01:00 -0400	[thread overview]
Message-ID: <CACxch4qU-hSjJXi+VVCzkrY7A0idJ5qFpJE-H_k_vPdSHWJK5Q@mail.gmail.com> (raw)
In-Reply-To: <CAM8kQFxrM3bp1jsyi+73c8F1SYNoLY+0i=u=maUoyCkpga0DAg@mail.gmail.com>

> I am using the package 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.
>
> Can anyone suggest a solution for this problem?

Does this work?  (Untested.)

(add-hook 'w3m-mode-hook 'show-ws-dont-highlight-trailing-whitespace)
(add-hook 'w3m-mode-hook 'show-ws-dont-highlight-tabs)



  reply	other threads:[~2012-06-27 20:01 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 [this message]
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

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=CACxch4qU-hSjJXi+VVCzkrY7A0idJ5qFpJE-H_k_vPdSHWJK5Q@mail.gmail.com \
    --to=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.