* Christian Gudrian (2005-05-24) writes: > Ralf Angeli wrote: > >> Does this happen only for LaTeX files or for any type of file? > > This only happens with TeX files. If I edit and save a file in fundamental > or text mode, re-opening doesn't show that behaviour. > >> Does the problem go away if you start Emacs from the command line with >> `emacs -q -no-site-file', type `M-: (require 'tex-site) RET', and >> open/edit/save/close/open a LaTeX file? > > No. The problem persists. > > Strange to me is the fact, that `buffer-file-coding-system' shows the > correct value: iso-latin-1-dos.
Hm, I am not aware that AUCTeX is doing anything special with line endings when opening or saving a file. Do you see any irregularities if you open the file via `M-x find-file-literally RET'? Do you see newline duplication in a non-LaTeX file if you insert line breaks with `M-: (insert "\n") RET' instead of <RET>? Does anybody else have an idea? -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
