[OS X Emacs] Handling AucTeX errors

Enrico Franconi franconi at inf.unibz.it
Wed Jul 29 09:36:01 EDT 2009


On 29 Jul 2009, at 13:10, David Reitter wrote:

> On Jul 29, 2009, at 1:48 PM, Jose Figueroa-O'Farrill wrote:
>>
>> (add-hook
>> 'LaTeX-mode-hook
>> (lambda nil
>>   (setq LaTeX-command "latex -file-line-error -synctex=1")))
>>
>> otherwise you won't get synchronisation with Skim, for instance.
>
> Why is this done in LaTeX-mode-hook rather than setting LaTeX- 
> command directly?  This variable is not buffer-local, and obviously  
> the configuration is done globally.

correct - silly me.
--e.

>
> Thanks Enrico for this fix!
>
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor  
> and support the Aquamacs Project! 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx




More information about the MacOSX-Emacs mailing list