all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16177: 24.3.50; Display glyphs for hard spaces in color
@ 2013-12-17 14:01 Sebastien Vauban
  2013-12-17 15:31 ` Drew Adams
  2021-05-30  5:39 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Sebastien Vauban @ 2013-12-17 14:01 UTC (permalink / raw)
  To: 16177-ubl+/3LiMTaZdePnXv/OxA

Hello,

In French, you have a narrow nobreak space (202F) in front of the colon : « as
well between quotes »...

Before "high punctuation symbols" (such as ! and ?), it is a "common" nbsp
(00A0): Hello ! How are you ?

Problem #1:

To get hard spaces (aka nbsp) highlighted, you need to add `spaces' to
`whitespace-style':

#+begin_src emacs-lisp
  ;; which kind of blank is visualized
  (setq whitespace-style
        '(face trailing tabs spaces
          indentation::space space-mark tab-mark))
#+end_src

Doing so, all the normal spaces are highlighted as well...

And setting the background of `whitespace-space' to `white' is not a solution,
as Org headings would become weird (when they use a background color).

Problem #2:

Narrow nbsp aren't highlighted.

See http://screencast.com/t/3qtxb3vTxcS for visualizing both problems.

Best regards,
  Seb





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-30 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 14:01 bug#16177: 24.3.50; Display glyphs for hard spaces in color Sebastien Vauban
2013-12-17 15:31 ` Drew Adams
2021-05-30  5:39 ` Lars Ingebrigtsen
2021-05-30 15:00   ` bug#16177: [External] : " Drew Adams

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.