GNU bug report logs -
#62278
28.2; Outline in DocTeX mode
Previous Next
Reported by: Jan Braun <Jan.Braun <at> klein-gallien.org>
Date: Sun, 19 Mar 2023 18:15:02 UTC
Severity: normal
Tags: notabug
Found in version 28.2
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 62278 <at> debbugs.gnu.org (full text, mbox):
Jan Braun <Jan.Braun <at> klein-gallien.org> writes:
> When I start Emacs with 'emacs -Q', open the file above, do
> 'M-x outline-minor-mode RET' followed by 'C-c @ C-t', this is what I
> see:
> <outline.png>
> Or do you expect something else?
>
> No, no, this is exactly, what I would like to see and work on.
>
> Unfortunately, I get this result:
I see that I missed to say that the exact steps were:
• Start Emacs with 'emacs -Q'
• Paste this code into scratch buffer and eval it (it is the same code
as in my last message)
(with-eval-after-load "tex-mode"
(add-hook 'doctex-mode-hook
(lambda ()
(setq-local latex-outline-regexp
(concat "[% \t]*" "\\\\"
(regexp-opt
(append latex-metasection-list
(mapcar #'car latex-section-alist))
t)))
(setq-local outline-regexp latex-outline-regexp))))
• Open the .dtx file in my other message
• Do 'M-x outline-minor-mode RET'
• Do 'C-c @ C-t'
This is with Emacs30 (997a8dbc48). If this doesn't work for you, I'm
out of ideas.
Best, Arash
This bug report was last modified 2 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.