unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7383: 24.0.50; end-of-line style on remote files
@ 2010-11-12 10:37 Dani Moncayo
  2011-04-28  8:48 ` Dani Moncayo
  0 siblings, 1 reply; 21+ messages in thread
From: Dani Moncayo @ 2010-11-12 10:37 UTC (permalink / raw)
  To: 7383

It seems that Emacs doesn't respect the end-of-line style when dealing
with remote files.

Try this:
1.- Start Emacs (emacs -Q)
2.- Open a remote file, which has DOS end-of-line style (<cr><lf>).
3.- Make a change to the file and save it.
4.- The modeline still says that the end-of-line style is DOS (char
"\" on Windows version), but in fact it isn't. It has changed to UNIX
style (<lf>).

...and even worse:
5.- M-x revert-buffer.
6.- The modeline keeps unchanged (like in step 4). In order to get the
correct modeline flag, you have to kill the buffer and re-visit the
file.

---------------------------------------
Dani.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-09 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ESP
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Conf[Space]

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t





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

end of thread, other threads:[~2011-05-06 18:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 10:37 bug#7383: 24.0.50; end-of-line style on remote files Dani Moncayo
2011-04-28  8:48 ` Dani Moncayo
2011-04-28 10:17   ` Michael Albinus
     [not found]     ` <BANLkTi=0FH=h2oEupQnsLPvvfTD7+_jsYA@mail.gmail.com>
2011-05-04 10:27       ` bug#7383: Fwd: " Dani Moncayo
     [not found]       ` <BANLkTi=+ygu=_h78Agus=iLc_eGxFf4DGA@mail.gmail.com>
2011-05-04 10:29         ` Dani Moncayo
     [not found]         ` <87wriek4ke.fsf@gmx.de>
2011-05-04 10:31           ` Dani Moncayo
     [not found]           ` <BANLkTimqmhxaMNGuC8cffR76hgN=yXeghQ@mail.gmail.com>
2011-05-04 10:32             ` Dani Moncayo
     [not found]             ` <87oc3qjxbl.fsf@gmx.de>
2011-05-04 10:33               ` Dani Moncayo
     [not found]               ` <BANLkTikRfEWAZc1ZPTYjeFqgLrp-8FZdqQ@mail.gmail.com>
2011-05-04 10:33                 ` Dani Moncayo
     [not found]                 ` <87bozmitut.fsf@gmx.de>
2011-05-04 10:34                   ` Dani Moncayo
     [not found]                   ` <BANLkTin_UAsMHYyUKzg5fy1hkxiu5qMnsA@mail.gmail.com>
2011-05-04 10:36                     ` Dani Moncayo
2011-05-04 13:04                     ` Michael Albinus
2011-05-04 15:14                       ` Stefan Monnier
2011-05-04 15:42                         ` Michael Albinus
2011-05-04 17:23                         ` Eli Zaretskii
2011-05-04 18:47                           ` Stefan Monnier
2011-05-04 20:17                             ` Eli Zaretskii
2011-05-05 10:24                               ` Michael Albinus
2011-05-06 17:49                                 ` Glenn Morris
2011-05-06 18:00                                   ` Michael Albinus
2011-05-06 18:07                                     ` Dani Moncayo

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