Damien Cassou | 16 Dec 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)

劉世家 | 26 Dec 04:07
Picon

11.86; I report this bug


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.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug 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.
------------------------------------------------------------------------
there is preview and command in menu bar, but the preview don't work,
when I try the preview(the menu bar botton),it shows the a forbidden
mark(red circle white line)the "$balabalabala$" just disappares, and
right click the forbidden mark chose "show error" it says this:
Please help me solve this problem. And Merry Xmars.

Emacs  : GNU Emacs 23.3.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35)
of 2011-04-20 on s210-2.pubnet.titech.ac.jp
Package: 11.86

current state:
==============
(setq
AUCTeX-date "2010-02-21"
(Continue reading)

Stefan Husmann | 26 Dec 21:39
Picon
Favicon

Re: 11.86; I report this bug

Am 26.12.2011 04:07, schrieb 劉世家:
> 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.  In addition check if the bug is reproducable with an
> up-to-date version of AUCTeX.  So please upgrade to the version
> available from http://www.gnu.org/software/auctex/ if your
> installation is older than the one available from the web site.
>
> If the bug 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.
> ------------------------------------------------------------------------
> there is preview and command in menu bar, but the preview don't work,
> when I try the preview(the menu bar botton),it shows the a forbidden
> mark(red circle white line)the "$balabalabala$" just disappares, and
> right click the forbidden mark chose "show error" it says this:
> Please help me solve this problem. And Merry Xmars.
>
> Emacs  : GNU Emacs 23.3.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35)
> of 2011-04-20 on s210-2.pubnet.titech.ac.jp
> Package: 11.86
>
> current state:
> ==============
> (setq
> AUCTeX-date "2010-02-21"
(Continue reading)

sam sirlin | 27 Dec 08:55
Picon
Favicon

11.86; auctex/preview menu broken with emacs 23.3

auctex is much appreciated, however I've found an annoying bug with recent emacs.

I have a simple .emacs file with:

  (setq debug-on-error t)
  (load "auctex.el" nil t t)
  ;(setq TeX-auto-save t)
  ;(setq TeX-parse-self t)
  ;(setq-default TeX-master nil)
  (load "preview-latex.el" nil t t)

Then

1. start emacs on any .tex file
    note the LaTeX pull-down menu works fine
2. load some other program file in another window, e.g.
    ^x 5 f file.m
    now the LaTeX pull-down menu is not functional -- still there, but
    nothing in it. The same thing happens to the Command pull-down menu,
    however the other menus (including Preview) are not affected.

This happens on linux, freebsd.

This does not happen with emacs 23.2.

The file do have to be opened in different windows to see the bug.

Rather than a matlab file.m (emacs things obj-c) file, a file.c also
has the same effect. In fact even opening another .tex file triggers
the problem in the original file, though the new one is ok.
(Continue reading)

XeCycle | 30 Dec 07:10
Picon

preview-1.286; Foreground always black with XeLaTeX


Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

When TeX-engine set to xelatex, foreground color fixed to black.

Steps to reproduce:

1. Start emacs with -q (Confirmed with both Emacs 24 and 23)

2. M-x set-background-color to black and M-x set-foreground-color
   to white

3. Evaluate these AUCTeX loading configuration:

--8<---------------cut here---------------start------------->8---
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq TeX-engine-alist
      '((xelatex "XeLaTeX" "xetex" "xelatex" "xelatex")))
(add-hook 'LaTeX-mode-hook
          '(lambda ()
             (setq TeX-engine 'xelatex)))
--8<---------------cut here---------------end--------------->8---

4. Find an arbitrary LaTeX document, and C-c C-p C-d.

Also found that if I don't set TeX-engine to xelatex as above,
color is fine.  And I tried using the builtin 'xetex engine,
foreground color is also black.
(Continue reading)


Gmane