From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: remote editing of unix files over ssh with emacs 22.3.1 from Windows Date: Mon, 08 Jun 2009 14:39:58 +0200 Message-ID: References: <4A02A04F.6010307@simplistix.co.uk> <83hbzwdazt.fsf@gnu.org> <0F841C30-5A42-4F96-95CE-49FA51BDBDB6@digg.com> <4A04A18F.2020404@simplistix.co.uk> <833abedact.fsf@gnu.org> <4A0543A3.9000007@simplistix.co.uk> <83y6t6bp8l.fsf@gnu.org> <4A05C052.10607@simplistix.co.uk> <83bpq2ytya.fsf@gnu.org> <87fxfbibjr.wl%anselm.helbig+news2009@googlemail.com> <4A0EF0FC.2020608@simplistix.co.uk> <87d49zy4dl.fsf@gmx.de> <4A1ABBE0.1080809@simplistix.co.uk> <87ljojwpvl.fsf@gmx.de> <4A2125DE.7090103@simplistix.co.uk> <4A2CFEB3.9090301@simplistix.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244465259 29782 80.91.229.12 (8 Jun 2009 12:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2009 12:47:39 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org >> Emacs Help" , anselm.helbig+news2009@googlemail.com To: Chris Withers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 14:47:36 2009 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 1MDeGF-0004Nd-P6 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2009 14:47:36 +0200 Original-Received: from localhost ([127.0.0.1]:48121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDeGF-00048N-8U for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2009 08:47:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDe99-0001Zz-Pa for help-gnu-emacs@gnu.org; Mon, 08 Jun 2009 08:40:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDe94-0001Xp-41 for help-gnu-emacs@gnu.org; Mon, 08 Jun 2009 08:40:14 -0400 Original-Received: from [199.232.76.173] (port=42535 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDe93-0001Xa-Az for help-gnu-emacs@gnu.org; Mon, 08 Jun 2009 08:40:09 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]:42118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MDe92-0004Ea-LV for help-gnu-emacs@gnu.org; Mon, 08 Jun 2009 08:40:08 -0400 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n58CdxHF022217; Mon, 8 Jun 2009 14:39:59 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n58CdwY4006381; Mon, 8 Jun 2009 14:39:58 +0200 (MEST) In-Reply-To: <4A2CFEB3.9090301@simplistix.co.uk> (Chris Withers's message of "Mon, 08 Jun 2009 13:06:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Alcanet-virus-scanned: n58CdwY4006381 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) 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:65035 Archived-At: Chris Withers writes: > Is there anything I can do to make the remote files open in unix-mode? > > Things like logrotate configs and shellscripts don't work with Windows > line endings, which seems to happen by default :-S You can always change the text encoding. See (info "(elisp)Coding Systems") I guess, setting `file-coding-system-alist' is what you are looking for. > Chris Best regards, Michael.