From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Fowler Newsgroups: gmane.emacs.help Subject: Re: Fwd: Stray CR chars everywhere Date: Fri, 10 Jan 2014 09:46:07 -0800 Message-ID: References: <83d2k0cp3l.fsf@gnu.org> <837ga8clci.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1389375984 24830 80.91.229.3 (10 Jan 2014 17:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 17:46:24 +0000 (UTC) Cc: emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 10 18:46:31 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1gAA-0002qV-PY for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 18:46:30 +0100 Original-Received: from localhost ([::1]:58134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1gAA-0003nA-Dw for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 12:46:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1g9r-0003ZJ-IX for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 12:46:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1g9q-0000eG-AY for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 12:46:11 -0500 Original-Received: from mail-pb0-x22f.google.com ([2607:f8b0:400e:c01::22f]:41950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1g9o-0000dp-JL; Fri, 10 Jan 2014 12:46:08 -0500 Original-Received: by mail-pb0-f47.google.com with SMTP id um1so4715690pbc.34 for ; Fri, 10 Jan 2014 09:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ni5Oimke23CoVH9MYdRwMl6Gp/peFQSlMrDOhxY5ULc=; b=P2fnbn7LEWgNZVMrTJoWz9AoqhOfYvRbjPyY33nHrRPWBHQZtgj9kVablDESBQSrkj w7Q4M2R0Tyw11hznuEP5i+sQqZbXbAcEUWYHx80pSzD06pvs/wM8f6rsXg/XCZoPqOYf 9TlWR0Jf1qH6OzRROZeOdGAvNYB52FLDkfYY7H8P7XyAPF2toWaPvZGVk5MwhMaTToQH c3FhG2Wlhh10jiL8MgL6xwDEjCpZLWqfU3owYpLfHRfuYgXaqMWMztpV9+hYzryH6u76 FaHKDZVJK5jTktYrGAOnCvvjyFmJXbozoENBTE3RxjOyIb4rGvLuMDQVovekqM85EafC 86Dw== X-Received: by 10.68.29.72 with SMTP id i8mr13196124pbh.116.1389375967300; Fri, 10 Jan 2014 09:46:07 -0800 (PST) Original-Received: by 10.70.119.70 with HTTP; Fri, 10 Jan 2014 09:46:07 -0800 (PST) In-Reply-To: <837ga8clci.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95336 Archived-At: Sorry to confuse you. Here are the particulars: I am running emacs on windows 7, editing files on a fedora box using TRAMP and plink. The linux box has no GUI, just command line. Emacs from the prompt on that machine works fine. Emaccing windows-origin TXT files from the windows box ..... .... seems to work, no munging of CR/LFs. Emacs: GNU Emacs 23.1.50.1 (i386-mingw-nt6.1.7601) of 2009-11-03 on LENNART-69DE564 (patched) Linux: Linux localhost.localdomain 3.12.6 #1 SMP Mon Dec 23 16:36:09 PST 2013 i686 i686 i386 GNU/Linux Output of Alt-: is '(undecided-dos . undecided-unix)' Symptoms were that buffers maintained by emacs (I vaguely recall build output, buffer list, file list; not totally sure) started showing those ^M chars. I ignored them and kept working. Next time I had to present a password to TRAMP, it didn't like my pwd, which has not changed. Searching for a solution to that problem, I found the 'net wisdom is that the cause is CR/LF confusion between TRAMP, ssh (plink?), and emacs. So I assume I bumped a switch in emacs somewhere and hosed my CR/LFs. Eric On Fri, Jan 10, 2014 at 12:06 AM, Eli Zaretskii wrote: > > Date: Thu, 9 Jan 2014 23:56:37 -0800 > > From: Eric Fowler > > Cc: emacs > > > > Linux, Fedora. Not sure which version of Emacs, latest MS Windows > version. > > I'm confused: you are running an MS-Windows version of Emacs on > Fedora? > > Anyway, "M-x emacs-version RET" will show the version you are > running. Please show what it says. > > > Buffer windows show ^M chars ... anything emacs produces. 'Make' output, > > for instance. > > So this is an issue when Emacs displays text produced by programs it > invokes? What if you visit a file, do the ^M characters show up then? > > Also, what is displayed by the following command? > > M-: default-process-coding-system RET > > -- cc:NSA