[Top][All Lists]

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

[Bug-AUCTeX] 2011-09-18; wrong-type-argument sequencep 1

From: Damien Cassou
Subject: [Bug-AUCTeX] 2011-09-18; wrong-type-argument sequencep 1
Date: Fri, 16 Dec 2011 22:49:33 +0100


Evaluating (comment-padright "%" 0) in a LaTeX file triggers a
"wrong-type-argument sequencep 1". This only happens if AUCTeX is
loaded. Reproducing in a clean environment is trivial (at least in Emacs 24):

1) Create a ~/tmp/main.tex file with:



2) Create a ~/tmp/test.el file with:
(load "/usr/share/emacs/24.0.92/lisp/newcomment.el.gz")
(add-to-list 'load-path "~/.emacs.d/el-get/auctex")
(load "auctex.el" nil t t)
(find-file "~/tmp/main.tex")
(message "%s" (comment-padright "%" 0))

3) launch emacs with:

$ emacs -Q --eval '(load "~/test.el")'

Some more information follows.

Emacs  : GNU Emacs (i686-pc-linux-gnu, GTK+ Version 3.0.8)
 of 2011-12-13 on einsteinium, modified by Debian
Package: 2011-09-18

current state:
 AUCTeX-date "2011-09-18"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex"
                  "/home/cassou/.emacs.d/auctex/style" "auto" "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" 
nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
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 
                    ("View" "%V" TeX-run-discard-or-function t t :help "Run 
("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help "View the 
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 


Damien Cassou

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

reply via email to

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