auctex-devel
[Top][All Lists]
Advanced

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

Re: [BUG]


From: Uwe Brauer
Subject: Re: [BUG]
Date: Wed, 03 Feb 2021 18:52:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> "AH" == Al Haji-Ali <abdo.haji.ali@gmail.com> writes:

> On 03/02/2021, Uwe Brauer wrote:


>>> If you want to
>>> include this in your emacs init to use a build directory by default
>>> for all buffers be sure to use setq-default instead of setq.
>> 
>> I am also not sure I see why I should use setq-default in this case. I
>> thought I can use it say for abbrev
>> 
> The new variable `TeX-build-dir` is a buffer-local variable.
> When a new buffer is created, the default value of `TeX-build-dir` is nil,
> unless you change the default value (after loading auctex) using 
> `setq-default`.


> To be clear, you can either set `TeX-build-dir` in a hook like 
> `LaTeX-mode-hook` or in your init
> file using `setq-default`. What would not work is setting `TeX-build-dir` 
> using `setq` in your
> init file.


I don't want to sound nitpicking but I have 

(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)


(setq TeX-output-dir  "build"
      TeX-region      "build/_region_")

In my auctex init file and that works.

Regards

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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