GNU bug report logs - #69254
14.0.2; outline-hide-body doesn't work when called in LaTeX-mode-hook

Previous Next

Package: auctex;

Reported by: Richard Stanton <rhstanton <at> berkeley.edu>

Date: Sun, 18 Feb 2024 19:52:02 UTC

Severity: normal

Found in version 14.0.2

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Richard Stanton <rhstanton <at> berkeley.edu>, 69254 <at> debbugs.gnu.org
Subject: bug#69254: 14.0.2; outline-hide-body doesn't work when called in LaTeX-mode-hook
Date: Thu, 22 Feb 2024 09:56:47 +0100
Hi Keita

Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> In general, I suppose that emacs doesn't offer a neat framework to deal
> with this type of competition between the order of setting variable and
> running subsidiary functionality. Particularly, (La)TeX is (IMHO)
> exceptional in that the users can define arbitrary sectioning commands.
> which makes it difficult to prepare for outline mode.
>
> Maybe I close this bug as "won'tfix" type :-(

Maybe we revert the change for bug #65750 and declare that one as "won't
fix".  If we have to find a compromise, I vote for supporting

  (add-hook 'LaTeX-mode-hook (lambda()
                               (outline-minor-mode 1)
                               (outline-hide-body)))

which is something that other modes support as well.

Best, Arash




This bug report was last modified 1 year and 89 days ago.

Previous Next


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