From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Vollmar Newsgroups: gmane.emacs.help Subject: Re: emacs 23 whitespace-mode, change newline display glyph Date: Sun, 16 Aug 2009 16:19:16 +0200 Message-ID: References: <3cf016b2-6cfc-4898-9ffc-7ace62268be9@z4g2000prh.googlegroups.com> <87ljlw6ro3.fsf@lola.goethe.zz> <2a9a261c-bcd4-411b-9038-912cf5627ba1@y10g2000prf.googlegroups.com> <20090812110617$355d@prunille.vinc17.org> <87eirhb75k.fsf@iki.fi> <185045da-73db-47c9-83cd-e75199806556@z4g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250432403 2918 80.91.229.12 (16 Aug 2009 14:20:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 14:20:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 16 16:19:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1McgaL-00053r-Rf for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 16:19:50 +0200 Original-Received: from localhost ([127.0.0.1]:38793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McgaL-0004YX-7e for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 10:19:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McgZy-0004YP-JV for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 10:19:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McgZt-0004YD-67 for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 10:19:25 -0400 Original-Received: from [199.232.76.173] (port=51018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McgZt-0004YA-0A for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 10:19:21 -0400 Original-Received: from mail.nf.mpg.de ([134.95.44.50]:38565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McgZs-0001qo-Kw for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 10:19:20 -0400 Original-Received: from [192.168.178.21] (pD9E6152A.dip.t-dialin.net [217.230.21.42]) by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0KOH00HKH3SN1R00@mail.nf.mpg.de> for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 16:19:35 +0200 (MEST) In-reply-to: <185045da-73db-47c9-83cd-e75199806556@z4g2000prh.googlegroups.com> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67192 Archived-At: Dear Xah, dear Cheng, On 12.08.2009, at 15:47, Xah Lee wrote: > Xah Lee : >>> in my emacs 23 both on Windows and Mac, the white space shows as $, >>> not =B6, when in whitespace-mode or whitespace-newline-mode. >> >>> How to make it show line breaks using =B6 ? > > On Aug 12, 5:44 am, CHENG Gao 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 =20= possibly related and David Reitter provided a solution which works =20 fine for me: > From: David Reitter > Date: 16. August 2009 15:12:25 MESZ > To: Emacs on Mac OS X Mailing List > Subject: Re: [OS X Emacs] wrong glyphs in Show-Newlines mode > Reply-To: Emacs on Mac OS X Mailing List = > > > On Aug 16, 2009, at 6:14 AM, Stefan Vollmar wrote: > >> in Aquamacs 2.0preview2, when enabling the menu entry =20 >> Options:View:Show Newlines the message "Global-Show-Newlines mode =20 >> enabled" appears and all newlines are marked with a grey rectangle. =20= >> 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 --=20 Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, 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