Yes it does.

I believe you can reproduce the bug with the following commands in terminal:
mkdir -p $HOME/mytexmf/tex/latex/noaccess
chmod -rwx $HOME/mytexmf/tex/latex/noaccess
env TEXMFLOCAL=$HOME/mytexmf: emacs

And this is the backtrace information from emacs:

Debugger entered--Lisp error: (file-error "Opening directory" "permission denied" "/maths/TeX/share/texmf-local/tex/latex/JCM") directory-files("/maths/TeX/share/texmf-local/tex/latex/JCM" nil "\\.\\(sty\\)\\'") #[(x) "\303^H ?\n#\207" [x nodir extensions directory-files] 4]("/maths/TeX/share/texmf-local/tex/latex/JCM") mapcar(#[(x) "\303^H ?\n#\207" [x nodir extensions directory-files] 4] ("." "/maths/TeX/share/texmf-local/tex/latex" "/maths/TeX/share/texmf-local/tex/latex/JCM" "/maths/TeX/share/texmf-local/tex/latex/doc-dtx" "/maths/TeX/share/texmf-local/tex/latex/doc-usr" "/maths/TeX/share/texmf-local/tex/latex/elsart" "/maths/TeX/share/texmf-local/tex/latex/eurofont" "/maths/TeX/share/texmf-local/tex/latex/hanging" "/maths/TeX/share/texmf-local/tex/latex/harvard" "/maths/TeX/share/texmf-local/tex/latex/html" "/maths/TeX/share/texmf-local/tex/latex/incoming" "/maths/TeX/share/texmf-local/tex/latex/llncs" "/maths/TeX/share/texmf-local/tex/latex/local" "/maths/TeX/share/texmf-local/tex/latex/rsfs" "/maths/TeX/share/texmf-local/tex/latex/siam" "/maths/TeX/share/texmf-local/tex/latex/srcltx" "/maths/TeX/share/texmf-local/tex/latex/fancyheadings" "/usr/share/texmf/tex/latex" "/usr/share/texmf/tex/latex/showlabels" "/usr/share/texmf/tex/latex/msg" "/usr/share/texmf/tex/latex/pdfcprot" "/usr/share/texmf/tex/latex/polyglot" "/usr/share/texmf/tex/latex/localloc" "/usr/share/texmf/tex/latex/ulsy" "/usr/share/texmf/tex/latex/dtk" "/usr/share/texmf/tex/latex/Tabbing" "/usr/share/texmf/tex/latex/tabto-ltx" "/usr/share/texmf/tex/latex/lcg" "/usr/share/texmf/tex/latex/slashbox" "/usr/share/texmf/tex/latex/mcaption" "/usr/share/texmf/tex/latex/abc" "/usr/share/texmf/tex/latex/logpap" "/usr/share/texmf/tex/latex/resume" "/usr/share/texmf/tex/latex/casyl" "/usr/share/texmf/tex/latex/svn" "/usr/share/texmf/tex/latex/times" "/usr/share/texmf/tex/latex/glossary" "/usr/share/texmf/tex/latex/semantic" "/usr/share/texmf/tex/latex/qsymbols" "/usr/share/texmf/tex/latex/fancyhdr" "/usr/share/texmf/tex/latex/maybemath" "/usr/share/texmf/tex/latex/stdpage" "/usr/share/texmf/tex/latex/limap" "/usr/share/texmf/tex/latex/svninfo" "/usr/share/texmf/tex/latex/fancyref" ...)) byte-code("\306^H@ \"^Z\307\310\311!!^[\312\216^K^[\313\314\315\316^K\316D\316\317\nA@P%!\2046
  TeX-search-files-kpathsea(("sty") t t)
TeX-search-files(("/u/f/ee224/texmf/tex/" "/usr/share/texmf/bibtex/bst/" "/usr/share/texmf/tex/" "/maths/TeX/share/texmf-local/tex/") ("sty") t t)
  TeX-arg-input-file(nil "Package")
  LaTeX-arg-usepackage(nil)
  TeX-parse-argument(nil LaTeX-arg-usepackage)
  TeX-parse-arguments((LaTeX-arg-usepackage))
  TeX-parse-macro("usepackage" (LaTeX-arg-usepackage))
  TeX-insert-macro("usepackage")
  call-interactively(TeX-insert-macro nil nil)


On 11/07/11 15:54, Ralf Angeli wrote:
* Vangelis Evangelou (2011-06-21) writes:

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.

Does this also happen with the development version of AUCTeX?  Because
the respective code changed since 11.86 was released and I cannot
reproduce the problem with my local installation.


_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to