[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 23 whitespace-mode, change newline display glyph
From: |
Stefan Vollmar |
Subject: |
Re: emacs 23 whitespace-mode, change newline display glyph |
Date: |
Sun, 16 Aug 2009 16:19:16 +0200 |
Dear Xah,
dear Cheng,
On 12.08.2009, at 15:47, Xah Lee wrote:
Xah Lee <xah...@gmail.com>:
in my emacs 23 both on Windows and Mac, the white space shows as $,
not ¶, when in whitespace-mode or whitespace-newline-mode.
How to make it show line breaks using ¶ ?
On Aug 12, 5:44 am, CHENG Gao <cheng...@gmail.com> wrote:
Through reading whitespace-mode source, I found this works:
,----
| (setq whitespace-display-mappings '(
| (newline-mark 10
| [182 10])))
`----
I had a problem with Global-Show-Newlines in Aquamacs 2.0pr2 which is
possibly related and David Reitter provided a solution which works
fine for me:
From: David Reitter <david.reitter@gmail.com>
Date: 16. August 2009 15:12:25 MESZ
To: Emacs on Mac OS X Mailing List <macosx-emacs@email.esm.psu.edu>
Subject: Re: [OS X Emacs] wrong glyphs in Show-Newlines mode
Reply-To: Emacs on Mac OS X Mailing List <macosx-emacs@email.esm.psu.edu
>
On Aug 16, 2009, at 6:14 AM, Stefan Vollmar wrote:
in Aquamacs 2.0preview2, when enabling the menu entry
Options:View:Show Newlines the message "Global-Show-Newlines mode
enabled" appears and all newlines are marked with a grey rectangle.
I observed this with several fonts.
Thanks, fixed. This lets you set your own symbol:
(setq show-newlines-newline-code
(vector (make-glyph-code ?\x00B6 'blank-newline) 10))
- David
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: vollmar@nf.mpg.de http://www.nf.mpg.de