Subject: bug#62278: 28.2; Outline in DocTeX mode

From: Jan Braun <[email-masked]>
Date: Mon, 27 Mar 2023 15:34:48 +0200

Dear Arash,

thank you very much for your ongoing support. :+1:

> Am 27.03.2023 um 12:14 schrieb Arash Esbati <[email-masked]>:
> 
> Jan Braun <[email-masked]> writes:
> 
>> Your fix only works in a plain Emacsen, being started without 
>> any kind of init file. :-(
>> 
>> So, in principle, your fix works, but not, if I place it in my 
>> init file.
> 
> You mean putting this in your init file still throws an error?

No, it does not throw an error, but it is not folding properly.

 1) Starting emacs -Q, 
 2) inserting the fix into *scratch* buffer,
 3) M-X eval-last-sexp ==> gives no error.
 4) Loading an DocTeX file, 
 5) M-x outline-minor-mode  ==> gives no error
 6) C-c @ C-t ==> presents all sectioning commands in the buffer

Very well.

But including it into my ~/.emacs file and 
  1) Starting emacs 
  2) Loading DocTeX file
  3) Choosing Hide-Body from the Oultine Menu or
     Typing C-c @ C-t on the keyboard

will only show \documentclass, \begin and \end{document} and 
nothing in between :-(

I am still running GNU Emacs 28.2 (build 1, 
x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 
(Build 18G95)) of 2022-09-12

Any hints?

Sincerely

   Jan

-- 
Jan Braun (er/ihm)
[email-masked]

=== ypchsh /usr/local/bin/emacs === go FORTH now … ===