all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: compatibility problem of whitespace-mode & PrettyControlL?
Date: Tue, 29 Mar 2011 16:26:20 -0700 (PDT)	[thread overview]
Message-ID: <8fe47608-1a25-47e0-8847-8922d384ba67@d26g2000prn.googlegroups.com> (raw)

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 “¶” for end of
line char and ▷ 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


             reply	other threads:[~2011-03-29 23:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 23:26 Xah Lee [this message]
2011-03-30 16:13 ` compatibility problem of whitespace-mode & PrettyControlL? Drew Adams
     [not found] ` <mailman.0.1301501626.9824.help-gnu-emacs@gnu.org>
2011-03-30 17:15   ` Xah Lee

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=8fe47608-1a25-47e0-8847-8922d384ba67@d26g2000prn.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.