unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs 23 whitespace-mode, change newline display glyph
Date: Sun, 16 Aug 2009 16:19:16 +0200	[thread overview]
Message-ID: <D6BD203F-8006-4863-902C-E4A8FD732DE9@nf.mpg.de> (raw)
In-Reply-To: <185045da-73db-47c9-83cd-e75199806556@z4g2000prh.googlegroups.com>

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









  reply	other threads:[~2009-08-16 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3cf016b2-6cfc-4898-9ffc-7ace62268be9@z4g2000prh.googlegroups.com>
     [not found] ` <87ljlw6ro3.fsf@lola.goethe.zz>
     [not found]   ` <2a9a261c-bcd4-411b-9038-912cf5627ba1@y10g2000prf.googlegroups.com>
     [not found]     ` <20090812110617$355d@prunille.vinc17.org>
     [not found]       ` <87eirhb75k.fsf@iki.fi>
2009-08-12 12:21         ` emacs 23 whitespace-mode, change newline display glyph Xah Lee
2009-08-12 12:44           ` CHENG Gao
2009-08-12 13:47             ` Xah Lee
2009-08-16 14:19               ` Stefan Vollmar [this message]
2009-08-15  8:45             ` Xah Lee
2009-08-18 12:55               ` Kevin Rodgers

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D6BD203F-8006-4863-902C-E4A8FD732DE9@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).