unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 13977@debbugs.gnu.org
Subject: bug#13977: 24.3.50; buffer-file-coding-system not set correctly
Date: Sat, 16 Mar 2013 18:52:49 +0200	[thread overview]
Message-ID: <83li9n2sny.fsf@gnu.org> (raw)
In-Reply-To: <CAPM58ohggtEESz0dUfugs9-o5yA7sLE2627MXBJNkYCP560dFg@mail.gmail.com>

> Date: Sat, 16 Mar 2013 14:49:17 +0000
> From: Richard Copley <rcopley@gmail.com>
> 
> On Windows, visit a plain ASCII text file with LF line endings. The
> value of `buffer-file-coding-system' is `iso-latin-1-dos' (should be
> `iso-latin-1-unix'). Modify and save the file. The file now has CRLF
> line endings.
> This was introduced recently in the trunk.

I can reproduce this on GNU/Linux, if I first evaluate this:

  (setq default-buffer-file-coding-system 'iso-latin-1-dos)

So I guess some of the latest changes use the default EOL format in
preference to the format of the file we are visiting.





  reply	other threads:[~2013-03-16 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 14:49 bug#13977: 24.3.50; buffer-file-coding-system not set correctly Richard Copley
2013-03-16 16:52 ` Eli Zaretskii [this message]
2013-04-05 19:19 ` Dmitry Gutov
2013-04-05 19:48   ` Eli Zaretskii
     [not found]   ` <CAPM58ogZFoWOmVa10kp-0MmJDTBVrt4KX3uMigB9kCS7hMrWgQ@mail.gmail.com>
     [not found]     ` <CAPM58ojFFs4McX_+JXQqSqwPuuOVunMPP+6YLLu=BG2FZE7G_g@mail.gmail.com>
2013-04-05 19:50       ` Dmitry Gutov

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=83li9n2sny.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13977@debbugs.gnu.org \
    --cc=rcopley@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).