Re: [AUCTeX-devel] ChangeLog - recover previous behaviour.
Dear Arash, > Arash Esbati writes: > Colin Baxter writes: >> Apart from perhaps locally reverting 2a642a458, how do I recover >> the old ChangeLog behaviour of not inserting a section heading >> when I `C-x 4 a'? I have tried (setq >> add-log-current-defun-function nil) with no effect. > Hi Colin, > it doesn't work if you set a buffer-local variable on global > level. Put something like this in your .emacs: > (defun reset-add-log-current-defun-function () (setq > add-log-current-defun-function nil)) > (add-hook 'LaTeX-mode-hook #'reset-add-log-current-defun-function) Thank you. That works! Best wishes, Colin Baxter m43...@yandex.com - GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8 - ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] ChangeLog - recover previous behaviour.
Colin Baxter writes: > Apart from perhaps locally reverting 2a642a458, how do I recover the old > ChangeLog behaviour of not inserting a section heading when I `C-x 4 a'? > I have tried (setq add-log-current-defun-function nil) with no effect. Hi Colin, it doesn't work if you set a buffer-local variable on global level. Put something like this in your .emacs: --8<---cut here---start->8--- (defun reset-add-log-current-defun-function () (setq add-log-current-defun-function nil)) (add-hook 'LaTeX-mode-hook #'reset-add-log-current-defun-function) --8<---cut here---end--->8--- Best, Arash ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
[AUCTeX-devel] ChangeLog - recover previous behaviour.
Apart from perhaps locally reverting 2a642a458, how do I recover the old ChangeLog behaviour of not inserting a section heading when I `C-x 4 a'? I have tried (setq add-log-current-defun-function nil) with no effect. Best wishes, Colin Baxter m43...@yandex.com - GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8 - ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel
Re: [AUCTeX-devel] Many commands in TeX-command-list are not useful in context-mode
Hi Colin, On Tue, 23 Apr 2019 at 20:13, Colin Baxter wrote: > I think I was a little premature with the thanks. How do I get back to > the old behaviour of no section headings when I enter a changelog with > C-x 4a? I have tried > > (setq add-log-current-defun-function nil) > > with no effect. I still get an unwanted section heading. Wrong thread? Bye, Mosè ___ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel