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

2024-02-23 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Ikumi Keita writes: >> Do you think that we should also revert the similar changes for >> paragraph related variables? > I'm not sure if that part is really relevant for users. I suggest we > keep that as is and touch it if we get feedback from the

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

2024-02-23 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I see, here is a tentative patch. Thanks. > Do you think that we should also revert the similar changes for > paragraph related variables? I'm not sure if that part is really relevant for users. I suggest we keep that as is and touch it if we get feedback

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

2024-02-22 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > 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

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

2024-02-22 Thread Arash Esbati
Ikumi Keita 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

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

2024-02-22 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Maybe we revert the change for bug #65750 and declare that one as "won't > fix". Yes, it's a possible option, I think. > If we have to find a compromise, I vote for supporting > (add-hook 'LaTeX-mode-hook (lambda() >

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

2024-02-22 Thread Arash Esbati
Hi Keita Ikumi Keita 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

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

2024-02-21 Thread Ikumi Keita
Hi Richard, > Richard Stanton writes: > That works. Thanks! > The explanation makes perfect sense. But it also means that putting > %%% eval: (outline-hide-body) > in the file’s local variables doesn’t work. Is there a similar > work-around here, so I can make the settings file-specific

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

2024-02-19 Thread Richard Stanton via bug-auctex via Bug reporting list for AUCTeX
That works. Thanks! The explanation makes perfect sense. But it also means that putting %%% eval: (outline-hide-body) in the file’s local variables doesn’t work. Is there a similar work-around here, so I can make the settings file-specific if I want? Thanks! > On Feb 19, 2024, at 1:41

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

2024-02-19 Thread Ikumi Keita
Hi Richard, > Richard Stanton via bug-auctex via Bug reporting list for AUCTeX > writes: > Using Emacs 29.2 under MacOS 12.7.3, I want LaTeX files to open with > section bodies hidden, and just headers showing. I can get this to work > manually when I'm editing the file by running the

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

2024-02-18 Thread Richard Stanton via bug-auctex via Bug reporting list for AUCTeX
Using Emacs 29.2 under MacOS 12.7.3, I want LaTeX files to open with section bodies hidden, and just headers showing. I can get this to work manually when I'm editing the file by running the command "outline-hide-body". But when I run the same command as part of LaTeX-mode-hook, the file opens