[Top][All Lists]

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

[AUCTeX-devel] bug in auctex highlighting

From: Ralf Hemmecke
Subject: [AUCTeX-devel] bug in auctex highlighting
Date: Fri, 21 May 2010 07:37:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4


last night I sent the following bug to address@hidden, but I cannot
see it see it here

Is there somewhere a proper bugtracker for auctex? Or must I assume that
auctex manages issues just via mailing lists?

Anyway, I have not much experience with auctex and elisp either, but
could somebody tell me about the logic how verbatim environments are

There seems to be LaTeX-verbatim-p in latex.el relevant for this
purpose. but what is the actual workflow and where is it stored that the
cursor is currently inside a verbatim environment?

Best regards


My .emacs file is

---rhxBEGIN .emacs
 '(LaTeX-verbatim-environments (quote ("verbatim" "verbatim*"
 '(inhibit-startup-screen t))
---rhxEND .emacs

The highlighting in the file p.tex below is wrong.


---rhxBEGIN p.tex
Also put a % right after {verbatim} and look what happens
with the highlighting.
  \begin{myverbatim}{chunkname}    % first verbatim line
and                                % still verbatim
  \end{myverbatim}                 % last verbatim line
\end{verbatim}                     % closes verbatim
---rhxEND p.tex

Emacs  : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-29 on rothera, modified by Debian
Package: 11.85

current state:
 AUCTeX-date "2008-02-10"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "/home/hemmecke/public/AUX/tex/style"
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %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)%' %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")
                    ("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" "(TeX-ispell-document \"\")" TeX-run-function nil
                     t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")

reply via email to

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