From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#8780: 24.0.50; Coding system and eol style auto-detection after opening remote files Date: Wed, 8 Jun 2011 19:53:10 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1307556192 6364 80.91.229.12 (8 Jun 2011 18:03:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2011 18:03:12 +0000 (UTC) To: 8780@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 08 20:03:09 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 1QUN5p-0002Jw-9K for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2011 20:03:01 +0200 Original-Received: from localhost ([::1]:40864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUN5o-0000HN-3x for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2011 14:03:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUMxA-000675-NM for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 13:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUMx9-0004CZ-7z for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 13:54:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUMx8-0004CU-TU for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2011 13:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QUMx8-0005O1-6a; Wed, 08 Jun 2011 13:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo 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 17:54:02 +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.130755559920639 (code B ref 8780); Wed, 08 Jun 2011 17:54:02 +0000 Original-Received: (at 8780) by debbugs.gnu.org; 8 Jun 2011 17:53:19 +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 1QUMwQ-0005Mp-Iz for submit@debbugs.gnu.org; Wed, 08 Jun 2011 13:53:19 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QUMwO-0005MZ-2L for 8780@debbugs.gnu.org; Wed, 08 Jun 2011 13:53:16 -0400 Original-Received: by yxm34 with SMTP id 34so326295yxm.3 for <8780@debbugs.gnu.org>; Wed, 08 Jun 2011 10:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=DuRWNYzGNnUZKcp2TuSj2cum7WTjYFwnPQCqyrpbB3E=; b=jKT5IPpYLcQCImQ/iKiSbCzA7LQ5fIPCemhmgXPy3Fh53z5g7nISw1dQrHa5nNoq0j GaGo+yhWoXakIUZ4bDUUmGwFWYrxxRFpCB8CrDbctuea6ylKGLkDNKlX3Ai+jlwzWwKh lvnkweD4BsgwkQ6vbNsdx8ls4KJnu5w10EoTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AZ0D43npexdvlKvWeIj/UXw3vOEKE41dOPeUgjPod/UyJxIgbBlduEXhOr9tKdviR5 2DdAXbm55MhGqUFVV2k8Ymg54AOeecTP4Uzb/FmD0v9BgxA77ZavK0QabReQlfozXDrc A+UalnZacDMjgz2cpZYQM+HedZFWcWbR0SCls= Original-Received: by 10.91.160.13 with SMTP id m13mr941916ago.168.1307555590253; Wed, 08 Jun 2011 10:53:10 -0700 (PDT) Original-Received: by 10.90.25.2 with HTTP; Wed, 8 Jun 2011 10:53:10 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 08 Jun 2011 13:54:02 -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:47041 Archived-At: Ping! I'm experiencing this problem everyday at work. Everyone who works with remote files should be experiencing it too (and I think that is a frequent practice among programmers). I get abnormal results regardless of the coding system of the file. So, here is an updated, description of the problem: 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. -- Dani Moncayo