bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] 2005-05-22; Scrambled line endings


From: Christian Gudrian
Subject: [Bug-AUCTeX] 2005-05-22; Scrambled line endings
Date: Tue, 24 May 2005 10:20:50 +0200
User-agent: Hamster-Pg/1.22.2.0

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

If the bug (or problem) is triggered by a specific (La)TeX
file, you should try to produce a minimal sample file showing the
problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.

When I create a simple document like this one:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}

\begin{document}
Test
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

and save it, I get the following buffer contents when I re-open it:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}



\begin{document}

Test

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

In both cases the value of `buffer-file-coding-system' is
iso-latin-1-dos.  I have to manually revert the buffer using the
dos coding system to get it displayed correctly.

Emacs  : GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195)
 of 2005-05-23 on APOLLO
Package: 2005-05-22

current state:
==============
(setq
 AUCTeX-date "2005-05-22"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "c:/emacs/site-lisp/auctex/style"
                  "c:/gnu/msys/1.0/local/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil
                     (plain-tex-mode texinfo-mode ams-tex-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive
                     nil (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t
                     :help "Spell-check the document")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    ("Make and Show" "make view" TeX-run-command nil t))
 )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]