unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8780: 24.0.50; Coding system and eol style auto-detection after opening remote files
@ 2011-06-01  8:26 Dani Moncayo
  2011-06-01 13:26 ` Dani Moncayo
  0 siblings, 1 reply; 6+ messages in thread
From: Dani Moncayo @ 2011-06-01  8:26 UTC (permalink / raw)
  To: 8780

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@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-09  9:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-01  8:26 bug#8780: 24.0.50; Coding system and eol style auto-detection after opening remote files Dani Moncayo
2011-06-01 13:26 ` Dani Moncayo
2011-06-08 17:53   ` Dani Moncayo
2011-06-08 20:56     ` Eli Zaretskii
2011-06-08 21:38       ` Dani Moncayo
2011-06-09  9:48         ` Eli Zaretskii

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