bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.81; font lock mode, listing and auctex


From: Levon Saldamli
Subject: [Bug-AUCTeX] 11.81; font lock mode, listing and auctex
Date: Wed, 23 Nov 2005 18:11:05 +0100 (CET)

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

Be sure to consult the FAQ section in the manual before submitting
a bug report.  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 use lstlisting and auctex and have font-lock-mode turned on, typesetting 
sometimes fails. Normally, the contents of the lstlisting is typeset with a 
special type, and the rest of the buffer is typeset normally. However, the 
toggling of listing state seems to come out of sync sometimes, typesetting the 
inverse of the listing as if it was the listing and vice versa. This seems to 
happen dependening on the cursor position, but not always. However, I seem to 
trigger the bug always by turning off and on font lock mode while having the 
cursor at certain positions. Maybe the bug occurs when the visible part of the 
buffer starts in the middle of a lstlisting environment?

Emacs  : GNU Emacs 21.4.1 (sparc-sun-solaris2.9, X toolkit)
 of 2005-04-06 on majestix.ida.liu.se
Package: 11.81

current state:
==============
(setq
 AUCTeX-date "2005-09-25"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" 
"/home/levsa/pkg/share/texmf/tex/latex/preview/style"
                  "/home/levsa/pkg/share/texmf/tex/latex/preview/auto"
                  "/home/levsa/elisp/auctex/style" "/usr/local/var/auctex")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master "main"
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\"" 
TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-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"))
 )




reply via email to

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