From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Hiding ^M Date: Mon, 22 Feb 2010 21:59:34 +0100 Message-ID: <877hq53s21.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1266873416 21715 80.91.229.12 (22 Feb 2010 21:16:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 21:16:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 22:16:53 2010 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.69) (envelope-from ) id 1Njfe7-0002O9-Hf for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 22:16:51 +0100 Original-Received: from localhost ([127.0.0.1]:33720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njfe6-0003Hp-LB for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 16:16:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Njfbe-00023v-7L for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 16:14:18 -0500 Original-Received: from [140.186.70.92] (port=50959 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njfbc-00021A-HO for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 16:14:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjfOo-0000YO-4b for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 16:01:02 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:36474) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjfOn-0000Y9-U2 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 16:01:02 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NjfOE-0003ad-4p for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 22:00:26 +0100 Original-Received: from 231.red-88-24-215.staticip.rima-tde.net ([88.24.215.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2010 22:00:26 +0100 Original-Received: from ofv by 231.red-88-24-215.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2010 22:00:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 231.red-88-24-215.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:4P3dlHx/lBKfTn0CkAHKhwpDiPM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:72034 Archived-At: For buffers with certain major mode, I'll like to hide ^M characters. It is not possible to remove them and adjusting the eol settings of the buffer is not an option either (the lines that ends with ^M are mixed with "normal" lines). Setting the `escape-glyph' face to white foreground would do. Setting the specific face of the ^M character would be okay too. But that should only apply to buffers with an specific major mode.