From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: emacs 23 whitespace-mode, change newline display glyph Date: Wed, 12 Aug 2009 05:21:00 -0700 (PDT) Organization: http://groups.google.com 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250089739 19260 80.91.229.12 (12 Aug 2009 15:08:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 15:08:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 17:08: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 1MbFRZ-0003pS-4s for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 17:08:49 +0200 Original-Received: from localhost ([127.0.0.1]:59436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbFRW-0002Mw-Ii for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 11:08:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u16g2000pru.googlegroups.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1250079661 24640 127.0.0.1 (12 Aug 2009 12:21:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 12 Aug 2009 12:21:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u16g2000pru.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu comp.emacs:98572 gnu.emacs.help:171904 X-Mailman-Approved-At: Wed, 12 Aug 2009 11:01:55 -0400 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:67087 Archived-At: On Aug 12, 4:31 am, Teemu Likonen wrote: > On 2009-08-12 11:23 (UTC), Vincent Lefevre wrote: > > > Otherwise one can still use the Long Lines mode (longlines-mode, that > > was already present in Emacs 22), which shows the logical lines in > > some other way: with a character ("|" in Emacs 22, "=C2=B6" in Emacs 23= ) in > > a different color at the end of the logical line (but with the > > longlines mode, the show-trailing-whitespace variable has no effect). > > One can pretty much replace longlines-mode with this: > > (visual-line-mode 1) > (whitespace-newline-mode 1) > (setq fill-column 999999) > > This is nicer because longlines-mode is a hack which actually modifies > the buffer in order to differentiate between hard and soft newlines. > Emacs 23 has this proper way of doing it. in my emacs 23 both on Windows and Mac, the white space shows as $, not =C2=B6, when in whitespace-mode or whitespace-newline-mode. How to make it show line breaks using =C2=B6 ? i tried to read the doc... which took me too See also `whitespace- style', `whitespace-newline' and `whitespace-display-mappings', and customize... but its rather confusing. Xah =E2=88=91 http://xahlee.org/ =E2=98=84