Questions tagged [outline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 views

How to hide/fold parts of messages in notmuch

I've been trying various combinations of folding modes for Emacs, trying to get them to work with notmuch-show-mode, but to no avail: Given two messages like this: Summary: Some Guy <someguy@...
0
votes
1answer
34 views

outshine mode changes outline-regexp from markdown's

patient StackExchange, I am learning org-mode and liking its header-folding capacities, which seem much easier than outline-minor-mode. Most of my work is done in markdown mode, though, so I am ...
2
votes
1answer
64 views

Org is implemented on top of Outline mode

Org manual states in its beginning Org is implemented on top of Outline mode, which makes it possible to keep the content of large files well structured. I referenced 'outline-mode' by C-h f ...
1
vote
0answers
32 views

Why doesn't the window begin and end update after `outline-show-all`?

I'm using this test code. (defun +outline~show-all (orig-fn &rest args) "Show all." (let ((beg1 (window-start)) (end1 (window-end)) (beg2) (end2)) (apply orig-fn args) ...
2
votes
1answer
45 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
62 views

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

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
72 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.
4
votes
0answers
201 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
492 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
111 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
46 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'...
1
vote
2answers
397 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 ...
3
votes
1answer
1k 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
158 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 ...
15
votes
2answers
2k 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
749 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
399 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 ...
16
votes
3answers
2k 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 ...
6
votes
2answers
2k 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 ...
4
votes
1answer
846 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 ...
15
votes
2answers
7k 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 ...
43
votes
3answers
7k 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) ...