From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Mueller Newsgroups: gmane.emacs.help Subject: Re: Hiding ^M Date: Tue, 23 Feb 2010 06:52:02 +0100 Message-ID: References: Reply-To: Urlicht@gmx.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1266907329 11559 80.91.229.12 (23 Feb 2010 06:42:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 06:42:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 07:42:03 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 1NjoSl-0008ES-LM for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 07:41:43 +0100 Original-Received: from localhost ([127.0.0.1]:54845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjoSk-0004ky-RP for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 01:41:42 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: individual.net JxvP4iJMzSWk06mRky1ckg8z2mTFHTKD4KbGQJS2ecjlgpy2k= Cancel-Lock: sha1:7arrbejghQYAMvSPDZIAvSospi4= sha1:CCtb18h4oyRKomPCpvdG9WDZJAM= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Original-Xref: news.stanford.edu gnu.emacs.help:177010 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:72048 Archived-At: Óscar Fuentes schrieb: > 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). Yes, if there're ^M visible at the end of lines this is a notification that there's a mix. I would not make them invisible. I would really prefer to remove them because this mix is a relict from using different editors who left the file in an inconsistent state. I use a small file called eol-conversion.el for removing. It allows to specify what kind of line ending should be used now for all lines. T.M.