From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Valera Rozuvan Newsgroups: gmane.emacs.help Subject: Re: Disabling show-wspace for a specific mode or buffer Date: Wed, 27 Jun 2012 23:10:48 +0300 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340827861 20043 80.91.229.3 (27 Jun 2012 20:11:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 20:11:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alp Aker Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 27 22:11:00 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SjyZo-0005b6-KI for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2012 22:11:00 +0200 Original-Received: from localhost ([::1]:57394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjyZo-0000Hb-EE for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2012 16:11:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjyZi-0000HA-Kd for help-gnu-emacs@gnu.org; Wed, 27 Jun 2012 16:10:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjyZh-0006Bn-1T for help-gnu-emacs@gnu.org; Wed, 27 Jun 2012 16:10:54 -0400 Original-Received: from mail-gh0-f169.google.com ([209.85.160.169]:36200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjyZg-0006BP-Qp for help-gnu-emacs@gnu.org; Wed, 27 Jun 2012 16:10:52 -0400 Original-Received: by ghrr18 with SMTP id r18so1537232ghr.0 for ; Wed, 27 Jun 2012 13:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LQRYC9w7jJl4emiiKMUFcfmF4UwJa9AOPD4fGMWcjyc=; b=QpIbinfx58OrtU/FXALoWi8TpXQSHPhmT9Qbls76xWYARzRi4RGza38PwF5zLpB8hk 9vJLGXLibPt0NX+ZQsmVJFVvbGihsjmtlUjMWpu71izdqedfXsbjjM/o5hlJNbUbiS6b hJEtwXhDZQ2i0UzNuJan6g+Vhh+bWNk345qS91cFhgAzN3KzpQc8X0xGV3ySdRmlhe0y kDmAD4d+p7L2d+4xudUYg1ePPtP1m/pu4N9HIqGLjAplH9DGW9nXDNPjXO9wHEc11kHN cHf/laI9fLu3UcKxvN7N25Ild7SPTQkSUTmG8GoFq340qnlsRBPdovcJcOZ3Dc+oCqEl WoxQ== Original-Received: by 10.50.171.40 with SMTP id ar8mr2660051igc.14.1340827848921; Wed, 27 Jun 2012 13:10:48 -0700 (PDT) Original-Received: by 10.50.23.34 with HTTP; Wed, 27 Jun 2012 13:10:48 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85533 Archived-At: On Wed, Jun 27, 2012 at 11:01 PM, Alp Aker wrote: > Does this work? =A0(Untested.) > > (add-hook 'w3m-mode-hook 'show-ws-dont-highlight-trailing-whitespace) > (add-hook 'w3m-mode-hook 'show-ws-dont-highlight-tabs) Hi Alp, I added your add-hook statements, restarted emacs, but when I open w3m they appear to have no effect. Also when I run the command M-x show-ws-dont-highlight-trailing-whitespace Nothing happens, and "[No match]" is inserted at the end of the mini buffer= . Thanks, Valera Rozuvan