bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.86; auctex/preview menu broken with emacs 23.3


From: sam sirlin
Subject: [Bug-AUCTeX] 11.86; auctex/preview menu broken with emacs 23.3
Date: Mon, 26 Dec 2011 23:55:16 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111223 Firefox/9.0 SeaMonkey/2.6

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.

Thanks,
Sam Sirlin
------------------------------------------------------------------------



Emacs  : GNU Emacs 23.3.1 (amd64-portbld-freebsd8.2, GTK+ Version 2.24.6)
 of 2011-10-22 on celeborn.my.domain
Package: 11.86

current state:
==============
(setq
 AUCTeX-date "2010-02-21"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/share/emacs/23.3/site-lisp/auctex/auto"
                  "/usr/local/share/emacs/23.3/site-lisp/auctex/style"
                  "/home/sam/.emacs.d/auctex/auto"
                  "/home/sam/.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"
                     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-or-function 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]