GNU bug report logs -
#8780
24.0.50; Coding system and eol style auto-detection after opening remote files
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Wed, 1 Jun 2011 08:27:02 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
1. Start Emacs (emacs -Q).
2. Save the *scratch* buffer file to the local machine, in format
`iso-latin-1-dos'.
3. Put an exact copy of the above file into another machine accesible via ftp.
4. Open the local file (created in #2), and check the modeline flags
(coding system and eol style) and the buffer contents. --> Both look
right.
5. Open the remote file (C-x C-f /user <at> host:/path-to-file), and check
the modeline flags and buffer contents. --> Both look right too.
6. Kill both buffers and repeat step #4 and/or #5. --> Now the
behavior is different (and likely wrong): (a) the modeline flags say
nothing about the coding system, (b) the eol style supposedly is
(Unix) now, and thus the buffer shows ^M characters at the end of each
and every line.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-05-31 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
--
Dani Moncayo
This bug report was last modified 14 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.