unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: elisp to change line endings for new remote file
Date: Tue, 07 Oct 2008 19:29:26 -0600	[thread overview]
Message-ID: <gch2cs$uj5$1@ger.gmane.org> (raw)
In-Reply-To: <e6e626ef-4021-45c8-9d07-63b2e6dc2ce5@w1g2000prk.googlegroups.com>

yary wrote:
> Thanks all. I already knew about add-untranslated-filesystem. tramp/
> plink is smart enough to not translate its files, so that's not the
> solution for creating new files with unix line endings.

Then where do the DOS line endings come from?

When you visit a new file via tramp, what does `C-h v 
buffer-file-coding-system'
report?  Did you actually add the file's directory (or an ancestor 
directory) to
untranslated-filesystem-list?

-- 
Kevin Rodgers
Denver, Colorado, USA





  reply	other threads:[~2008-10-08  1:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 17:07 elisp to change line endings for new remote file yary
2008-10-06 23:50 ` Giorgos Keramidas
2008-10-07  6:42 ` Kevin Rodgers
2008-10-07  9:43 ` Peter Dyballa
     [not found] ` <mailman.434.1223372672.25473.help-gnu-emacs@gnu.org>
2008-10-07 15:41   ` yary
2008-10-08  1:29     ` Kevin Rodgers [this message]
     [not found]     ` <mailman.516.1223429355.25473.help-gnu-emacs@gnu.org>
2008-10-17  0:08       ` yary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gch2cs$uj5$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).