From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: compatibility problem of whitespace-mode & PrettyControlL? Date: Tue, 29 Mar 2011 16:26:20 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8fe47608-1a25-47e0-8847-8922d384ba67@d26g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301442035 12442 80.91.229.12 (29 Mar 2011 23:40:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 23:40:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 01:40:31 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4iWS-0008Ka-NV for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 01:40:28 +0200 Original-Received: from localhost ([127.0.0.1]:59440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4iWR-0001l5-RX for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 19:40:27 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!d26g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 46 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1301441180 6269 127.0.0.1 (29 Mar 2011 23:26:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 29 Mar 2011 23:26:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d26g2000prn.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186394 comp.emacs:101352 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80518 Archived-At: there seems to be a compatibility problem with whitespace-mode and both http://user42.tuxfamily.org/formfeed-hline/index.html and http://www.emacswiki.org/emacs/PrettyControlL in short, when one of PrettyControlL or formfeed-hline-mode is loaded, then the unicode in whitespace-mode disappears. here's the steps. put the following in your .emacs: (require 'pp-c-l) (setq pp^L-^L-string " ") (pretty-control-l-mode 1) ;; Make whitespace-mode with very basic background coloring for whitespaces (setq whitespace-style (quote ( spaces tabs newline space-mark tab- mark newline-mark ))) ;; Make whitespace-mode and whitespace-newline-mode use =E2=80=9C=C2=B6=E2= =80=9D for end of line char and =E2=96=B7 for tab. (setq whitespace-display-mappings '( (space-mark 32 [183] [46]) ; normal space, MIDDLE DOT, FULL STOP. (space-mark 160 [164] [95]) (space-mark 2208 [2212] [95]) (space-mark 2336 [2340] [95]) (space-mark 3616 [3620] [95]) (space-mark 3872 [3876] [95]) (newline-mark 10 [182 10]) ; newlne (tab-mark 9 [9655 9] [92 9]) ; tab )) this should make it look like this (second screenshot): http://xahlee.org/emacs/whitespace-mode.html however, it seems when pretty print is loaded, all those triangle and middle dot doesn't show. same problem happens with formfeed-hline. any idea what's going on? Xah