From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8780: 24.0.50; Coding system and eol style auto-detection after opening remote files Date: Wed, 08 Jun 2011 23:56:07 +0300 Message-ID: <83tyc0avq0.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1307571134 1588 80.91.229.12 (8 Jun 2011 22:12:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2011 22:12:14 +0000 (UTC) Cc: 8780@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 09 00:12:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QUQys-0005yD-S9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jun 2011 00:12:07 +0200 Original-Received: from localhost ([::1]:52269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUQyr-0007gn-SI for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2011 18:12:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUPoG-0005cu-PZ for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 16:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUPoE-0001Tk-Sd for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 16:57:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUPoE-0001Te-Hx for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 16:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QUPoD-0001VP-JP; Wed, 08 Jun 2011 16:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2011 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8780-submit@debbugs.gnu.org id=B8780.13075665745736 (code B ref 8780); Wed, 08 Jun 2011 20:57:01 +0000 Original-Received: (at 8780) by debbugs.gnu.org; 8 Jun 2011 20:56:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QUPnS-0001US-1D for submit@debbugs.gnu.org; Wed, 08 Jun 2011 16:56:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QUPnP-0001UF-KJ for 8780@debbugs.gnu.org; Wed, 08 Jun 2011 16:56:12 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LMH00I00OT88N00@a-mtaout22.012.net.il> for 8780@debbugs.gnu.org; Wed, 08 Jun 2011 23:56:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.223.140]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LMH00HY7OTFOU90@a-mtaout22.012.net.il>; Wed, 08 Jun 2011 23:56:04 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 08 Jun 2011 16:57:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47045 Archived-At: > Date: Wed, 8 Jun 2011 19:53:10 +0200 > From: Dani Moncayo > > 0. Start Emacs: emacs -Q. > 1. Visit any _remote_ file: C-x C-f /user@host:/path-to-file. > 2. Now, any attempt to visit any file (remote or local) gives abnormal > results(*). > > (*): > a. The coding system flag is missing from the modeline. > b. If the file has DOS format, the eol-style flag is wrong (it > indicates UNIX style), and the buffer shows the ^M characters at the > end of each and every line. I cannot reproduce this with yesterday's build of Emacs 24 on w32. I tried fetching a remote file from a GNU/Linux machine -- it was displayed correctly and with the correct EOL mnemonic. I then tried visiting several local files, and they all also displayed correctly. This is both using the default pscp method of accessing remote files and with the plink method. Are you using one of these Tramp methods? If not, which method do you use?