Questions tagged [outline-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
55 votes
6 answers
22k views

Can I use org-mode to structure my .emacs or other .el configuration file?

My .emacs configuration file gets bigger and bigger and I'd like to get a better overview and structuring by adding headings, subheadings and being able to hide or show them like I can do with Emacs ...
MostlyHarmless's user avatar
8 votes
1 answer
4k views

How to use AUCTeX and outline-minor-mode together for folding? [duplicate]

I'd like to easily hide or show the text below individual headings in a large Latex document. I thought this should be possible with outline-minor-mode, however I can not get it to work. I can ...
MostlyHarmless's user avatar
4 votes
2 answers
2k views

How to show all contents of current subtree and fold all the other subtrees?

When using org build subtree navigation functions to move around, I want to show all the content of current one recursively, and hide any other subtrees that having a higher or same level of the ...
Saddle Point's user avatar
3 votes
1 answer
791 views

org mode not showing all the text in my file?

I am new to Emacs and struggling to learn it. I have a test.org file: * Heading ** Sub-Heading *** Third-level When I open the file, the buffer just displays: * Heading... Where did all the ...
tom_kp's user avatar
  • 81
1 vote
1 answer
159 views

Why doesn't the ##* outline work with Python?

I have the following configuration for outlines in my init.el file: (defvar my-outline-regexp-alist '((emacs-lisp-mode . "\\s-*;;\\*+") (js2-mode . "\\s-*//\\*+") (...
raylight's user avatar
  • 237
6 votes
2 answers
1k views

Move point to current org heading

In Org mode: How can I move point (up) to the current heading (or the first line under the heading)?
SabreWolfy's user avatar
  • 1,418
5 votes
2 answers
770 views

Truncate only certain lines and use continuation lines elsewhere?

Q: how can I use truncate-lines in only part of a buffer? As a general rule, I prefer continuation lines to truncating lines. However, it would be nice to truncate only certain kinds of lines in a ...
Dan's user avatar
  • 33k
5 votes
2 answers
276 views

Show siblings of visible headers after hide-other

I'm using Outline mode (usually the minor mode, but it shouldn't matter) or Org mode. I have a file that looks like this: -*-outline-*- * Chapter 1 ** Section 1.1 *** Subsection 1.1.1 foo *** ...
Gilles 'SO- stop being evil''s user avatar
3 votes
1 answer
115 views

Change overlaid text of an outline header?

Q: how do I add a new outline header regexp but change the overlaid text? I often write presentations with Beamer in LaTeX. As such, there are a lot of frame (ie, "slide") environments: \begin{...
Dan's user avatar
  • 33k
1 vote
1 answer
158 views

How to hide frame environment in outline minor mode?

I am using AUCTex and outline-minor-mode to produce Latex presentations with beamer. I wonder how I could tell the outline-minor-mode to hide the content of a frame. I am not into LISP by now, so ...
stevosn's user avatar
  • 291
1 vote
0 answers
388 views

outline minor mode folding enhancements wanted

This query is two questions both related to latex major mode (not Auctex), outline minor mode, code folding. I eventually solved these questions myself. My "answers are given below the ========== ...
zugzwang's user avatar
  • 319