[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21188: Preview installed from the package manager changes LaTeX-mode
From: |
Joseph Mingrone |
Subject: |
bug#21188: Preview installed from the package manager changes LaTeX-mode-hook |
Date: |
Tue, 04 Aug 2015 15:25:14 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) |
Tassilo Horn <address@hidden> writes:
> César Asensio <address@hidden> writes:
> Hi César,
>> I'm a longtime AUCTeX user, and I've never felt the need of using
>> Preview in my daily LaTeX editing. Prior to the inclusion of AUCTeX
>> in the Emacs package manager there was the possibility of loading
>> AucTeX and Preview separately, but now they are both loaded
>> automatically. This in itself would be harmless if not for Preview
>> changing the variable `LaTeX-mode-hook' *after* the init file
>> settings.
> I don't see why that's a problem. Could you please elaborate a bit?
I know this is an old post, but the problem, in my view, still exists.
AUTeX provides for customization for LaTeX-mode-hook, but inside the
function LaTeX-preview-setup in preview.el, it overwrites the value with
(remove-hook 'LaTeX-mode-hook #'LaTeX-preview-setup) (add-hook
'LaTeX-mode-hook #'preview-mode-setup).
Joseph
signature.asc
Description: PGP signature
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook,
Joseph Mingrone <=
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Joseph Mingrone, 2015/08/04
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Joseph Mingrone, 2015/08/04
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Tassilo Horn, 2015/08/05
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Joseph Mingrone, 2015/08/05
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Tassilo Horn, 2015/08/05
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Tassilo Horn, 2015/08/07
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Joseph Mingrone, 2015/08/08
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Tassilo Horn, 2015/08/10
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Arash Esbati, 2015/08/09
- bug#21188: Preview installed from the package manager changes LaTeX-mode-hook, Mosè Giordano, 2015/08/09