auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] TeX-outline-regexp


From: Martin Rud Ehmsen
Subject: Re: [AUCTeX] TeX-outline-regexp
Date: Mon, 21 Aug 2006 12:04:54 +0200
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Angeli wrote:
> Assuming the following LaTeX file:
> 
> \documentclass{article}
> \begin{document}
> \begin{foo}
>   bar
> \end{foo}
> \end{document}
> 
> If I activate Outline minor mode with `M-x outline-minor-mode RET',
> place point at the beginning of the line with "bar" and type `M-x
> hide-entry RET', an ellipsis appear after "\begin{foo}" and the two
> lines before "\end{document}" are collapsed.

That does not work for me :-(
The relevant subset of my .emacs is:

  (setq TeX-auto-save t)
  (setq TeX-parse-self t)
  (outline-minor-mode 1)
  (hide-sublevels 1)

which is called from a function which i hook into LaTeX-mode-hook.
I use several other modes when TeX'ing, do you think they can interfere?
'C-h C-m' gives:

Summary of minor modes:
  Auto-Compression minor mode (no indicator):
  Auto-Fill minor mode (indicator Fill):
  Blink-Cursor minor mode (no indicator):
  Column-Number minor mode (no indicator):
  Encoded-Kbd minor mode (no indicator):
  File-Name-Shadow minor mode (no indicator):
  Flyspell minor mode (indicator Fly):
  Font-Lock minor mode (no indicator):
  Global-Font-Lock minor mode (no indicator):
  Line-Number minor mode (no indicator):
  Mouse-Wheel minor mode (no indicator):
  Outline minor mode (indicator Outl):
  Reftex minor mode (indicator Ref):
  Tooltip minor mode (no indicator):
  Transient-Mark minor mode (no indicator):
  Unify-8859-On-Encoding minor mode (no indicator):
  Utf-Translate-Cjk minor mode (no indicator):

> This is with CVS Emacs.

'M-x version RET' gives

GNU Emacs 22.0.50.1 (i386-apple-darwin8.6.1) of 2006-06-16 on petit.local

I.e., it is CVS Emacs and my AUCTeX version is 11.83. So both is very
recent :)

> BTW, you might want to have a look at
> (info "(auctex)Folding") <-- Type `C-x C-e' here.
> as well, in case you have a moderately recent AUCTeX installation.

I like Folding when I program but not with when TeX'ing :-)

Any clues why it does not work?

Thanks in advance,
Martin R. Ehmsen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6YVGoCiIG96jYfYRAlvSAJ9W0hs4DkuOdDz/Dd51Y/gktqvXywCgvSJJ
zLnByEfECF0XzCcaRw6md/k=
=FWXp
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]