From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.help Subject: whitespace-mode: Have to disable/re-enable to display trailing whitespace in sql-mode? Date: Mon, 13 Jul 2015 11:33:21 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1436805223 2562 80.91.229.3 (13 Jul 2015 16:33:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 16:33:43 +0000 (UTC) To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 18:33:42 2015 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 1ZEgfm-0007iw-BX for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 18:33:42 +0200 Original-Received: from localhost ([::1]:55788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEgfl-0000da-Bv for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 12:33:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEgfT-0000Z4-0O for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 12:33:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEgfR-0006Ce-UJ for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 12:33:22 -0400 Original-Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:35530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEgfR-0006CM-MF for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 12:33:21 -0400 Original-Received: by obbop1 with SMTP id op1so232615367obb.2 for ; Mon, 13 Jul 2015 09:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QEmULTAjkgjlqsv+xKDMeEL8ZIQze6r6jo64q+mp2Ko=; b=r5CizI+bnU3cSxbHpNkLE8n1Mun4DGzOsNZaPuiovO/RYqEeLAdwXZvLUf9NmEXwwJ PgJ/DqM3ymBDUdcMh9wIpPOnGAkVSRfdQJV5T7HyrNe35yOxvk6kK1fwdHjAoQKXzfH0 OyVY6ytSu6BwNI/yCTgDNDVrWaipCn+yFWG/WCW4zYOn6+fnWq/WlKv6/GGUpa0IUSMr +E9WSG3d5C4eHlcNbdRxCzauavINx5QAz9TQ1crICyWDLBdYR2Z+D4ysnn0rH0bhIP6r hZSvHXYreLlbV8Wt/MZ01QmNqm3kyex3WUt5tJZMJfutL8Llffr+KlJxMuIOOtYOJh3m qWsw== X-Received: by 10.202.74.68 with SMTP id x65mr13493088oia.98.1436805201238; Mon, 13 Jul 2015 09:33:21 -0700 (PDT) Original-Received: by 10.76.125.169 with HTTP; Mon, 13 Jul 2015 09:33:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:105698 Archived-At: I've configured Emacs to automatically use whitespace-mode for many modes, and this usually works very well for displaying odd characters, such as trailing whitespace. However, in sql-mode, though whitespace-mode is automatically enabled, I still have to disable and then re-enable whitespace-mode in order to actually* **see* the visual indicators for trailing whitespace. This odd little problem doesn't happen for most programming modes. Is there something in my Emacs config I can improve to fix this problem? https://github.com/mcandre/dotfiles/blob/master/.emacs I'm using Emacs v24.5.1, from Homebrew, on Mac OS X 10.10.4 Yosemite. -- Cheers, Andrew