Re: Unbreakable space in text editor
- From: "Stéphane Raimbault" <stephane raimbault gmail com>
- To: "Frederic Peters" <fpeters 0d be>
- Cc: gnome-i18n gnome org
- Subject: Re: Unbreakable space in text editor
- Date: Sun, 19 Aug 2007 21:57:06 +0200
2007/8/18, Frederic Peters <fpeters 0d be>:
>
> You could try this:
>
> syntax match Nbsp ' '
> highlight Nbsp term=reverse ctermfg=DarkRed guifg=Red
>
> (replace real space by non-breakspace in first line)
And for Emacs :)
(make-face 'nbsp-face)
(require 'disp-table)
(aset standard-display-table
(make-char 'latin-iso8859-1 (- ?\240 128))
(vector (+ ?\267 (* 524288 (face-id 'nbsp-face)))))
Ciao,
Stéphane
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]