GNU bug report logs - #21188
Preview installed from the package manager changes LaTeX-mode-hook

Previous Next

Package: auctex;

Reported by: Joseph Mingrone <jrm <at> ftfl.ca>

Date: Tue, 4 Aug 2015 18:26:02 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Joseph Mingrone <jrm <at> ftfl.ca>
Subject: bug#21188: closed (Re: bug#21188: Preview installed from the
 package manager changes LaTeX-mode-hook)
Date: Mon, 10 Aug 2015 05:12:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#21188: Preview installed from the package manager changes LaTeX-mode-hook

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 21188 <at> debbugs.gnu.org.

-- 
21188: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21188
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tassilo Horn <tsdh <at> gnu.org>
To: Joseph Mingrone <jrm <at> ftfl.ca>
Cc: asensio.cesar <at> gmail.com, 21188-done <at> debbugs.gnu.org
Subject: Re: bug#21188: Preview installed from the package manager changes
 LaTeX-mode-hook
Date: Mon, 10 Aug 2015 07:11:35 +0200
[Message part 3 (text/plain, inline)]
Joseph Mingrone <jrm <at> ftfl.ca> writes:

Hi Joseph,

>> I've just released GNU AUCTeX 11.88.7 on ELPA, and the problem should
>> be fixed now.  Please test and report back if if works now.
>
> I can confirm that your changes solve the problem for me.

Great, thanks for testing!

Bye,
Tassilo
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Joseph Mingrone <jrm <at> ftfl.ca>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: César Asensio <asensio.cesar <at> gmail.com>,
 bug-auctex <at> gnu.org
Subject: Re: Preview installed from the package manager changes LaTeX-mode-hook
Date: Tue, 04 Aug 2015 15:25:14 -0300
[Message part 6 (text/plain, inline)]
Tassilo Horn <tsdh <at> gnu.org> writes:

> César Asensio <asensio.cesar <at> gmail.com> 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 (application/pgp-signature, inline)]

This bug report was last modified 9 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.