From: Dani Moncayo <dmoncayo@gmail.com>
To: 7383@debbugs.gnu.org
Subject: bug#7383: 24.0.50; end-of-line style on remote files
Date: Fri, 12 Nov 2010 11:37:12 +0100 [thread overview]
Message-ID: <AANLkTim9OwjOL_xK8Q4VbxjTPUeojdem1FR5VCtRb=6O@mail.gmail.com> (raw)
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
next reply other threads:[~2010-11-12 10:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 10:37 Dani Moncayo [this message]
2011-04-28 8:48 ` bug#7383: 24.0.50; end-of-line style on remote files 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTim9OwjOL_xK8Q4VbxjTPUeojdem1FR5VCtRb=6O@mail.gmail.com' \
--to=dmoncayo@gmail.com \
--cc=7383@debbugs.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.