bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 2005-05-21; Incomplete chktex helpstring in tex.el


From: Jay Belanger
Subject: [Bug-AUCTeX] 2005-05-21; Incomplete chktex helpstring in tex.el
Date: Mon, 23 May 2005 15:45:35 -0500

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.

In the definition of TeX-command-list, the entry for chktex was 
never finished:

    ;; (list "Check" "chktex -v3 %s" TeX-run-compile nil t :help "Check )
    ;; Uncomment the above line and comment out the next line to
    ;; use `chktex' instead of `lacheck'.
    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
     :help "Check LaTeX file for correctness")

It should probably be changed to something like:

    ;; ("Check" "chktex -v3 %s" TeX-run-compile nil t 
    ;;  :help "Check LaTeX file for correctness")
    ;; Uncomment the above two lines and comment out the next two lines to
    ;; use `chktex' instead of `lacheck'.
    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
     :help "Check LaTeX file for correctness")

Also, the versions of chktex that I've come across have a wrapper
script so it can be called with the command "lacheck"; it might be
worth mentioning this in the documentation as an alternative to
changing the lisp file. 

Emacs  : GNU Emacs 22.0.50.9 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-05-23 on vh213602
Package: 2005-05-21

current state:
==============
(setq
 AUCTeX-date "2005-05-21"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/home/belanger/.emacs.d/AucTeXstyle/" "style" "auto"
                  "/home/belanger/.TeX/style" "/attic/Comics/style"
                  "/home/belanger/.TeX/auto" "/attic/Comics/auto"
                  "/home/belanger/.emacs.d/elisp/auctex/auctex/style"
                  "/usr/local/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("Ghostview" "%(o?)dvips %d -o && gv %f" TeX-run-silent nil 
t)
                    ("Use Package" "" (quote jpb-usepackage) nil t)
                    ("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")
                    ("ChkTeX" "chktex -v3 %s" TeX-run-compile nil t))
 )




reply via email to

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