bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.86; "TeX-insert-macro usepackage" crashes when cannot ac


From: Vangelis Evangelou
Subject: [Bug-AUCTeX] 11.86; "TeX-insert-macro usepackage" crashes when cannot access directory
Date: Tue, 21 Jun 2011 10:26:12 +0100

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.
------------------------------------------------------------------------

Dear All,

The command \C-c\C-m usepackage crashes with the message

Searching for files...
Opening directory: permission denied, /maths/TeX/share/texmf-local/tex/latex/JCM

where
$ echo $TEXMFLOCAL
/maths/TeX/share/texmf-local:

I believe that a check should be made whether a directory is
accessible before attempting to search in it in order to avoid the
crash.
The expected behavior is to ask for a package name.


Emacs : GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4)
of 2011-04-04
Package: 11.86

current state:
==============
(setq
AUCTeX-date "2010-02-21"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("~/.emacs.d/auctex/.auctex-auto"
"~/.emacs.d/auctex/.auctex-style" ".auctex-auto"
".auctex-style")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX
nil (plain-tex-mode texinfo-mode ams-tex-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
("View" "%V" TeX-run-discard nil t :help "Run Viewer")
("DviPS" "dvips %d -o" TeX-run-command nil 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")
("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")
("GhostView" "gv -watch %f" TeX-run-discard nil t :help
"Run GhostView")
("ps2pdf" "ps2pdf %f" TeX-run-command nil t :help
"Run ps2pdf")
("Read" "xpdf -remote %s -raise %(pdf) %(outpage)"
TeX-run-discard nil t :help "Read pdf")
)
)



reply via email to

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