Stack Exchange Network

Stack Exchange network consists of 174 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]

The tag has no usage guidance.

2
votes
1answer
15 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)...
0
votes
1answer
34 views

Keybinding for adding a new heading under a list item in org-mode

Lets say you are working in an org-mode structure like this: * First level heading… ** Second level heading *** Third level heading - list item one - list item two After list item two you want to ...
0
votes
1answer
67 views

Meaning of plus in org mode documents

Sometimes I see folks using "+" to structure their org document. What is the appropriate use case for plus.
1
vote
0answers
86 views

Add another level to org-mode visibility cycling

The way S-TAB (org-global-cycle) switches between "top headline -> all headlines -> all content" is great for showing an outline and provide overview, but acts on the full document. Using TAB (org-...
1
vote
0answers
257 views

Can I have org-mode export outline numbers as letters and/or roman numerals?

Supposing I have a document structure like: * Heading 1 ** Heading a ** Heading b ** Heading c *** Heading i *** Heading ii When I do, say, M-xorg-export-as-html-and-open, I'd get HTML that shows ...
2
votes
1answer
65 views

Prevent org-mode from unfolding pasted outlines

When I copy an outline into an org-mode buffer, Emacs automatically unfolds it. How can I prevent it from doing so? I always want the outlines I paste in to be fully folded. Here's an example: If ...
0
votes
0answers
26 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'...
0
votes
2answers
186 views

How to change the face of org-display-outline-path in echo area?

In org-mode, I set all the outlines to be displayed in one face size (regardless of their hierarchy) by setting (setq org-level-color-stars-only t). However, when I select an outline, org-mode ...
2
votes
1answer
515 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 ...
0
votes
1answer
120 views

How to use outline-minor-mode to hide some exam class exercises in auctex

I use the exam document class in auctex to write exams for my students. I want to use the features provided by the outline-minor-mode to hide all the exercises I have finished and only show the one I ...
16
votes
2answers
1k views

Outline editing, like org-mode, for JSON

I am trying to edit a Swagger JSON file in emacs. It contains large nested JSON objects, so I want to collapse and hide some of them. I have tried origami-mode, configured as origami-c-style-parser ...
3
votes
1answer
495 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.
2
votes
0answers
248 views

orgstruct-mode error: S- must prefix a single character, not ISO-leftTAB

I am trying out orgstruct-mode with python-mode (but I've also tried go-mode with the same result). If I enable orgstruct-mode and press S-TAB I get the error S- must prefix a single character, not ...
11
votes
3answers
1k views

Changing the appearance of org-mode “hidden contents” ellipsis

In org-mode, when the contents of a subtree are hidden you see something like * Some tree :PROPERTIES:... ** Another One... Is there a way to change those ... to something else? I'd like to use ...
5
votes
2answers
1k views

Counting sub-headings in org-mode using elisp

I'm wondering if there is a good method of counting subheadings of a particular heading in org-mode. For example, with the following, return 4 (non-recursively) or 7 (recursively). Note that I don't ...
3
votes
1answer
535 views

Enable any outline mode for markdown

First of all, from http://www.emacswiki.org/emacs/AllOut: Allout outline mode is part of GnuEmacs. Allout outline mode provides extensive outline formatting and manipulation beyond standard ...
11
votes
2answers
5k views

Collapse sections in markdown

I use markdown-mode (in conjunction with writeroom-mode) for writing in Emacs. My markdown files generally gets quite large, and I would like to be able to focus on a particular section for extended ...
38
votes
2answers
5k views

The old “how to fold XML” question

I'm doing quite a bit of manual XML editing (the source definition of some code generation I'm doing is a custom XML format) and of course prefer to use Emacs over any special purpose (usually ugly) ...