Damien Cassou | 16 Dec 2011 22:49
Picon
Gravatar

2011-09-18; wrong-type-argument sequencep 1

Hi,

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:
=======================
\documentclass{article}

\begin{document}

\end{document}
=======================

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")
(toggle-debug-on-error)
(message "%s" (comment-padright "%" 0))
=======================

3) launch emacs with:

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

Some more information follows.
(Continue reading)

Damien Cassou | 21 Dec 2011 08:28
Picon
Gravatar

2011-09-18; wrong-type-argument sequencep 1

Hi,

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:
=======================
\documentclass{article}

\begin{document}

\end{document}
=======================

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")
(toggle-debug-on-error)
(message "%s" (comment-padright "%" 0))
=======================

3) launch emacs with:

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

Some more information follows.
(Continue reading)


Gmane