Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [outline-mode]

The tag has no usage guidance.

47
votes
6answers
11k 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 ...
10
votes
1answer
1k views

make org-blank-before-new-entry distinguish between a TODO list and a text outline?

Like many of us, I use org-mode for two different things: As a TODO list manager As a text outliner I'd like my blank lines to work differently based on context. TODO list: no blank lines ...
5
votes
2answers
563 views

Set face of outline ellipsis?

Q: how do I change the face of the outline ellipsis? When working with outlines, the (customizable) ellipsis indicates when a section is folded and there is hidden text, eg: * A heading... ** A ...
5
votes
1answer
3k 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 ...
5
votes
2answers
266 views

Test whether org-mode heading or list is folded

How can I test in elisp whether an org-mode tree node (either a heading or a list item) is folded? Looking at the code it seems the logic is a little complicated and only in org-cycle-internal-local, ...
4
votes
3answers
2k views

Move point to previous/next parent heading

This answer describes how to move point to the next or previous heading. I would like to move point to the next or previous heading, which is one level higher up the tree (at the parent level). For ...
4
votes
2answers
493 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)?
4
votes
2answers
501 views

Configure indentation logic to ignore certain lines?

I am using outshine to organize my code (verilog/systemverilog language). Here is an example use: // * Class definition class my_class extends my_base_class; // code .. // ** Task 1 ...
4
votes
2answers
764 views

how to start outline-minor-mode with latex-mode?

I have the following in my .emacs: (add-hook 'latex-mode-hook #'outine-minor-mode) (add-hook 'latex-mode-hook (lambda () (outline-minor-mode 1))) (I am aware this redundant, I am ...
4
votes
2answers
183 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 *** ...
4
votes
2answers
140 views

Show all parentless headings in Outline

I'm using the Outline minor mode. (Or the major mode or Org mode, but in these modes the scenario in this question is rare.) I want to show all of the headings that have no parent, plus the text ...
3
votes
1answer
590 views

Hide all header contents in Org mode

outline-show-all reveals the contents of all headers in org-mode. How can I do the opposite? There's no outline-hide-all command.
3
votes
1answer
263 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 ...
3
votes
2answers
491 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 ...
3
votes
1answer
72 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{...
2
votes
1answer
91 views

Shift-c acts as Control in Outline mode

I recently started having an issue. I am unsure as to how long it has existed, but it must have occurred during the past week. Whenever I type Shift-c, Emacs does not interpret it as the character C, ...
2
votes
2answers
280 views

Trying to enable keybindings for 'outshine': “set before outline-mode is loaded”

I'm just getting started with outshine, and I'm trying to enable outshine's keybindings, but I am stumped by the directive in the readme to ...set the outshine prefix (M-#) in your init file before ...
2
votes
1answer
195 views

cycle between headline levels in org mode?

I find that I would like to expose different levels of detail in my org mode buffers; especially while reviewing possbile next steps across many projects. org-shifttab comes close. It will cycle ...
2
votes
2answers
114 views

How create a function to navigate between text and header?

I tried org-mode, and I'm impressed. My org-file for notes is organized like this: Header 1 Sub header 1 Foo [ cursor here] Bar Sub header 2 Currently I use the function org-...
2
votes
1answer
22 views

bookmark-jump to a hidden part of a buffer

In elisp buffers, I use outline-mode in order to manage headings similarly as in org-mode. But when I jump to a bookmark which points to a hidden part of a buffer (because it is below a folded heading)...
2
votes
1answer
718 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 ...
1
vote
2answers
114 views

outline levels without different length of the match

I'm new to Emacs. I'm trying to use the outline-mode with a specific requirement. I would like to have the number 1 corresponding to the level 1, the number 2 corresponding to level 2 and so on: ...
1
vote
1answer
85 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 ...
1
vote
1answer
137 views

outline mode: Fold everything when loading file (specifically LaTeX mode)

I am using outline minor mode for LaTeX mode and would like emacs to automatically hide all section environments when opening a .tex file. How could I do that?
1
vote
1answer
40 views

How to fold the highest headline which I am currently in?

I often do the following sequence in my org-mode file: Go to the root headline from current position Fold the whole subtree Is there a way to this sequence with a shortcut?
1
vote
0answers
144 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 ========== ...
0
votes
1answer
67 views

Custom Outline mode key binding

I want to set a key binding for outline-next-visible-heading but I fail to do so. I believe using hooks is a solution for this so I added this to my .emacs (defun outline-mode-test-hook() (define-...
0
votes
0answers
13 views

Outline minor mode + mouse

XEmacs had outl-mouse that used outline-minor-mode plus a few pixmaps and mouse keybindings to let old lazy guys to hide and show (in my use case) sections and subsections etc of my AUCTeX buffers, ...
0
votes
0answers
68 views

`Outline minor mode` folding

When I use outline-hide-body inside Elisp code, I would expect the folding to show me the overview of 3+ ; levels. But it still shows the code, basically all of it with folded bodies. Is there a ...
0
votes
0answers
30 views

How to determine if a buffer will respond to outline-mode commands

I'm hacking together an extension which will display a sidebar with an outline of whatever document you're working on. It was initially written to support writing in markdown-mode, but the technique I'...