From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nospam@dev.null (Alexey Pustyntsev) Newsgroups: gmane.emacs.help Subject: Re: getting rid of ^M displayed by emacs-w3m Date: Sun, 25 Mar 2007 05:27:27 +1100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174760610 31245 80.91.229.12 (24 Mar 2007 18:23:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2007 18:23:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 24 19:23:22 2007 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 1HVAte-0004YE-C9 for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Mar 2007 19:23:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVAvg-0001WU-PJ for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Mar 2007 13:25:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVAvV-0001SY-C6 for help-gnu-emacs@gnu.org; Sat, 24 Mar 2007 14:25:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVAvP-0001Fs-V0 for help-gnu-emacs@gnu.org; Sat, 24 Mar 2007 14:25:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVAvP-0001Fd-Rm for help-gnu-emacs@gnu.org; Sat, 24 Mar 2007 13:25:11 -0500 Original-Received: from [87.242.74.155] (helo=sycore.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVAtM-00077m-Ji for help-gnu-emacs@gnu.org; Sat, 24 Mar 2007 14:23:04 -0400 Original-Received: by sycore.org (Postfix, from userid 8) id D12D3E875; Sat, 24 Mar 2007 21:22:46 +0300 (MSK) Original-Received: from sycore.org (ip.217-148-192-167.sakhalintelecom.ru [217.148.192.167]) by sycore.org (Postfix) with ESMTP id BB174E6AB for ; Sat, 24 Mar 2007 21:22:44 +0300 (MSK) Original-Received: from alexey by sycore.org with local (Exim 4.63) (envelope-from ) id 1HVAxb-0000u6-Ir for help-gnu-emacs@gnu.org; Sun, 25 Mar 2007 05:27:27 +1100 User-Agent: Gnus/5.11 Emacs/22.0.95.1 In-Reply-To: (Alexey Pustyntsev's message of "Sat\, 24 Mar 2007 09\:00\:50 +1000") X-detected-kernel: Linux 2.4-2.6 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:42162 Archived-At: It turned out that ^M (or \015 in octal form) is what emacs displays when it encounters the carriage return control character. After some experimenting, I put the following code (standard-display-ascii ?\015 "") in my .emacs and it seems to have done the job. However, I am still not very sure if this is the right way to deal with the problem, as I feel that, normally, it should be solved by default, not requiring user intervention, except in special cases, of course. -- Rgds Alexey Today is Prickle-Prickle, the 11st day of Discord in the YOLD 3173