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 14:35:49 +0100
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> I feel a bit reluctant about that idea since it doesn't recognize the
> customized section commands defined in file local variables. In that
> case, the user has to do by oneself either of the following
> alternatives:
> 1. Defer the call to `outline-hide-body' after parsing file local vars.
> 2. Add parsing file local vars (at least for `LaTeX-section-list')
>    explicitly before calling `outline-minor-mode'. 
>
> But maybe we can ignore such corner case.

I think that "customized section commands defined in file local
variables" is more a corner case than enabling `outline-minor-mode' via
`LaTeX-mode-hook'; and we a have recipe for former if needed.  So it's
up to us to make a decision here: there will be unhappy customers, but
how many?  ;-)

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.