Ralf Angeli <[EMAIL PROTECTED]> writes:
> Maybe you can find out where the problem is and file a bug report to
> the appropriate address.
There seem to be bugs in outline.el that I've just reported.
Something could be improved from auctex: You don't set the value for
`outline-heading-alist'.
Adding this to my config solves the problem:
(add-hook 'LaTeX-mode-hook
(lambda ()
(set (make-local-variable 'outline-heading-alist)
(mapcar (lambda (x)
(cons (concat "\\" (nth 0 x)) (nth 1 x)))
LaTeX-section-list))))
I think this should be directly in latex.el:
--- latex.el~ 2005-08-22 23:54:46.000000000 +0200
+++ latex.el 2005-08-23 01:03:17.000000000 +0200
@@ -4366,6 +4366,11 @@
(setq outline-level 'LaTeX-outline-level)
(make-local-variable 'outline-regexp)
(setq outline-regexp (LaTeX-outline-regexp t))
+ (make-local-variable 'outline-heading-alist)
+ (setq outline-heading-alist
+ (mapcar (lambda (x)
+ (cons (concat "\\" (nth 0 x)) (nth 1 x)))
+ LaTeX-section-list))
(make-local-variable 'TeX-auto-full-regexp-list)
(setq TeX-auto-full-regexp-list
--
Matthieu
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex