bug#65750: 12.2; LaTeX-mark-section and LaTeX-section-list

2024-02-23 Thread Ikumi Keita
Hi Janet,

> Janet Chen  writes:
> Dear Ikumi,
> Thanks very much!

>> I installed a fix in the git repo, so you won't need the workaround
>> under the next AUCTeX release.
>> 
>> I'll close this bug.

I'm sorry to deliver you a bad news. In response to bug#69254[1], we
decided to revert the fix of bug#65750. This is in favor of being able
to turn on outline minor mode in `LaTeX-mode-hook'. See the thread of
[1] for detail.

Therefore, you again need the code block
(add-hook 'LaTeX-mode-hook
  (lambda ()
(add-hook 'hack-local-variables-hook
  (lambda ()
(setq-local outline-regexp (LaTeX-outline-regexp t))
(setq outline-heading-alist
  (mapcar (lambda (x)
(cons (concat "\\" (nth 0 x)) (nth 1 
x)))
  LaTeX-section-list)))
  nil t)))
in your init file to make `LaTeX-mark-section' recognize your customize
to `LaTeX-section-list' as the file local variable after the next AUCTeX
release.

Sorry for inconvenience.

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69254

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


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 users.  Does it
> make sense?

OK, then I'll install the current patch.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW




___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex


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 from the users.  Does it
make sense?

Best, Arash



___
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex